screensaver/snsrdisplaycontrol_s60/inc/snsrdisplaycontrolclient.h
changeset 92 6727c5d0afc7
equal deleted inserted replaced
85:35368b604b28 92:6727c5d0afc7
       
     1 /*
       
     2  * Copyright (c) 2010 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 SNSRDISPLAYCONTROLCLIENT_H
       
    19 #define SNSRDISPLAYCONTROLCLIENT_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 //FORWARD DECLARATIONS
       
    25 
       
    26 // CLASS DECLARATION
       
    27 /**
       
    28  * Client-side interface to Screensaver Display Control Server
       
    29  *
       
    30  * 
       
    31  *
       
    32  */
       
    33 class RSnsrDisplayControlClient: public RSessionBase
       
    34     {
       
    35 public:
       
    36 
       
    37     /**
       
    38      * Construct the object.
       
    39      */
       
    40     IMPORT_C RSnsrDisplayControlClient();
       
    41 
       
    42     /**
       
    43      * Open session
       
    44      */
       
    45     IMPORT_C TInt Open();
       
    46     
       
    47     /**
       
    48      * Closes session
       
    49      */
       
    50     IMPORT_C void Close();
       
    51 
       
    52     /**
       
    53      * Return version information
       
    54      */
       
    55     IMPORT_C TVersion Version() const;
       
    56 
       
    57     IMPORT_C void SetDisplayFullPower();
       
    58     
       
    59     IMPORT_C void SetDisplayLowPower( TInt aStartRow, TInt aEndRow );
       
    60     
       
    61     IMPORT_C void SetDisplayOff();
       
    62     
       
    63 private:
       
    64 
       
    65     TInt iError;
       
    66     
       
    67     };
       
    68 
       
    69 #endif // SNSRDISPLAYCONTROLCLIENT_H
       
    70 // End of File