screensaver/snsrdisplaycontrol_s60/inc/snsrdisplaycontrolclient.h
author hgs
Mon, 13 Sep 2010 13:03:23 +0300
changeset 86 e4f038c420f7
permissions -rw-r--r--
201036

/*
 * 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 SNSRDISPLAYCONTROLCLIENT_H
#define SNSRDISPLAYCONTROLCLIENT_H

// INCLUDES
#include <e32base.h>

//FORWARD DECLARATIONS

// CLASS DECLARATION
/**
 * Client-side interface to Screensaver Display Control Server
 *
 * 
 *
 */
class RSnsrDisplayControlClient: public RSessionBase
    {
public:

    /**
     * Construct the object.
     */
    IMPORT_C RSnsrDisplayControlClient();

    /**
     * Open session
     */
    IMPORT_C TInt Open();
    
    /**
     * Closes session
     */
    IMPORT_C void Close();

    /**
     * Return version information
     */
    IMPORT_C TVersion Version() const;

    IMPORT_C void SetDisplayFullPower();
    
    IMPORT_C void SetDisplayLowPower( TInt aStartRow, TInt aEndRow );
    
    IMPORT_C void SetDisplayOff();
    
private:

    TInt iError;
    
    };

#endif // SNSRDISPLAYCONTROLCLIENT_H
// End of File