messagingfw/msgsrvnstore/server/inc/MSVROPS.INL
changeset 22 bde600d88860
child 35 f8ad95794a08
child 40 320ec5cd0227
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgsrvnstore/server/inc/MSVROPS.INL	Fri Jun 04 10:32:16 2010 +0100
@@ -0,0 +1,81 @@
+// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// CMsvMtmOperation
+// 
+//
+
+inline void CMsvMtmOperation::CopyToLocal(CMsvEntrySelection* aSelection, TMsvId aDestination)
+	{
+	StoreParameters(EMtmOpCopyToLocal ,aSelection ,aDestination, NULL);
+	}
+
+inline void CMsvMtmOperation::CopyFromLocal(CMsvEntrySelection* aSelection, TMsvId aDestination)
+	{
+	StoreParameters(EMtmOpCopyFromLocal ,aSelection ,aDestination, NULL);
+	}
+
+inline void CMsvMtmOperation::CopyWithinService(CMsvEntrySelection* aSelection, TMsvId aDestination)
+	{
+	StoreParameters(EMtmOpCopyWithinService ,aSelection ,aDestination, NULL);
+	}
+
+inline void CMsvMtmOperation::MoveToLocal(CMsvEntrySelection* aSelection, TMsvId aDestination)
+	{
+	StoreParameters(EMtmOpMoveToLocal ,aSelection ,aDestination, NULL);
+	}
+
+inline void CMsvMtmOperation::MoveFromLocal(CMsvEntrySelection* aSelection, TMsvId aDestination)
+	{
+	StoreParameters(EMtmOpMoveFromLocal ,aSelection ,aDestination, NULL);
+	}
+
+inline void CMsvMtmOperation::MoveWithinService(CMsvEntrySelection* aSelection, TMsvId aDestination)
+	{
+	StoreParameters(EMtmOpMoveWithinService ,aSelection ,aDestination, NULL);
+	}
+
+inline void CMsvMtmOperation::DeleteAll(CMsvEntrySelection* aSelection)
+	{
+	StoreParameters(EMtmOpDeleteAll ,aSelection ,0, NULL);
+	}
+
+inline void CMsvMtmOperation::CreateL(const TMsvEntry& aNewEntry)
+	{
+	StoreParametersL(EMtmOpCreate, aNewEntry);
+	}
+
+inline void CMsvMtmOperation::ChangeL(const TMsvEntry& aNewEntry)
+	{
+	StoreParametersL(EMtmOpChange, aNewEntry);
+	}
+
+inline void CMsvMtmOperation::StartCommand(CMsvEntrySelection* aSelection, TInt aCommand, HBufC8* aParameter)
+	{
+	StoreParameters(EMtmOpCommand ,aSelection ,aCommand, aParameter);
+	}
+
+#if (defined SYMBIAN_USER_PROMPT_SERVICE)	
+inline void CMsvMtmOperation::SetThreadId(TThreadId aThreadId)
+ 	{
+ 	iThreadId = aThreadId;
+ 	}
+inline void CMsvMtmOperation::SetCapability(TBool aCap)
+    {
+    iHasCapability = aCap;
+    }
+inline TBool CMsvMtmOperation::Capability()
+    {
+    return iHasCapability;
+    }
+#endif