phoneapp/phoneuiview/inc/cphoneviewcontroller.h
branchRCL_3
changeset 39 b8d67d6176f5
parent 31 ba54057fe027
child 44 3c221667e687
--- a/phoneapp/phoneuiview/inc/cphoneviewcontroller.h	Tue May 25 12:41:50 2010 +0300
+++ b/phoneapp/phoneuiview/inc/cphoneviewcontroller.h	Wed Jun 09 09:41:11 2010 +0300
@@ -24,6 +24,7 @@
 #include <e32base.h>
 #include <cntdef.h>
 #include <cphcntspeeddialmonitor.h>
+#include <AknsSrvClient.h>
 
 #include "mphoneviewcommandhandle.h"
 #include "cphonerecoverysystem.h"
@@ -89,8 +90,9 @@
     public MPhoneStatusPaneObserver,
     public MPhoneViewBlockingDialogObserver,
     public MNumberEntryObserver,
-	public MPhoneSecurityModeChangeObserver,
-	public MPhoneViewControllerObserver
+    public MPhoneSecurityModeChangeObserver,
+    public MPhoneViewControllerObserver,
+    public MAknsSkinChangeObserver
     {
     public:  // Constructors and destructor
 
@@ -664,6 +666,33 @@
          */
         static void EffectCleanup(TAny* aThis );
         
+    private: 
+        /**
+         * Called by the skin server when skin content is changed and the
+         * connected client wants to be informed.
+         *
+         * @see MAknsSkinChangeObserver
+         */
+         void SkinContentChanged();
+
+         /**
+         * Called by the skin server to indicate that the current skin
+         * configuration has changed.
+         *
+         * @see MAknsSkinChangeObserver
+         */
+         void SkinConfigurationChanged(
+             const TAknsSkinStatusConfigurationChangeReason aReason );
+
+         /**
+         * Called by the skin server to indicate that the available
+         * skin packages have changed.
+         *
+         * @see MAknsSkinChangeObserver
+         */
+         void SkinPackageChanged(
+             const TAknsSkinStatusPackageChangeReason aReason );
+        
     private:    // Data
 
         CPhoneView* iPhoneView;
@@ -812,6 +841,9 @@
         TBool iNeedToReturnToForegroundAppAfterCall;
         
         CAknIncallBubble* iIncallBubble;
+        
+        // Server wich sends events about background image changes
+        RAknsSrvSession iSkinServerSession;
     };
 
 #endif // CPHONEVIEWCONTROLLER_H