equal
deleted
inserted
replaced
|
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 __SCREENSAVERPROPERTYLISTENER_H__ |
|
19 #define __SCREENSAVERPROPERTYLISTENER_H__ |
|
20 |
|
21 #include <e32std.h> |
|
22 #include <e32base.h> |
|
23 #include <e32property.h> |
|
24 |
|
25 class CScreenSaverPropertyListener : public CActive |
|
26 { |
|
27 public: |
|
28 static CScreenSaverPropertyListener* NewL(TCallBack aCallback); |
|
29 virtual ~CScreenSaverPropertyListener(); |
|
30 void RunL(); |
|
31 void DoCancel(); |
|
32 void IssueRequest(); |
|
33 TInt GetScreenSaverStatus(); |
|
34 protected: |
|
35 void ConstructL(); |
|
36 private: |
|
37 CScreenSaverPropertyListener(TCallBack aCallback); |
|
38 |
|
39 RProperty iSCProperty; |
|
40 TCallBack iCallback; |
|
41 TInt iSCStatus; |
|
42 }; |
|
43 |
|
44 #endif |