1
/* $Id: symbian_ua_guiDocument.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 User Includes]
20
#include "symbian_ua_guiDocument.h"
21
#include "symbian_ua_guiAppUi.h"
22
// ]]] end generated region [Generated User Includes]
25
* @brief Constructs the document class for the application.
26
* @param anApplication the application instance
28
Csymbian_ua_guiDocument::Csymbian_ua_guiDocument( CEikApplication& anApplication )
29
: CAknDocument( anApplication )
34
* @brief Completes the second phase of Symbian object construction.
35
* Put initialization code that could leave here.
37
void Csymbian_ua_guiDocument::ConstructL()
42
* Symbian OS two-phase constructor.
44
* Creates an instance of Csymbian_ua_guiDocument, constructs it, and
47
* @param aApp the application instance
48
* @return the new Csymbian_ua_guiDocument
50
Csymbian_ua_guiDocument* Csymbian_ua_guiDocument::NewL( CEikApplication& aApp )
52
Csymbian_ua_guiDocument* self = new ( ELeave ) Csymbian_ua_guiDocument( aApp );
53
CleanupStack::PushL( self );
55
CleanupStack::Pop( self );
60
* @brief Creates the application UI object for this document.
61
* @return the new instance
63
CEikAppUi* Csymbian_ua_guiDocument::CreateAppUiL()
65
return new ( ELeave ) Csymbian_ua_guiAppUi;