controlpanelui/src/cpplugins/displayplugin/src/cpdisplaymodel_p.h
changeset 12 624337f114fe
parent 11 10d0dd0e43f1
child 14 23411a3be0db
child 19 36aa4756ee82
equal deleted inserted replaced
11:10d0dd0e43f1 12:624337f114fe
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0""
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:  
       
    15  *   
       
    16  */
       
    17 
       
    18 #ifndef CPDISPLAYMODEL_P_H
       
    19 #define CPDISPLAYMODEL_P_H
       
    20 
       
    21 class CRepository;
       
    22 
       
    23 class CpDisplayModelPrivate
       
    24     {
       
    25 public:
       
    26     CpDisplayModelPrivate();
       
    27     ~CpDisplayModelPrivate();
       
    28 
       
    29 public:
       
    30     int keyguard();
       
    31     bool isKeyguardSupported();
       
    32     void setKeyguard(int value);
       
    33     bool isBacklightSupported();
       
    34     int backlight();
       
    35     void setBacklight(int value);
       
    36     bool isBrightnessSupported();
       
    37     int brightness();
       
    38     void setBrightness(int value);
       
    39 
       
    40 private:
       
    41     CRepository* mLightCenRep;
       
    42     CRepository* mSecurityCenRep;
       
    43     };
       
    44 
       
    45 #endif