idlefw/plugins/devicestatus/inc/aioperatornamepublisher.h
branchRCL_3
changeset 14 15e4dd19031c
parent 8 d0529222e3f0
child 19 edd621764147
equal deleted inserted replaced
12:502e5d91ad42 14:15e4dd19031c
    20 #define C_AIOPERATORPROVIDERNAMEPUBLISHER_H
    20 #define C_AIOPERATORPROVIDERNAMEPUBLISHER_H
    21 
    21 
    22 // System includes
    22 // System includes
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include <AknUtils.h>
    24 #include <AknUtils.h>
       
    25 #include <MProEngProfileActivationObserver.h>
    25 
    26 
    26 // User includes
    27 // User includes
    27 #include "aidevicestatuspublisher.h"
    28 #include "aidevicestatuspublisher.h"
    28 #include "ainetworkinfoobserver.h"
    29 #include "ainetworkinfoobserver.h"
    29 
    30 
    30 // Forward declarations
    31 // Forward declarations
       
    32 class MProfileEngine;
       
    33 class MProEngNotifyHandler;
    31 class CAiNetworkInfoListener;
    34 class CAiNetworkInfoListener;
    32 class MAiDeviceStatusContentObserver;
    35 class MAiDeviceStatusContentObserver;
    33 class CHsContentPublisher;
    36 class CHsContentPublisher;
    34 
    37 
    35 
    38 
    43  *
    46  *
    44  *  @since S60 3.2
    47  *  @since S60 3.2
    45  */
    48  */
    46 NONSHARABLE_CLASS( CAiOperatorNamePublisher ) : public CBase, 
    49 NONSHARABLE_CLASS( CAiOperatorNamePublisher ) : public CBase, 
    47     public MAiDeviceStatusPublisher,
    50     public MAiDeviceStatusPublisher,
    48     public MAiNetworkInfoObserver
    51     public MAiNetworkInfoObserver,
       
    52     public MProEngProfileActivationObserver
    49     {
    53     {
    50 public:
    54 public:
    51 
    55 
    52     static CAiOperatorNamePublisher* NewL();
    56     static CAiOperatorNamePublisher* NewL();
    53 
    57 
    76      */
    80      */
    77     void HandleNetworkInfoChange( const MNWMessageObserver::TNWMessages& aMessage, 
    81     void HandleNetworkInfoChange( const MNWMessageObserver::TNWMessages& aMessage, 
    78     							  const TNWInfo& aInfo, 
    82     							  const TNWInfo& aInfo, 
    79     							  const TBool aShowOpInd );
    83     							  const TBool aShowOpInd );
    80 
    84 
       
    85 private:
       
    86     // from MProEngProfileActivationObserver
       
    87     
       
    88     /**
       
    89      * @see MProEngProfileActivationObserver    
       
    90      */    
       
    91     void HandleProfileActivatedL( TInt aProfileId );
    81 
    92 
    82 private:
    93 private:
    83 
    94 
    84     CAiOperatorNamePublisher();
    95     CAiOperatorNamePublisher();
    85 
    96 
   165     TBool iShowOpInd;    
   176     TBool iShowOpInd;    
   166     /** Network identity name */
   177     /** Network identity name */
   167     TPtrC iNetworkIdentityName;    
   178     TPtrC iNetworkIdentityName;    
   168     /** Flag to indicate if the content is suspended */ 
   179     /** Flag to indicate if the content is suspended */ 
   169     TBool iSuspended;
   180     TBool iSuspended;
       
   181     /** Profile engine, owned */
       
   182     MProfileEngine* iProfileEngine;
       
   183     /** Profile change notifier, owned */
       
   184     MProEngNotifyHandler* iProfileNotifier;
   170     };
   185     };
   171 
   186 
   172 #endif // C_AIOPERATORPROVIDERNAMEPUBLISHER_H
   187 #endif // C_AIOPERATORPROVIDERNAMEPUBLISHER_H
   173 
   188 
   174 // End of file
   189 // End of file