equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2003 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: Uikon application architecture's application class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CCAAPP_H |
|
21 #define CCAAPP_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <aknapp.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CCAVariantFactory; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Application architecture's application |
|
33 * |
|
34 * @lib chat.app |
|
35 * @since 1.2 |
|
36 */ |
|
37 class CCAApp : public CAknApplication |
|
38 { |
|
39 |
|
40 public: // Constructors and destructors |
|
41 |
|
42 virtual ~CCAApp(); |
|
43 |
|
44 public: // New methods |
|
45 |
|
46 /** |
|
47 * Returns pointer to variant factory |
|
48 * @return A pointer to the created document object. |
|
49 */ |
|
50 CCAVariantFactory* VariantFactory() const; |
|
51 |
|
52 private: |
|
53 |
|
54 /** |
|
55 * From CApaApplication, creates CChatClientDocument document object. |
|
56 * @return A pointer to the created document object. |
|
57 */ |
|
58 CApaDocument* CreateDocumentL(); |
|
59 |
|
60 /** |
|
61 * From CApaApplication, returns application's UID (KUidChatClient). |
|
62 * @return The value of KUidChatClient |
|
63 */ |
|
64 TUid AppDllUid() const; |
|
65 |
|
66 private: // Data |
|
67 |
|
68 //Owns |
|
69 CCAVariantFactory* iVariantFactory; |
|
70 }; |
|
71 |
|
72 #endif // CCAAPP_H |
|
73 |
|
74 // End of File |