blob: f349c6e82db7890c3d16ec8a6826fbbd96f857b5 [file] [log] [blame]
Alexandre Lision67916dd2014-01-24 13:33:04 -05001/*
2========================================================================
3 Name : pjsuaDocument.cpp
4 Author : nanang
5 Copyright : Copyright (C) 2013 Teluu Inc. (http://www.teluu.com)
6 Description :
7========================================================================
8*/
9// [[[ begin generated region: do not modify [Generated User Includes]
10#include "pjsuaDocument.h"
11#include "pjsuaAppUi.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 */
18CpjsuaDocument::CpjsuaDocument( CEikApplication& anApplication )
19 : CAknDocument( anApplication )
20 {
21 }
22
23/**
24 * @brief Completes the second phase of Symbian object construction.
25 * Put initialization code that could leave here.
26 */
27void CpjsuaDocument::ConstructL()
28 {
29 }
30
31/**
32 * Symbian OS two-phase constructor.
33 *
34 * Creates an instance of CpjsuaDocument, constructs it, and
35 * returns it.
36 *
37 * @param aApp the application instance
38 * @return the new CpjsuaDocument
39 */
40CpjsuaDocument* CpjsuaDocument::NewL( CEikApplication& aApp )
41 {
42 CpjsuaDocument* self = new ( ELeave ) CpjsuaDocument( aApp );
43 CleanupStack::PushL( self );
44 self->ConstructL();
45 CleanupStack::Pop( self );
46 return self;
47 }
48
49/**
50 * @brief Creates the application UI object for this document.
51 * @return the new instance
52 */
53CEikAppUi* CpjsuaDocument::CreateAppUiL()
54 {
55 return new ( ELeave ) CpjsuaAppUi;
56 }
57