messagingfw/msgsrvnstore/server/inc/MSVROPS.INL
changeset 0 8e480a14352b
child 11 dd93350a5f29
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     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 
       
    63 inline void CMsvMtmOperation::StartCommand(CMsvEntrySelection* aSelection, TInt aCommand, HBufC8* aParameter)
       
    64 	{
       
    65 	StoreParameters(EMtmOpCommand ,aSelection ,aCommand, aParameter);
       
    66 	}
       
    67 
       
    68 #if (defined SYMBIAN_USER_PROMPT_SERVICE)	
       
    69 inline void CMsvMtmOperation::SetThreadId(TThreadId aThreadId)
       
    70  	{
       
    71  	iThreadId = aThreadId;
       
    72  	}
       
    73 #endif