0
|
1 |
/*------------------------------------------------------------------
|
|
2 |
-
|
|
3 |
* Software Name : UserEmulator
|
|
4 |
* Version : v4.2.1309
|
|
5 |
*
|
|
6 |
* Copyright (c) 2009 France Telecom. All rights reserved.
|
|
7 |
* This software is distributed under the License
|
|
8 |
* "Eclipse Public License - v 1.0" the text of which is available
|
|
9 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
10 |
*
|
|
11 |
* Initial Contributors:
|
|
12 |
* France Telecom
|
|
13 |
*
|
|
14 |
* Contributors:
|
|
15 |
*------------------------------------------------------------------
|
|
16 |
-
|
|
17 |
* File Name: UserEmulatorDocument.h
|
|
18 |
*
|
|
19 |
* Created: 13/08/2009
|
|
20 |
* Author(s): Marcell Kiss, Reshma Sandeep Das
|
|
21 |
*
|
|
22 |
* Description:
|
|
23 |
* Declares document class for application
|
|
24 |
*------------------------------------------------------------------
|
|
25 |
-
|
|
26 |
*
|
|
27 |
*/
|
|
28 |
#ifndef USEREMULATORDOCUMENT_H__
|
|
29 |
#define USEREMULATORDOCUMENT_H__
|
|
30 |
|
|
31 |
// System includes
|
|
32 |
#include <akndoc.h>
|
|
33 |
|
|
34 |
// Forward Declarations
|
|
35 |
class CUserEmulatorAppUi;
|
|
36 |
class CEikApplication;
|
|
37 |
|
|
38 |
// CLASS DECLARATION
|
|
39 |
|
|
40 |
/**
|
|
41 |
* CUserEmulatorDocument application class.
|
|
42 |
* An instance of class CUserEmulatorDocument is the Document part of the
|
|
43 |
* AVKON application framework for the UserEmulator example application.
|
|
44 |
*/
|
|
45 |
class CUserEmulatorDocument : public CAknDocument
|
|
46 |
{
|
|
47 |
public:
|
|
48 |
// Constructors and destructor
|
|
49 |
|
|
50 |
/**
|
|
51 |
* NewL.
|
|
52 |
* Two-phased constructor.
|
|
53 |
* Construct a CUserEmulatorDocument for the AVKON application aApp
|
|
54 |
* using two phase construction, and return a pointer
|
|
55 |
* to the created object.
|
|
56 |
* @param aApp Application creating this document.
|
|
57 |
* @return A pointer to the created instance of CUserEmulatorDocument.
|
|
58 |
*/
|
|
59 |
static CUserEmulatorDocument* NewL(CEikApplication& aApp);
|
|
60 |
|
|
61 |
/**
|
|
62 |
* NewLC.
|
|
63 |
* Two-phased constructor.
|
|
64 |
* Construct a CUserEmulatorDocument for the AVKON application aApp
|
|
65 |
* using two phase construction, and return a pointer
|
|
66 |
* to the created object.
|
|
67 |
* @param aApp Application creating this document.
|
|
68 |
* @return A pointer to the created instance of CUserEmulatorDocument.
|
|
69 |
*/
|
|
70 |
static CUserEmulatorDocument* NewLC(CEikApplication& aApp);
|
|
71 |
|
|
72 |
/**
|
|
73 |
* ~CUserEmulatorDocument
|
|
74 |
* Virtual Destructor.
|
|
75 |
*/
|
|
76 |
virtual ~CUserEmulatorDocument();
|
|
77 |
|
|
78 |
public:
|
|
79 |
// Functions from base classes
|
|
80 |
|
|
81 |
/**
|
|
82 |
* CreateAppUiL
|
|
83 |
* From CEikDocument, CreateAppUiL.
|
|
84 |
* Create a CUserEmulatorAppUi object and return a pointer to it.
|
|
85 |
* The object returned is owned by the Uikon framework.
|
|
86 |
* @return Pointer to created instance of AppUi.
|
|
87 |
*/
|
|
88 |
CEikAppUi* CreateAppUiL();
|
|
89 |
|
|
90 |
private:
|
|
91 |
// Constructors
|
|
92 |
|
|
93 |
/**
|
|
94 |
* CUserEmulatorDocument.
|
|
95 |
* C++ default constructor.
|
|
96 |
* @param aApp Application creating this document.
|
|
97 |
*/
|
|
98 |
CUserEmulatorDocument(CEikApplication& aApp);
|
|
99 |
|
|
100 |
};
|
|
101 |
|
|
102 |
#endif // USEREMULATORDOCUMENT_h__
|
|
103 |
// End of File
|