1 /* |
|
2 * Copyright (c) 2002-2006 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 * This class is a part of the standard application framework. |
|
16 * The application gets instantiated starting from this class. |
|
17 * Provides a factory method for instantiating the document object. |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef CVRAPPLICATION_H |
|
23 #define CVRAPPLICATION_H |
|
24 |
|
25 // INCLUDES |
|
26 #include <aknapp.h> |
|
27 #include <VoiceRecorderUID.h> |
|
28 |
|
29 // CONSTANTS |
|
30 const TUid KVRAppUID = { KVoiceRecorderAppUID3 }; |
|
31 |
|
32 // CLASS DECLARATION |
|
33 /** |
|
34 * This class is a part of the standard application framework. |
|
35 * The application gets instantiated starting from this class. |
|
36 * Provides a factory method for instantiating the document object. |
|
37 */ |
|
38 class CVRApplication |
|
39 : public CAknApplication |
|
40 { |
|
41 |
|
42 private: // from CApaApplication |
|
43 |
|
44 /** |
|
45 * Creates a CVRDocument instance. |
|
46 * @return A pointer to the created document object. |
|
47 */ |
|
48 CApaDocument* CreateDocumentL(); |
|
49 |
|
50 /** |
|
51 * Returns application's UID value. |
|
52 * @return KVRAppUID. |
|
53 */ |
|
54 TUid AppDllUid() const; |
|
55 |
|
56 /** |
|
57 * Returns a pointer to first-stage constructed server |
|
58 * @ return A pointer to AppServer object |
|
59 */ |
|
60 void NewAppServerL( CApaAppServer*& aAppServer ); |
|
61 }; |
|
62 |
|
63 #endif // CVRAPPLICATION_H |
|
64 |
|