]> code.delx.au - comingnext/blob - ComingNext_SkinFetcher/src/ComingNext_SkinFetcherApplication.cpp
5f269a8fb3ab517a8deb9bb3b2904200df7c35a6
[comingnext] / ComingNext_SkinFetcher / src / ComingNext_SkinFetcherApplication.cpp
1 /*
2 ========================================================================
3 Name : ComingNext_SkinFetcherApplication.cpp
4 Author : Michael Prager
5 Copyright : Licensed under GPLv3
6 Description :
7 ========================================================================
8 */
9 // [[[ begin generated region: do not modify [Generated System Includes]
10 // ]]] end generated region [Generated System Includes]
11
12 // [[[ begin generated region: do not modify [Generated Includes]
13 #include "ComingNext_SkinFetcherApplication.h"
14 #include "ComingNext_SkinFetcherDocument.h"
15 #ifdef EKA2
16 #include <eikstart.h>
17 #endif
18 // ]]] end generated region [Generated Includes]
19
20 /**
21 * @brief Returns the application's UID (override from CApaApplication::AppDllUid())
22 * @return UID for this application (KUidComingNext_SkinFetcherApplication)
23 */
24 TUid CComingNext_SkinFetcherApplication::AppDllUid() const
25 {
26 return KUidComingNext_SkinFetcherApplication;
27 }
28
29 /**
30 * @brief Creates the application's document (override from CApaApplication::CreateDocumentL())
31 * @return Pointer to the created document object (CComingNext_SkinFetcherDocument)
32 */
33 CApaDocument* CComingNext_SkinFetcherApplication::CreateDocumentL()
34 {
35 return CComingNext_SkinFetcherDocument::NewL(*this);
36 }
37
38 #ifdef EKA2
39
40 /**
41 * @brief Called by the application framework to construct the application object
42 * @return The application (CComingNext_SkinFetcherApplication)
43 */
44 LOCAL_C CApaApplication* NewApplication()
45 {
46 return new CComingNext_SkinFetcherApplication;
47 }
48
49 /**
50 * @brief This standard export is the entry point for all Series 60 applications
51 * @return error code
52 */
53 GLDEF_C TInt E32Main()
54 {
55 return EikStart::RunApplication(NewApplication);
56 }
57
58 #else // Series 60 2.x main DLL program code
59 /**
60 * @brief This standard export constructs the application object.
61 * @return The application (CComingNext_SkinFetcherApplication)
62 */
63 EXPORT_C CApaApplication* NewApplication()
64 {
65 return new CComingNext_SkinFetcherApplication;
66 }
67
68 /**
69 * @brief This standard export is the entry point for all Series 60 applications
70 * @return error code
71 */
72 GLDEF_C TInt E32Dll(TDllReason /*reason*/)
73 {
74 return KErrNone;
75 }
76
77 #endif // EKA2