46
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef PERFMON_DOCUMENT_H
|
|
20 |
#define PERFMON_DOCUMENT_H
|
|
21 |
|
|
22 |
// INCLUDES
|
|
23 |
#include <AknDoc.h>
|
|
24 |
|
|
25 |
// CONSTANTS
|
|
26 |
|
|
27 |
// FORWARD DECLARATIONS
|
|
28 |
class CEikAppUi;
|
|
29 |
class CPerfMonModel;
|
|
30 |
|
|
31 |
|
|
32 |
// CLASS DECLARATION
|
|
33 |
|
|
34 |
/**
|
|
35 |
* CPerfMonDocument application class.
|
|
36 |
*/
|
|
37 |
class CPerfMonDocument : public CAknDocument
|
|
38 |
{
|
|
39 |
public: // Constructors and destructor
|
|
40 |
static CPerfMonDocument* NewL(CEikApplication& aApp);
|
|
41 |
virtual ~CPerfMonDocument();
|
|
42 |
|
|
43 |
public: // New functions
|
|
44 |
|
|
45 |
public: // from CEikDocument
|
|
46 |
CFileStore* OpenFileL(TBool aDoOpen,const TDesC& aFilename,RFs& aFs);
|
|
47 |
protected: // New functions
|
|
48 |
|
|
49 |
protected: // Functions from base classes
|
|
50 |
|
|
51 |
private:
|
|
52 |
|
|
53 |
/**
|
|
54 |
* EPOC default constructor.
|
|
55 |
*/
|
|
56 |
CPerfMonDocument(CEikApplication& aApp);
|
|
57 |
void ConstructL();
|
|
58 |
|
|
59 |
private:
|
|
60 |
|
|
61 |
/**
|
|
62 |
* From CEikDocument, create CPerfMonAppUi "App UI" object.
|
|
63 |
*/
|
|
64 |
CEikAppUi* CreateAppUiL();
|
|
65 |
|
|
66 |
public:
|
|
67 |
inline CPerfMonModel* Model() { return iModel; }
|
|
68 |
|
|
69 |
private:
|
|
70 |
CPerfMonModel* iModel;
|
|
71 |
|
|
72 |
};
|
|
73 |
|
|
74 |
#endif
|
|
75 |
|
|
76 |
// End of File
|
|
77 |
|