author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Thu, 02 Sep 2010 20:55:53 +0300 | |
changeset 47 | d176b53f330f |
parent 40 | 320ec5cd0227 |
permissions | -rw-r--r-- |
22 | 1 |
// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 |
// All rights reserved. |
|
3 |
// This component and the accompanying materials are made available |
|
4 |
// under the terms of "Eclipse Public License v1.0" |
|
5 |
// which accompanies this distribution, and is available |
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 |
// |
|
8 |
// Initial Contributors: |
|
9 |
// Nokia Corporation - initial contribution. |
|
10 |
// |
|
11 |
// Contributors: |
|
12 |
// |
|
13 |
// Description: |
|
14 |
// CMsvMtmOperation |
|
15 |
// |
|
16 |
// |
|
17 |
||
18 |
inline void CMsvMtmOperation::CopyToLocal(CMsvEntrySelection* aSelection, TMsvId aDestination) |
|
19 |
{ |
|
20 |
StoreParameters(EMtmOpCopyToLocal ,aSelection ,aDestination, NULL); |
|
21 |
} |
|
22 |
||
23 |
inline void CMsvMtmOperation::CopyFromLocal(CMsvEntrySelection* aSelection, TMsvId aDestination) |
|
24 |
{ |
|
25 |
StoreParameters(EMtmOpCopyFromLocal ,aSelection ,aDestination, NULL); |
|
26 |
} |
|
27 |
||
28 |
inline void CMsvMtmOperation::CopyWithinService(CMsvEntrySelection* aSelection, TMsvId aDestination) |
|
29 |
{ |
|
30 |
StoreParameters(EMtmOpCopyWithinService ,aSelection ,aDestination, NULL); |
|
31 |
} |
|
32 |
||
33 |
inline void CMsvMtmOperation::MoveToLocal(CMsvEntrySelection* aSelection, TMsvId aDestination) |
|
34 |
{ |
|
35 |
StoreParameters(EMtmOpMoveToLocal ,aSelection ,aDestination, NULL); |
|
36 |
} |
|
37 |
||
38 |
inline void CMsvMtmOperation::MoveFromLocal(CMsvEntrySelection* aSelection, TMsvId aDestination) |
|
39 |
{ |
|
40 |
StoreParameters(EMtmOpMoveFromLocal ,aSelection ,aDestination, NULL); |
|
41 |
} |
|
42 |
||
43 |
inline void CMsvMtmOperation::MoveWithinService(CMsvEntrySelection* aSelection, TMsvId aDestination) |
|
44 |
{ |
|
45 |
StoreParameters(EMtmOpMoveWithinService ,aSelection ,aDestination, NULL); |
|
46 |
} |
|
47 |
||
48 |
inline void CMsvMtmOperation::DeleteAll(CMsvEntrySelection* aSelection) |
|
49 |
{ |
|
50 |
StoreParameters(EMtmOpDeleteAll ,aSelection ,0, NULL); |
|
51 |
} |
|
52 |
||
53 |
inline void CMsvMtmOperation::CreateL(const TMsvEntry& aNewEntry) |
|
54 |
{ |
|
55 |
StoreParametersL(EMtmOpCreate, aNewEntry); |
|
56 |
} |
|
57 |
||
58 |
inline void CMsvMtmOperation::ChangeL(const TMsvEntry& aNewEntry) |
|
59 |
{ |
|
60 |
StoreParametersL(EMtmOpChange, aNewEntry); |
|
61 |
} |
|
62 |
||
40
320ec5cd0227
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
22
diff
changeset
|
63 |
inline void CMsvMtmOperation::ChangeEntriesL(CMsvEntrySelection* aSelection, TInt aMark) |
320ec5cd0227
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
22
diff
changeset
|
64 |
{ |
320ec5cd0227
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
22
diff
changeset
|
65 |
StoreParameters(EMtmOpChangeEntries, aSelection ,aMark, NULL); |
320ec5cd0227
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
22
diff
changeset
|
66 |
} |
320ec5cd0227
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
22
diff
changeset
|
67 |
|
22 | 68 |
inline void CMsvMtmOperation::StartCommand(CMsvEntrySelection* aSelection, TInt aCommand, HBufC8* aParameter) |
69 |
{ |
|
70 |
StoreParameters(EMtmOpCommand ,aSelection ,aCommand, aParameter); |
|
71 |
} |
|
72 |
||
73 |
#if (defined SYMBIAN_USER_PROMPT_SERVICE) |
|
74 |
inline void CMsvMtmOperation::SetThreadId(TThreadId aThreadId) |
|
75 |
{ |
|
76 |
iThreadId = aThreadId; |
|
77 |
} |
|
78 |
inline void CMsvMtmOperation::SetCapability(TBool aCap) |
|
79 |
{ |
|
80 |
iHasCapability = aCap; |
|
81 |
} |
|
82 |
inline TBool CMsvMtmOperation::Capability() |
|
83 |
{ |
|
84 |
return iHasCapability; |
|
85 |
} |
|
86 |
#endif |