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: Operation inline methods |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // ============================ MEMBER FUNCTIONS =============================== |
|
20 |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // CVtEngOperation::Command |
|
24 // ----------------------------------------------------------------------------- |
|
25 inline TVtEngCommandId CVtEngOperation::Command() const { return iCommand; } |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CVtEngOperation::Parameters |
|
29 // ----------------------------------------------------------------------------- |
|
30 inline const TDesC8* CVtEngOperation::Parameters() const { return iParams; } |
|
31 |
|
32 // ----------------------------------------------------------------------------- |
|
33 // TVtEngOpParamUtil::Set |
|
34 // ----------------------------------------------------------------------------- |
|
35 template <class T> |
|
36 inline void TVtEngOpParamUtil<T>::Set( |
|
37 T& aRef, |
|
38 const CVtEngOperation& aOp ) |
|
39 { |
|
40 TPckgC<T> pckg( aRef ); |
|
41 pckg.Set( *aOp.Parameters() ); |
|
42 aRef = pckg(); |
|
43 } |
|
44 |
|
45 // End of File |