diff -r 254040eb3b7d -r 0a74be98a8bc controlpanelui/src/cpplugins/displayplugin/src/cpdisplaymodel_p.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/controlpanelui/src/cpplugins/displayplugin/src/cpdisplaymodel_p.h Fri Mar 19 09:29:29 2010 +0200 @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2009 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 CPDISPLAYMODEL_P_H +#define CPDISPLAYMODEL_P_H + +class CRepository; + +class CpDisplayModelPrivate + { +public: + CpDisplayModelPrivate(); + ~CpDisplayModelPrivate(); + +public: + int keyguard(); + bool isKeyguardSupported(); + void setKeyguard(int value); + bool isBacklightSupported(); + int backlight(); + void setBacklight(int value); + bool isBrightnessSupported(); + int brightness(); + void setBrightness(int value); + +private: + CRepository* mLightCenRep; + CRepository* mSecurityCenRep; + }; + +#endif