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: DCMO Notifier Aob |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __DCMO_NOTIFIERAOB_H__ |
|
19 #define __DCMO_NOTIFIERAOB_H__ |
|
20 |
|
21 // INCLUDES |
|
22 |
|
23 #include <AknGlobalMsgQuery.h> |
|
24 |
|
25 /** |
|
26 * An active class to show the global note. |
|
27 * |
|
28 */ |
|
29 class CDCMONotifierAob : public CActive |
|
30 { |
|
31 public: |
|
32 static CDCMONotifierAob* NewL( ); |
|
33 |
|
34 /** |
|
35 * Destructor |
|
36 */ |
|
37 ~CDCMONotifierAob(); |
|
38 |
|
39 /** |
|
40 * Show the Notification |
|
41 * @param aString , to be shown |
|
42 * @return |
|
43 */ |
|
44 void ShowNotifierL( TDesC& aString ); |
|
45 |
|
46 /** |
|
47 * From CActive,DoCancel. |
|
48 */ |
|
49 void DoCancel(); |
|
50 |
|
51 /** |
|
52 * From CActive,RunL. |
|
53 */ |
|
54 void RunL(); |
|
55 |
|
56 /** |
|
57 * From CActive,RunError. |
|
58 */ |
|
59 TInt RunError(TInt aError); |
|
60 |
|
61 private: |
|
62 /** |
|
63 * Createss CDCMOGenericControl |
|
64 * Default Constructor |
|
65 */ |
|
66 CDCMONotifierAob( ); |
|
67 |
|
68 /** |
|
69 * second phase constructor |
|
70 */ |
|
71 void ConstructL(); |
|
72 |
|
73 private: |
|
74 CAknGlobalMsgQuery* iGlobalMsgQuery; |
|
75 |
|
76 }; |
|
77 #endif //__DCMO_NOTIFIERAOB_H__ |