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: UserEmulatorApplication.h
|
|
18 |
*
|
|
19 |
* Created: 13/08/2009
|
|
20 |
* Author(s): Marcell Kiss, Reshma Sandeep Das
|
|
21 |
*
|
|
22 |
* Description:
|
|
23 |
* Main application class. Provides factory to create concrete document object
|
|
24 |
*------------------------------------------------------------------
|
|
25 |
-
|
|
26 |
*
|
|
27 |
*/
|
|
28 |
|
|
29 |
#ifndef USEREMULATORAPPLICATION_H__
|
|
30 |
#define USEREMULATORAPPLICATION_H__
|
|
31 |
|
|
32 |
// System Includes
|
|
33 |
#include <aknapp.h>
|
|
34 |
|
|
35 |
// User Includes
|
|
36 |
#include "UserEmulator.hrh"
|
|
37 |
|
|
38 |
// UID for the application
|
|
39 |
// this should correspond to the uid defined in the mmp file
|
|
40 |
const TUid KUidUserEmulatorApp =
|
|
41 |
{
|
|
42 |
_UID3
|
|
43 |
};
|
|
44 |
|
|
45 |
// CLASS DECLARATION
|
|
46 |
|
|
47 |
/**
|
|
48 |
* CUserEmulatorApplication application class.
|
|
49 |
* Provides factory to create concrete document object.
|
|
50 |
* An instance of CUserEmulatorApplication is the application part of the
|
|
51 |
* AVKON application framework for the UserEmulator application.
|
|
52 |
*/
|
|
53 |
class CUserEmulatorApplication : public CAknApplication
|
|
54 |
{
|
|
55 |
public:
|
|
56 |
// Functions from base classes
|
|
57 |
|
|
58 |
/**
|
|
59 |
* From CApaApplication, AppDllUid.
|
|
60 |
* @return Application's UID (KUidUserEmulatorApp).
|
|
61 |
*/
|
|
62 |
TUid AppDllUid() const;
|
|
63 |
|
|
64 |
protected:
|
|
65 |
// Functions from base classes
|
|
66 |
|
|
67 |
/**
|
|
68 |
* From CApaApplication, CreateDocumentL.
|
|
69 |
* Creates CUserEmulatorDocument document object. The returned
|
|
70 |
* pointer in not owned by the CUserEmulatorApplication object.
|
|
71 |
* @return A pointer to the created document object.
|
|
72 |
*/
|
|
73 |
CApaDocument* CreateDocumentL();
|
|
74 |
|
|
75 |
/**
|
|
76 |
* From CApaApplication, overridden to enable INI file support.
|
|
77 |
* @return CDictionaryStore*, A pointer to the dictionary store
|
|
78 |
*/
|
|
79 |
CDictionaryStore* OpenIniFileLC(RFs& aFs) const;
|
|
80 |
|
|
81 |
};
|
|
82 |
|
|
83 |
#endif // USEREMULATORAPPLICATION_H__
|
|
84 |
// End of File
|