aboutsummaryrefslogtreecommitdiff
path: root/src/extensions/mashup/mashup/mappletinstancemanager.h
diff options
context:
space:
mode:
authorJörgen Scheibengruber <jorgen.scheibengruber@nokia.com>2010-06-02 17:27:26 +0300
committerJörgen Scheibengruber <jorgen.scheibengruber@nokia.com>2010-06-02 17:27:26 +0300
commit74cd4f40bd629ab2782f518234ebf3bceecd0f22 (patch)
tree523d11e3c998d7efa7e2c5e0123855413b14fb35 /src/extensions/mashup/mashup/mappletinstancemanager.h
parent86322ab7fa72e32f8830b7cb23dfb5c1de988f58 (diff)
parentdd9a00977c21f19291b5ff2f87a39e1f5a8df77d (diff)
Merge branch 'master' of gitorious.org:maemo-6-ui-framework/libdui0.20.14-1
Diffstat (limited to 'src/extensions/mashup/mashup/mappletinstancemanager.h')
-rw-r--r--src/extensions/mashup/mashup/mappletinstancemanager.h13
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;