alwayson_net_plugin/pdpcontextmanager2/inc/caoserver.h
changeset 3 f7816ffc66ed
parent 0 5a93021fdf25
equal deleted inserted replaced
2:086aae6fc07e 3:f7816ffc66ed
    34 #include "maotimerobserver.h"
    34 #include "maotimerobserver.h"
    35 #include "maosettingsobserver.h"
    35 #include "maosettingsobserver.h"
    36 #include "maoraumanagerobserver.h"
    36 #include "maoraumanagerobserver.h"
    37 #include "maogpdsobserver.h"
    37 #include "maogpdsobserver.h"
    38 #include "caoasyncwrapper.h"
    38 #include "caoasyncwrapper.h"
       
    39 #include "cenrepobserver.h"
    39 
    40 
    40 // FORWARD DECLARATIONS
    41 // FORWARD DECLARATIONS
    41 class CAOConnectionManager;
    42 class CAOConnectionManager;
    42 class CAOTimer;
    43 class CAOTimer;
    43 class CAORAUManager;
    44 class CAORAUManager;
    44 class CAOSettings;
    45 class CAOSettings;
    45 class CAOGpds;
    46 class CAOGpds;
       
    47 class CAOCenRepObserver;
       
    48 class MAOCenRepObserver;
    46 
    49 
    47 /**
    50 /**
    48 *  Always-On Server class.
    51 *  Always-On Server class.
    49 *
    52 *
    50 *  @lib PDPContextManager2.lib
    53 *  @lib PDPContextManager2.lib
    55     public MAOStateContext,
    58     public MAOStateContext,
    56     public MAOStatePool,
    59     public MAOStatePool,
    57     public MAOConnectionManagerObserver,
    60     public MAOConnectionManagerObserver,
    58     public MAOTimerObserver,
    61     public MAOTimerObserver,
    59     public MAOSettingsObserver,
    62     public MAOSettingsObserver,
    60     public MAORAUManagerObserver
    63     public MAORAUManagerObserver,
       
    64     public MAOCenRepObserver
    61     {
    65     {
    62 public:    // Constructors & destructors
    66 public:    // Constructors & destructors
    63 
    67 
    64     /**
    68     /**
    65      * Two-phased constructor.
    69      * Two-phased constructor.
   400      * @since S60 v3.1
   404      * @since S60 v3.1
   401      * @param aType: RAU type
   405      * @param aType: RAU type
   402      */
   406      */
   403     void HandleSuccesfulRAUL( TRAUType aType );
   407     void HandleSuccesfulRAUL( TRAUType aType );
   404     
   408     
       
   409 private: // From base class MAOCenRepObserver
       
   410 	
       
   411 	  /**
       
   412      * From MAOCenRepObserver
       
   413      * a notification when Central Repository key 
       
   414      * KCRUidCmManager/ KCurrentCellularDataUsage changes.
       
   415      *
       
   416      * @since S60 5.1
       
   417      * @param aValue New key value
       
   418      */
       
   419     void CurrentCellularDataUsageChangedL( const TInt aValue );
       
   420     
   405     
   421     
   406 private: // Data
   422 private: // Data
   407 
   423 
   408     
   424     
   409     /**
   425     /**
   493     /** 
   509     /** 
   494      * Timer setup
   510      * Timer setup
   495      * Own
   511      * Own
   496      */ 
   512      */ 
   497     CPeriodic* iAsyncSetup;
   513     CPeriodic* iAsyncSetup;
       
   514     
       
   515     /** 
       
   516      * Central repository key watcher
       
   517      * Own
       
   518      */ 
       
   519     CAOCenRepObserver* iCenRepObserver;
   498     };
   520     };
   499 
   521 
   500 #endif //C_CAOSERVER_H
   522 #endif //C_CAOSERVER_H