diff options
Diffstat (limited to 'src/extensions/mashup/mashup/mappletinstancemanager.h')
-rw-r--r-- | src/extensions/mashup/mashup/mappletinstancemanager.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/extensions/mashup/mashup/mappletinstancemanager.h b/src/extensions/mashup/mashup/mappletinstancemanager.h index 52e1067b..b00fc81b 100644 --- a/src/extensions/mashup/mashup/mappletinstancemanager.h +++ b/src/extensions/mashup/mashup/mappletinstancemanager.h @@ -32,6 +32,8 @@ class MAppletMetaData; class MAppletHandle; class MFileDataStore; class QDBusPendingCallWatcher; +class MExtensionWatcher; +class MDesktopEntry; //! \internal @@ -160,6 +162,14 @@ private slots: */ void receiveOperation(QDBusPendingCallWatcher *watcher); + /*! + * Tells us that we need to update the applet. Currently the \c watcher informs the manager + * that the update desktop file has changed + * + * \param appletData The applet that has changed. + */ + void updateApplet(const MDesktopEntry &appletData); + private: /*! * Initializes the instance manager. @@ -380,6 +390,9 @@ private: //! A map for keeping track of running applets AppletContainer applets; + //! The watcher used to monitor changes in the applets + MExtensionWatcher *watcher; + //! The last applet ID that used to be free MAppletId::AppletInstanceID lastAppletInstanceID; |