equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2006 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: PS status observer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_AIPSSTATUSOBSERVER_H |
|
20 #define C_AIPSSTATUSOBSERVER_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <e32property.h> |
|
24 #include "aidevicestatusobserver.h" |
|
25 |
|
26 class MAiPSPropertyObserver; |
|
27 class MAiStateManager; |
|
28 |
|
29 /** |
|
30 * description |
|
31 * |
|
32 * @lib aifw |
|
33 * @since S60 3.2 |
|
34 */ |
|
35 |
|
36 NONSHARABLE_CLASS( CAiPSStatusObserver ) : public CBase, |
|
37 public MAiDeviceStatusObserver |
|
38 { |
|
39 |
|
40 public: |
|
41 |
|
42 // Construction |
|
43 |
|
44 virtual ~CAiPSStatusObserver(); |
|
45 |
|
46 // New functions |
|
47 |
|
48 virtual TAiStateChanges Status(); |
|
49 |
|
50 protected: |
|
51 |
|
52 // Construction |
|
53 |
|
54 CAiPSStatusObserver(); |
|
55 |
|
56 void BaseConstructL( TCallBack aCallBack, |
|
57 TUid aCategory, |
|
58 TInt aKey, |
|
59 MAiStateManager* aStateManager ); |
|
60 |
|
61 protected: // Data |
|
62 |
|
63 MAiPSPropertyObserver* iObserver; |
|
64 |
|
65 MAiStateManager* iStateManager; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // C_AIPSSTATUSOBSERVER_H |
|
70 |
|
71 // End of File. |