idlefw/plugins/sapidataplugin/inc/sapidataplugin.h
branchRCL_3
changeset 27 2c7f27287390
parent 23 ace62b58f4b2
equal deleted inserted replaced
25:9e077f9a342c 27:2c7f27287390
    42 NONSHARABLE_CLASS( CSapiDataPlugin ) : public CHsContentPublisher                    
    42 NONSHARABLE_CLASS( CSapiDataPlugin ) : public CHsContentPublisher                    
    43     {   
    43     {   
    44 public:
    44 public:
    45     // data types
    45     // data types
    46     
    46     
    47 	 /**
    47     /**
    48 	 * Plugin's network state.
    48     * Plugin's network state.
    49 	 */
    49     */
    50 	enum TPluginNetworkStatus 
    50     enum TPluginNetworkStatus 
    51 		{
    51     {
    52 		EUnknown, 
    52     EUnknown, 
    53 		EOffline,
    53     EOffline,
    54 		EOnline
    54     EOnline
    55 		};
    55     };
    56 	
    56 
    57 	/**
    57     /**
    58 	 * Plugin's state.
    58     * Plugin's state.
    59 	 */
    59     */
    60 	enum TPluginStates
    60     enum TPluginStates
    61 		{
    61     {
    62 	    EStopped,
    62     EStopped,
    63 	    EStarted,
    63     EStarted,
    64 		EResume,
    64     EResume,
    65 		ESuspend			
    65     ESuspend
    66 		};
    66     };
    67 	
    67 
    68 public:
    68 public:
    69     // constructor and destructor
    69     // constructor and destructor
    70     
    70     
    71     /**
    71     /**
    72     * Part of the two phased constuction
    72     * Part of the two phased constuction
   316     TPluginNetworkStatus iNetworkStatus;       
   316     TPluginNetworkStatus iNetworkStatus;       
   317 	/** Plugin state */    
   317 	/** Plugin state */    
   318     TPluginStates iPluginState;
   318     TPluginStates iPluginState;
   319     /** Flag to indicate whether observer is registered */
   319     /** Flag to indicate whether observer is registered */
   320     TBool iPubObsRegistered;
   320     TBool iPubObsRegistered;
       
   321     
       
   322 private:
       
   323     // friend classes
       
   324     
       
   325 #ifdef _SAPIDATAPLUGIN_TEST
       
   326     friend class MT_SapiDataPlugin;
       
   327 #endif 
   321     };
   328     };
   322 
   329 
   323 #endif // SAPIDATAPLUGIN_H
   330 #endif // SAPIDATAPLUGIN_H
   324 
   331 
   325 // End of file
   332 // End of file