coreapplicationuis/SysAp/Src/OfflineModeController/SysApOfflineModeControllerImpl.h
branchRCL_3
changeset 20 c2c61fdca848
parent 19 924385140d98
equal deleted inserted replaced
19:924385140d98 20:c2c61fdca848
     1 /*
     1 /*
     2  * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). 
     3  * All rights reserved.
     3 * All rights reserved.
     4  * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5  * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8  *
     8 *
     9  * Initial Contributors:
     9 * Initial Contributors:
    10  * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11  *
    11 *
    12  * Contributors:
    12 * Contributors:
    13  *
    13 *
    14  * Description:
    14 * Description:  The stub implementation of MSysApOfflineModeController.
    15  * CSysApOfflineModeController controls the offline mode.
    15 *
    16  * It turns OFF RF, BT and WLAN when offline mode is enabled and turns them ON when
    16 */
    17  * Offline mode is disabled
       
    18  *
       
    19  */
       
    20 
    17 
    21 
    18 
    22 #ifndef SYSAPOFFLINEMODECONTROLLERIMPL_H
    19 #ifndef SYSAPOFFLINEMODECONTROLLERIMPL_H
    23 #define SYSAPOFFLINEMODECONTROLLERIMPL_H
    20 #define SYSAPOFFLINEMODECONTROLLERIMPL_H
    24 
    21 
    28 #include "MSysApOfflineModeController.h"
    25 #include "MSysApOfflineModeController.h"
    29 
    26 
    30 // FORWARD DECLARATIONS
    27 // FORWARD DECLARATIONS
    31 
    28 
    32 class CSysApAppUi;
    29 class CSysApAppUi;
    33 class CSysApCenRepOfflineModeObserver;
       
    34 
    30 
    35 // CLASS DECLARATION
    31 // CLASS DECLARATION
    36 /**
    32 /**
    37 *  CSysApOfflineModeController
    33 *  CSysApOfflineModeController
    38 *  
    34 *  
   162     TBool BtActiveBeforeOfflineMode();
   158     TBool BtActiveBeforeOfflineMode();
   163 
   159 
   164 private:
   160 private:
   165 
   161 
   166     CSysApAppUi&        iSysApAppUi;
   162     CSysApAppUi&        iSysApAppUi;
   167 	
       
   168     /**
       
   169     * Instance of the Offline mode observer. Listens to offline mode changes
       
   170 	*/	
       
   171     CSysApCenRepOfflineModeObserver*         iSysApCenRepOfflineModeObserver;
       
   172 
   163 
   173     TBool               iOfflineModeActive;
   164     TBool               iOfflineModeActive;
   174     TBool               iDoNotActivateRF;
   165     TBool               iDoNotActivateRF;
   175 };
   166 };
   176 
   167