equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2005 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 |
|
19 #ifndef C_AISSAVERSTATUSOBSERVER_H |
|
20 #define C_AISSAVERSTATUSOBSERVER_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <e32property.h> |
|
24 #include "aipsstatusobserver.h" |
|
25 |
|
26 class MAiPSPropertyObserver; |
|
27 |
|
28 /** |
|
29 * Publish and subscribe key observer |
|
30 * |
|
31 * @lib aifw |
|
32 * @since S60 3.2 |
|
33 */ |
|
34 |
|
35 NONSHARABLE_CLASS( CAiSSaverStatusObserver ) : public CAiPSStatusObserver |
|
36 { |
|
37 public: |
|
38 |
|
39 // Construction |
|
40 |
|
41 static CAiSSaverStatusObserver* NewL( MAiStateManager* aStateManager ); |
|
42 |
|
43 virtual ~CAiSSaverStatusObserver(); |
|
44 |
|
45 // functions from base class CAiSSaverStatusObserver |
|
46 |
|
47 TAiStateChanges Status(); |
|
48 |
|
49 private: |
|
50 |
|
51 // Construction |
|
52 |
|
53 CAiSSaverStatusObserver(); |
|
54 |
|
55 void ConstructL( MAiStateManager* aStateManager ); |
|
56 |
|
57 // new functions |
|
58 |
|
59 static TInt HandleScreenSaverStateChanged( TAny* aPtr ); |
|
60 |
|
61 }; |
|
62 |
|
63 #endif // C_AISSAVERSTATUSOBSERVER_H |
|
64 |
|
65 // End of File. |