0
|
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 |
#ifndef __TRKAPPVIEW_H
|
|
19 |
#define __TRKAPPVIEW_H
|
|
20 |
|
|
21 |
#include <eikenv.h>
|
|
22 |
#include <eikmenup.h>
|
|
23 |
#include "trksrvclisession.h"
|
|
24 |
|
|
25 |
//
|
|
26 |
//
|
|
27 |
// CTrkAppView
|
|
28 |
//
|
|
29 |
//
|
|
30 |
class CTrkAppView : public CCoeControl
|
|
31 |
{
|
|
32 |
public:
|
|
33 |
|
|
34 |
static CTrkAppView* NewL(const TRect& aRect, RTrkSrvCliSession& aTrkSession);
|
|
35 |
CTrkAppView(RTrkSrvCliSession& aTrkSession);
|
|
36 |
~CTrkAppView();
|
|
37 |
void ConstructL(const TRect& aRect);
|
|
38 |
|
|
39 |
private:
|
|
40 |
|
|
41 |
void Draw(const TRect& /*aRect*/) const;
|
|
42 |
|
|
43 |
|
|
44 |
private:
|
|
45 |
|
|
46 |
CVwsSessionWrapper* iVwsSession;
|
|
47 |
RTrkSrvCliSession& iTrkSession;
|
|
48 |
TInt iMajorVersion;
|
|
49 |
TInt iMinorVersion;
|
|
50 |
TInt iMajorAPIVersion;
|
|
51 |
TInt iMinorAPIVersion;
|
|
52 |
TInt iBuildNumber;
|
|
53 |
TInt iError;
|
|
54 |
};
|
|
55 |
|
|
56 |
#endif //__TRKAPPVIEW_H
|
|
57 |
|