41
|
1 |
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description: This is the header file for "DefineTestPs" app. This app is used to define the P & S keys required for activating the reference plugins.
|
|
14 |
//
|
|
15 |
|
|
16 |
/**
|
|
17 |
@file
|
|
18 |
@test
|
|
19 |
@internalComponent - Internal Symbian test code
|
|
20 |
*/
|
|
21 |
|
|
22 |
#ifndef __DEFINETESTPS_H
|
|
23 |
#define __DEFINETESTPS_H
|
|
24 |
|
|
25 |
/**
|
|
26 |
Application class
|
|
27 |
*/
|
|
28 |
#include <eikapp.h>
|
|
29 |
class CTestApplication : public CEikApplication
|
|
30 |
{
|
|
31 |
public:
|
|
32 |
static CApaApplication* NewApplication();
|
|
33 |
~CTestApplication();
|
|
34 |
|
|
35 |
private:
|
|
36 |
CTestApplication();
|
|
37 |
|
|
38 |
// from CApaApplication
|
|
39 |
TUid AppDllUid() const;
|
|
40 |
CApaDocument* CreateDocumentL();
|
|
41 |
};
|
|
42 |
|
|
43 |
/**
|
|
44 |
Document class
|
|
45 |
*/
|
|
46 |
#include <eikdoc.h>
|
|
47 |
class CEikAppUi;
|
|
48 |
class CEikApplication;
|
|
49 |
class CTestDocument : public CEikDocument
|
|
50 |
{
|
|
51 |
public:
|
|
52 |
static CTestDocument* NewL(CEikApplication& aApp);
|
|
53 |
~CTestDocument();
|
|
54 |
|
|
55 |
private:
|
|
56 |
CTestDocument(CEikApplication& aApp);
|
|
57 |
|
|
58 |
// from CEikDocument
|
|
59 |
CEikAppUi* CreateAppUiL();
|
|
60 |
};
|
|
61 |
|
|
62 |
/**
|
|
63 |
Application UI class, root of all graphical user interface in this application
|
|
64 |
*/
|
|
65 |
#include <eikappui.h>
|
|
66 |
class CTestAppUi : public CEikAppUi
|
|
67 |
{
|
|
68 |
public:
|
|
69 |
CTestAppUi();
|
|
70 |
~CTestAppUi();
|
|
71 |
|
|
72 |
// from CEikAppUi
|
|
73 |
void ConstructL();
|
|
74 |
};
|
|
75 |
|
|
76 |
#endif // __DEFINETESTPS_H
|