#ifndef RSGXSUPDATEBROADCAST_H #define RSGXSUPDATEBROADCAST_H #include #include class RsGxsIfaceHelper; class QTimer; class RsGxsUpdateBroadcast : public QObject { Q_OBJECT public: static void cleanup(); static RsGxsUpdateBroadcast *get(RsGxsIfaceHelper* ifaceImpl); signals: void changed(); void msgsChanged(const std::map >& msgIds); void grpsChanged(const std::list& grpIds); private slots: void poll(); private: explicit RsGxsUpdateBroadcast(RsGxsIfaceHelper* ifaceImpl); private: RsGxsIfaceHelper* mIfaceImpl; QTimer *mTimer; }; #endif // RSGXSUPDATEBROADCAST_H