idlefw/plugins/mcsplugin/publisher/inc/mcsplugin.h
changeset 2 b7904b40483f
parent 0 79c6a41cd166
child 8 d0529222e3f0
--- a/idlefw/plugins/mcsplugin/publisher/inc/mcsplugin.h	Thu Jan 07 12:55:39 2010 +0200
+++ b/idlefw/plugins/mcsplugin/publisher/inc/mcsplugin.h	Mon Jan 18 20:32:13 2010 +0200
@@ -23,7 +23,8 @@
 #include <aipropertyextension.h>
 #include <aicontentmodel.h>
 #include <aieventhandlerextension.h>
-
+#include <centralrepository.h>
+#include "mcspluginwatcher.h"
 
 class MAiContentObserver;
 class MAiContentItemIterator;
@@ -42,7 +43,8 @@
  */
 class CMCSPlugin : public CAiContentPublisher,
                    public MAiPropertyExtension,
-                   public MAiEventHandlerExtension
+                   public MAiEventHandlerExtension,
+                   public MMCSPluginWatcherObserver
 
 
     {
@@ -89,6 +91,12 @@
     */
     void PublishL();
 
+    /**
+    * From base class MMCSPluginWatcherObserver
+    * .a method for Skin UID cenrep key change handeling
+    */
+    void HandleNotifyL();
+
 // from base class CAiContentPublisher
   
     /**
@@ -276,8 +284,11 @@
     // Information about the content publisher (this plug-in)
     TAiPublisherInfo iInfo;
 
-    // Boolean, which expresses whether the content has been updated
-    //TBool iIsUpdated;
+    // For accessing central repository keys
+    CRepository* iRepository;
+
+    // For observing central repository Skin UID key change 
+    CMCSPluginWatcher* iRepositoryWatcher;
 
     };