coreapplicationuis/SysAp/Inc/hbdevicepowermenusymbian.h
branchRCL_3
changeset 63 c2c61fdca848
parent 62 924385140d98
child 64 75184094ace1
child 66 9af619316cbf
--- a/coreapplicationuis/SysAp/Inc/hbdevicepowermenusymbian.h	Tue Aug 31 15:24:25 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/*
- * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
- * All rights reserved.
- * This component and the accompanying materials are made available
- * under the terms of "Eclipse Public License v1.0"
- * which accompanies this distribution, and is available
- * at the URL "http://www.eclipse.org/legal/epl-v10.html".
- *
- * Initial Contributors:
- * Nokia Corporation - initial contribution.
- *
- * Contributors:
- *
- * Description:
- *
- */
-
-#ifndef HBDEVICEPOWERMENUSYMBIAN_H
-#define HBDEVICEPOWERMENUSYMBIAN_H
-
-#if defined(__SYMBIAN32__) || defined(SYMBIAN) || defined(HB_DOXYGEN)
-
-#include <e32base.h>
-#include <centralrepository.h>
-#include <settingsinternalcrkeys.h>
-#include <ProfileEngineInternalCRKeys.h>
-#include <ProfileEngineSDKCRKeys.h>
-#include <MProfileEngineExtended2.h>
-#include "SysApAppUi.h"
-
-class CHbDevicePowerMenuPrivate;
-
-class CHbDevicePowerMenuSymbian : public CBase
-{
-public:
-
-	static CHbDevicePowerMenuSymbian* NewL(CSysApAppUi& aSysApServer );
-    virtual ~CHbDevicePowerMenuSymbian();
-    
-    //Displays Dialog
-    void ShowL();
-    //Getters and Setters
-    void SetVolume(TInt aVolume);
-    void SetSilenceMode(TBool aEnable);
-    void SetOfflineMode(TBool aChecked);
-    void SetVibrationEnabled(TBool aEnable);
-    void SetPowerOffEnabled(TBool aEnable);
-
-private:
-
-    CHbDevicePowerMenuSymbian(CSysApAppUi& aSysApServer);
-    void ConstructL();
-
-private:
-    friend class CHbDevicePowerMenuPrivate;
-    //Used to set master Volume/Vibrate/Silence Mode in Control Panel
-    MProfileEngineExtended2* 	iProfileEngine;
-    //Used to Set and Get OfflineMode to and from Control Panel
-    CRepository* 				iCenrepOffline;
-    //Used to Get Master Volume/Vibrate/Silence Mode in Control Panel
-    CRepository* 				iCenrepProfile;
-    //Used to handle ShutDown
-    CSysApAppUi& 				iSysApServer;
-    CHbDevicePowerMenuPrivate* 	iPowerMenuPrivate;
-};
-
-#endif // defined(__SYMBIAN32__) || defined(SYMBIAN) || defined(HB_DOXYGEN)
-
-#endif // HBDEVICEPOWERMENUSYMBIAN_H
-
-