equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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 * CSmumStartUpMonitor declaration file |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __SMUMSTARTUPMONITOR_H |
|
22 #define __SMUMSTARTUPMONITOR_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 #include <e32property.h> |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CMsgSimOperation; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * CSmumStartUpMonitor |
|
35 * |
|
36 * @lib smum.dll |
|
37 * @since 3.0 |
|
38 */ |
|
39 NONSHARABLE_CLASS( CSmumStartUpMonitor ) : public CActive |
|
40 { |
|
41 public: // Constructors and destructor |
|
42 |
|
43 /** |
|
44 * Two-phased constructor. |
|
45 * |
|
46 * @param aWatcher a pointer to CMsgSimOperation |
|
47 */ |
|
48 static CSmumStartUpMonitor* NewL( CMsgSimOperation* aWatcher ); |
|
49 |
|
50 /** |
|
51 * Destructor. |
|
52 */ |
|
53 virtual ~CSmumStartUpMonitor(); |
|
54 |
|
55 private: |
|
56 |
|
57 /** |
|
58 * By default Symbian OS constructor is private. |
|
59 */ |
|
60 void ConstructL(); |
|
61 |
|
62 /** |
|
63 * Private C++ constructor. |
|
64 * |
|
65 * @param aWatcher a pointer to CMsgSimOperation |
|
66 */ |
|
67 CSmumStartUpMonitor( CMsgSimOperation* aWatcher ); |
|
68 |
|
69 private: |
|
70 |
|
71 /** |
|
72 * From CActive |
|
73 */ |
|
74 void DoCancel(); |
|
75 |
|
76 /** |
|
77 * From CActive |
|
78 */ |
|
79 void RunL(); |
|
80 |
|
81 private: // Data |
|
82 CMsgSimOperation* iWatcher; |
|
83 RProperty iStartupProperty; |
|
84 }; |
|
85 |
|
86 #endif // __SMUMSTARTUPMONITOR_H |
|
87 |
|
88 // End of File |