1
/* $Id: symbian_ua_guiApplication.cpp 3550 2011-05-05 05:33:27Z nanang $ */
3
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
// [[[ begin generated region: do not modify [Generated System Includes]
20
// ]]] end generated region [Generated System Includes]
22
// [[[ begin generated region: do not modify [Generated Includes]
23
#include "symbian_ua_guiApplication.h"
24
#include "symbian_ua_guiDocument.h"
28
// ]]] end generated region [Generated Includes]
32
TPtrC APP_UID = _L("EBD12EE4");
35
* @brief Returns the application's UID (override from CApaApplication::AppDllUid())
36
* @return UID for this application (KUidsymbian_ua_guiApplication)
38
TUid Csymbian_ua_guiApplication::AppDllUid() const
40
return KUidsymbian_ua_guiApplication;
44
* @brief Creates the application's document (override from CApaApplication::CreateDocumentL())
45
* @return Pointer to the created document object (Csymbian_ua_guiDocument)
47
CApaDocument* Csymbian_ua_guiApplication::CreateDocumentL()
49
return Csymbian_ua_guiDocument::NewL( *this );
55
* @brief Called by the application framework to construct the application object
56
* @return The application (Csymbian_ua_guiApplication)
58
LOCAL_C CApaApplication* NewApplication()
60
return new Csymbian_ua_guiApplication;
64
* @brief This standard export is the entry point for all Series 60 applications
67
GLDEF_C TInt E32Main()
71
err = EikStart::RunApplication( NewApplication );
76
#else // Series 60 2.x main DLL program code
79
* @brief This standard export constructs the application object.
80
* @return The application (Csymbian_ua_guiApplication)
82
EXPORT_C CApaApplication* NewApplication()
84
return new Csymbian_ua_guiApplication;
88
* @brief This standard export is the entry point for all Series 60 applications
91
GLDEF_C TInt E32Dll(TDllReason /*reason*/)