equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: Encapsulates a message to send |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef RHVSMSG_H |
|
21 #define RHVSMSG_H |
|
22 |
|
23 /** |
|
24 * Encapsulates an outstanding request. Allows the client to have multiple |
|
25 * asynchronous methods outstanding |
|
26 */ |
|
27 class RHvsMsg |
|
28 { |
|
29 public: |
|
30 /** |
|
31 * C++ constructor |
|
32 * |
|
33 * @param aMsg message object |
|
34 * @param aOp server function code |
|
35 */ |
|
36 inline RHvsMsg(const RMessage2 aMsg,TMPXHarvesterServerOp aOp); |
|
37 |
|
38 |
|
39 /** |
|
40 * Return message reference |
|
41 */ |
|
42 inline const RMessage2& Message(); |
|
43 |
|
44 /** |
|
45 * Return the op |
|
46 */ |
|
47 inline const TMPXHarvesterServerOp Op(); |
|
48 |
|
49 private: |
|
50 RMessage2 iMsg; |
|
51 TMPXHarvesterServerOp iOp; |
|
52 }; |
|
53 |
|
54 #include "mpxhvsmsg.inl" |
|
55 |
|
56 #endif // RHVSMSG_H |