equal
deleted
inserted
replaced
|
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: Header for server side session object of |
|
15 * Screensaver Display Control Server |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef C_CSNSRDISPLAYCONTROLSESSION_H |
|
20 #define C_CSNSRDISPLAYCONTROLSESSION_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 class CPowerSaveDisplayMode; |
|
25 |
|
26 |
|
27 /** |
|
28 * Server side session object for Screensaver Display Control Server |
|
29 */ |
|
30 class CSnsrDisplayControlSession : public CSession2 |
|
31 { |
|
32 public: |
|
33 |
|
34 IMPORT_C static CSnsrDisplayControlSession* NewL(); |
|
35 virtual ~CSnsrDisplayControlSession(); |
|
36 |
|
37 public: // from CSession2 |
|
38 void ServiceL( const RMessage2& aMessage ); |
|
39 |
|
40 private: |
|
41 |
|
42 CSnsrDisplayControlSession(); |
|
43 void ConstructL(); |
|
44 |
|
45 private: // data |
|
46 |
|
47 CPowerSaveDisplayMode* iPowerSave; |
|
48 HBufC16* iPowerSavePixelBuffer; |
|
49 }; |
|
50 |
|
51 #endif // C_CSNSRDISPLAYCONTROLSESSION_H |