profilesservices/ProfileEngine/WrapperSrc/CProEngNotifyHandlerImpl.h
changeset 21 851e19007849
parent 0 8c5d936e5675
child 29 56ba5cd39aab
--- a/profilesservices/ProfileEngine/WrapperSrc/CProEngNotifyHandlerImpl.h	Fri Apr 16 15:15:08 2010 +0300
+++ b/profilesservices/ProfileEngine/WrapperSrc/CProEngNotifyHandlerImpl.h	Mon May 03 12:46:45 2010 +0300
@@ -21,7 +21,7 @@
 #define CPROENGNOTIFYHANDLERIMPL_H
 
 // INCLUDES
-#include <MProEngNotifyHandler.h>
+#include <MProEngNotifyHandler2.h>
 #include <e32base.h>
 
 // FORWARD DECLARATIONS
@@ -29,6 +29,8 @@
 class CProEngActiveProfileDelegate;
 class CProEngProfileNameArrayEventDelegate;
 class CProEngProfileEventDelegate;
+class CProEngActiveSettingsEventDelegate;
+class CProEngMasterSettingsEventDelegate;
 
 // CLASS DECLARATION
 
@@ -39,7 +41,7 @@
 *  @since 3.1
 */
 NONSHARABLE_CLASS( CProEngNotifyHandlerImpl ) : public CBase,
-                                                public MProEngNotifyHandler
+                                                public MProEngNotifyHandler2
     {
     public:  // Constructors and destructor
 
@@ -81,6 +83,18 @@
                 MProEngProfileNameArrayObserver& aObserver );
 
         /**
+         * From MProEngNotifyHandler2
+         */
+        virtual TInt RequestActiveSettingsNotificationsL( 
+                MProEngActiveSettingsObserver &aObserver );
+        
+        /**
+         * From MProEngNotifyHandler2
+         */
+        virtual TInt RequestMasterSettingsNotificationsL( 
+                MProEngMasterSettingsObserver &aObserver );
+        
+        /**
          * From MProEngNotifyHandler
          */
         void CancelProfileActivationNotifications();
@@ -101,9 +115,20 @@
         void CancelProfileNameArrayNotifications();
 
         /**
+         * From MProEngNotifyHandler2
+         */
+        virtual void CancelActiveSettingsNotificationsL();
+        
+        /**
+         * From MProEngNotifyHandler2
+         */
+        virtual void CancelMasterSettingsNotificationsL();
+        
+        /**
          * From MProEngNotifyHandler
          */
         void CancelAll();
+               
 
     private:
 
@@ -125,6 +150,12 @@
 
         // Own: Array of profile change observers
         RPointerArray< CProEngProfileEventDelegate > iProfileEventDelegates;
+        
+        // Own: Delegate for active settings modification events
+        CProEngActiveSettingsEventDelegate *iActiveSettingEventDelegate;
+        
+        // Own: Delegate for master settings modification events
+        CProEngMasterSettingsEventDelegate *iMasterSettingEventDelegate;
 
     };