wlanutilities/wlansniffer/aiplugin/inc/wsfdbobserver.h
branchRCL_3
changeset 12 981afc7d3841
parent 0 56b72877c1cb
equal deleted inserted replaced
11:8b0eae1b1d71 12:981afc7d3841
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description: 
    15 *        Header file for CWlanPluginDbObserver class.
    15 *        Header file for CWsfDbObserver class.
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 #ifndef C_WLAN_PLUGIN_DB_OBSERVER
    20 #ifndef C_WLAN_PLUGIN_DB_OBSERVER
    37 NONSHARABLE_CLASS( CWsfDbObserver ) : public CActive
    37 NONSHARABLE_CLASS( CWsfDbObserver ) : public CActive
    38     {
    38     {
    39     public:
    39     public:
    40         /**
    40         /**
    41         * The Constructor.
    41         * The Constructor.
    42         * @param aState Pointer to the WLAN State object.
       
    43         */
    42         */
    44     	CWsfDbObserver(  );
    43     	CWsfDbObserver();
    45         
    44         
    46         /**
    45         /**
    47         * First phase of two phased construction.
    46         * First phase of two phased construction.
    48         * @param aState Pointer to the WLAN State object.
       
    49         */
    47         */
    50         static CWsfDbObserver* NewL(  );
    48         static CWsfDbObserver* NewL();
    51         
    49         
    52         /**
    50         /**
    53         * This function activates this object as an active object.
    51         * This function activates this object as an active object.
    54         */
    52         */
    55         void ActivateItL();
    53         void ActivateItL();
    84         /**
    82         /**
    85         * Whan waiting for a database access is stopped this function
    83         * Whan waiting for a database access is stopped this function
    86         * is called.
    84         * is called.
    87         */
    85         */
    88         void DoCancel();
    86         void DoCancel();
       
    87         
       
    88         /**
       
    89          * @see CActive
       
    90          */
       
    91         TInt RunError( TInt aError );
    89  
    92  
    90     private:
    93     private:
    91         /**
    94         /**
    92         * Second phase of two phase construction.
    95         * Second phase of two phase construction.
    93         */
    96         */
    97          * Get default scanning interval 
   100          * Get default scanning interval 
    98          */
   101          */
    99         TInt DefaultScanIntervalL();
   102         TInt DefaultScanIntervalL();
   100 
   103 
   101     private:  
   104     private:  
   102         /**
       
   103         * @var Pointer to the WLAN state object to ask and set scanning
       
   104         * state.
       
   105         */ 
       
   106         //CWlanPluginWlanState * iWlanState;
       
   107         
       
   108         /**
   105         /**
   109         * A CommsDat session fod database access.
   106         * A CommsDat session fod database access.
   110         */
   107         */
   111         CMDBSession* iSession;
   108         CMDBSession* iSession;
   112         
   109