equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2005-2006 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: CTestProviderNavigationService class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MNTP_NAVIGATIONSERVICE_H |
|
20 #define MNTP_NAVIGATIONSERVICE_H |
|
21 |
|
22 #include "mnnavigationservicebase.h" |
|
23 |
|
24 class CPosLandmark; |
|
25 |
|
26 /** Implementation of Navigation service (KMnAppNavigationService). |
|
27 */ |
|
28 class CTestProviderNavigationService : public CMnNavigationServiceBase |
|
29 { |
|
30 public : |
|
31 static CTestProviderNavigationService* NewL(); |
|
32 |
|
33 void HandleTestCommandL( TInt aCommand ); |
|
34 |
|
35 protected : |
|
36 /** C++ constructor */ |
|
37 CTestProviderNavigationService(); |
|
38 /** Destructor */ |
|
39 virtual ~CTestProviderNavigationService(); |
|
40 |
|
41 void ConstructL(); |
|
42 |
|
43 public: // from CMnNavigationServiceBase |
|
44 |
|
45 /** Handles client's request for navigation. */ |
|
46 void HandleNavigateToL(const CPosLandmark& aDestination); |
|
47 |
|
48 protected: // from CMnServiceBase |
|
49 |
|
50 /** Reports that client cancelled request */ |
|
51 void DoCancel(); |
|
52 |
|
53 private: |
|
54 |
|
55 }; |
|
56 |
|
57 #endif // MNTP_NAVIGATIONSERVICE_H |
|
58 |
|
59 |
|