equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-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 |
|
19 #ifndef C_APPLICATION_H |
|
20 #define C_APPLICATION_H |
|
21 |
|
22 #include <aknapp.h> |
|
23 |
|
24 namespace AiNativeUiController |
|
25 { |
|
26 |
|
27 class CNativeUiController; |
|
28 |
|
29 /** |
|
30 * Application class of Native UI Controller application |
|
31 * |
|
32 * @lib ainatiui |
|
33 * @since S60 3.2 |
|
34 */ |
|
35 class CApplication : public CAknApplication |
|
36 { |
|
37 public: |
|
38 |
|
39 // Constructors and destructor |
|
40 |
|
41 static CApplication* New(CNativeUiController* aUiCtl); |
|
42 |
|
43 virtual ~CApplication(); |
|
44 |
|
45 |
|
46 // Functions from base classes |
|
47 |
|
48 CApaDocument* CreateDocumentL(); |
|
49 |
|
50 virtual TUid AppDllUid() const; |
|
51 |
|
52 virtual TFileName ResourceFileName() const; |
|
53 |
|
54 private: |
|
55 |
|
56 CApplication(CNativeUiController* aUiCtl); |
|
57 |
|
58 private: // Data |
|
59 |
|
60 /** |
|
61 * UI Controller. Not own |
|
62 */ |
|
63 CNativeUiController* iUiCtl; |
|
64 |
|
65 }; |
|
66 |
|
67 } // namespace AiNativeUiController |
|
68 |
|
69 #endif // C_APPLICATION_H |
|
70 |
|
71 // End of File. |