|
1 /* |
|
2 * Copyright (c) 2002-2004 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 the License "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: Class definition file for an Application class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef WIDGETSTARTUPAPPLICATION_H |
|
20 #define WIDGETSTARTUPAPPLICATION_H |
|
21 |
|
22 // INCLUDES |
|
23 |
|
24 |
|
25 #include <aknapp.h> // CEikApplication |
|
26 |
|
27 // DATA TYPES |
|
28 |
|
29 const TUid KUidWidgetStartupApp = {0x200100B6}; |
|
30 |
|
31 // FORWARD DECLARATIONS |
|
32 |
|
33 // CLASS DEFINITIONS |
|
34 |
|
35 /** |
|
36 * Defines the application's UID and manufactures a new, |
|
37 * blank document. |
|
38 * |
|
39 * @lib WidgetStartup.exe |
|
40 * @since Series 60 3.0 |
|
41 */ |
|
42 class CWidgetStartupApplication : public CAknApplication |
|
43 { |
|
44 // Methods from base classes |
|
45 |
|
46 private: // CEikApplication |
|
47 /** |
|
48 * This function is inherited from class CApaApplication. This function is called by |
|
49 * the UI framework at application start-up. It creates an instance of the document class. |
|
50 * @param None |
|
51 * @return pointer to a CApaDocument object |
|
52 */ |
|
53 CApaDocument* CreateDocumentL(); |
|
54 |
|
55 /** |
|
56 * The function is called by the UI framework to ask for the application's UID. |
|
57 * @param None |
|
58 * @return the UID of the application |
|
59 */ |
|
60 TUid AppDllUid() const; |
|
61 }; |
|
62 |
|
63 #endif // WIDGETSTARTUPAPPLICATION_H |
|
64 |
|
65 // End of File |