]> code.delx.au - comingnext/blob - ComingNext_SkinFetcher/src/ComingNext_SkinFetcherDocument.cpp
added first implementation of ComingNext Skin Fetcher app
[comingnext] / ComingNext_SkinFetcher / src / ComingNext_SkinFetcherDocument.cpp
1 /*
2 ========================================================================
3 Name : ComingNext_SkinFetcherDocument.cpp
4 Author : Michael Prager
5 Copyright : Licensed under GPLv3
6 Description :
7 ========================================================================
8 */
9 // [[[ begin generated region: do not modify [Generated User Includes]
10 #include "ComingNext_SkinFetcherDocument.h"
11 #include "ComingNext_SkinFetcherAppUi.h"
12 // ]]] end generated region [Generated User Includes]
13
14 /**
15 * @brief Constructs the document class for the application.
16 * @param anApplication the application instance
17 */
18 CComingNext_SkinFetcherDocument::CComingNext_SkinFetcherDocument(
19 CEikApplication& anApplication) :
20 CAknDocument(anApplication)
21 {
22 }
23
24 /**
25 * @brief Completes the second phase of Symbian object construction.
26 * Put initialization code that could leave here.
27 */
28 void CComingNext_SkinFetcherDocument::ConstructL()
29 {
30 }
31
32 /**
33 * Symbian OS two-phase constructor.
34 *
35 * Creates an instance of CComingNext_SkinFetcherDocument, constructs it, and
36 * returns it.
37 *
38 * @param aApp the application instance
39 * @return the new CComingNext_SkinFetcherDocument
40 */
41 CComingNext_SkinFetcherDocument* CComingNext_SkinFetcherDocument::NewL(
42 CEikApplication& aApp)
43 {
44 CComingNext_SkinFetcherDocument* self =
45 new (ELeave) CComingNext_SkinFetcherDocument(aApp);
46 CleanupStack::PushL(self);
47 self->ConstructL();
48 CleanupStack::Pop(self);
49 return self;
50 }
51
52 /**
53 * @brief Creates the application UI object for this document.
54 * @return the new instance
55 */
56 CEikAppUi* CComingNext_SkinFetcherDocument::CreateAppUiL()
57 {
58 return new (ELeave) CComingNext_SkinFetcherAppUi;
59 }
60