|
1 /* |
|
2 * Copyright (c) 2004-2007 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 __AKNNFYSRVUI__ |
|
19 #define __AKNNFYSRVUI__ |
|
20 |
|
21 #include <AknNotifierWrapperDefs.h> |
|
22 #include <AknNotiferAppServerApplication.h> // link against AknNotifierWrapper.lib |
|
23 #include <AknNotifierAppServer.h> |
|
24 #include <AknNotifierControllerPlugin.h> |
|
25 |
|
26 #include "AknCapServerDefs.h" |
|
27 |
|
28 //---------------------------------- |
|
29 // Application |
|
30 //---------------------------------- |
|
31 class CAknNfySrvApplication : public CAknNotifierAppServerApplication |
|
32 { |
|
33 public: |
|
34 CAknNfySrvApplication(); |
|
35 void NewAppServerL(CApaAppServer*& aAppServer); |
|
36 CApaDocument* CreateDocumentL(); |
|
37 TUid AppDllUid() const |
|
38 { |
|
39 return KCommonNotifierAppSrvUid; |
|
40 } |
|
41 TFileName ResourceFileName() const |
|
42 { |
|
43 return KNullDesC(); |
|
44 } |
|
45 }; |
|
46 |
|
47 //---------------------------------- |
|
48 // Document |
|
49 //---------------------------------- |
|
50 class CAknNfySrvDocument : public CAknDocument |
|
51 { |
|
52 public: |
|
53 CAknNfySrvDocument(CEikApplication& aApp):CAknDocument(aApp){}; |
|
54 private: // from CAknDocument |
|
55 CEikAppUi* CreateAppUiL(); |
|
56 }; |
|
57 |
|
58 |
|
59 //---------------------------------- |
|
60 // AppUi |
|
61 //---------------------------------- |
|
62 class CAknNfySrvAppUi: public CAknNotifierAppServerAppUi |
|
63 { |
|
64 public: |
|
65 CAknNfySrvAppUi(); |
|
66 ~CAknNfySrvAppUi(); |
|
67 |
|
68 public: // from CAknNotifierAppServerAppUi |
|
69 void ConstructL(); |
|
70 |
|
71 private: // from CCoeAppUi |
|
72 TBool FrameworkCallsRendezvous() const; |
|
73 }; |
|
74 |
|
75 #endif // __AKNNFYSRVUI__ |
|
76 |
|
77 // End of file |