|
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: RMnMapImageServiceClient class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MN_MAPIMAGESERVICECLIENT_H |
|
20 #define MN_MAPIMAGESERVICECLIENT_H |
|
21 |
|
22 #include "mninternal.h" |
|
23 #include "mnmapimage.h" |
|
24 #include "mnserviceclientbase.h" |
|
25 |
|
26 /** @internal |
|
27 * Client side of IPC with CMnMapImageServiceBase. |
|
28 */ |
|
29 NONSHARABLE_CLASS( RMnMapImageServiceClient ): public RMnServiceClientBase |
|
30 { |
|
31 public: |
|
32 /** C++ constructor */ |
|
33 RMnMapImageServiceClient(); |
|
34 |
|
35 /** Issues async request for rendering */ |
|
36 void Render( |
|
37 CFbsBitmap& aBitmap, |
|
38 TMnMapImageParams& aParams, |
|
39 TMnMapImageOptions& aOptions, |
|
40 TRequestStatus& aStatus); |
|
41 |
|
42 private : // from RApaAppServiceBase |
|
43 IMPORT_C TUid ServiceUid() const; |
|
44 |
|
45 private: |
|
46 TPtr8 iParamsDes; |
|
47 |
|
48 TMnMapImageOptions iOptions; |
|
49 TPckgC<TMnMapImageOptions> iOptionsPack; |
|
50 }; |
|
51 |
|
52 #endif // MN_MAPIMAGESERVICECLIENT_H |