idlefw/plugins/devicestatus/inc/aioperatornamepublisher.h
branchRCL_3
changeset 14 15e4dd19031c
parent 8 d0529222e3f0
child 19 edd621764147
--- a/idlefw/plugins/devicestatus/inc/aioperatornamepublisher.h	Mon Mar 15 12:41:53 2010 +0200
+++ b/idlefw/plugins/devicestatus/inc/aioperatornamepublisher.h	Wed Mar 31 22:04:35 2010 +0300
@@ -22,12 +22,15 @@
 // System includes
 #include <e32base.h>
 #include <AknUtils.h>
+#include <MProEngProfileActivationObserver.h>
 
 // User includes
 #include "aidevicestatuspublisher.h"
 #include "ainetworkinfoobserver.h"
 
 // Forward declarations
+class MProfileEngine;
+class MProEngNotifyHandler;
 class CAiNetworkInfoListener;
 class MAiDeviceStatusContentObserver;
 class CHsContentPublisher;
@@ -45,7 +48,8 @@
  */
 NONSHARABLE_CLASS( CAiOperatorNamePublisher ) : public CBase, 
     public MAiDeviceStatusPublisher,
-    public MAiNetworkInfoObserver
+    public MAiNetworkInfoObserver,
+    public MProEngProfileActivationObserver
     {
 public:
 
@@ -78,6 +82,13 @@
     							  const TNWInfo& aInfo, 
     							  const TBool aShowOpInd );
 
+private:
+    // from MProEngProfileActivationObserver
+    
+    /**
+     * @see MProEngProfileActivationObserver    
+     */    
+    void HandleProfileActivatedL( TInt aProfileId );
 
 private:
 
@@ -167,6 +178,10 @@
     TPtrC iNetworkIdentityName;    
     /** Flag to indicate if the content is suspended */ 
     TBool iSuspended;
+    /** Profile engine, owned */
+    MProfileEngine* iProfileEngine;
+    /** Profile change notifier, owned */
+    MProEngNotifyHandler* iProfileNotifier;
     };
 
 #endif // C_AIOPERATORPROVIDERNAMEPUBLISHER_H