diff -r 666f914201fb -r 2fe1408b6811 epoc32/include/obexservermtm.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/epoc32/include/obexservermtm.h Tue Mar 16 16:12:26 2010 +0000 @@ -0,0 +1,132 @@ +// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members +// which accompanies this distribution, and is available +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// $Workfile: obexServerMtm.h $ +// $Author: Stevep $ +// $Revision: 9 $ +// $Date: 12/12/01 15:56 $ +// +// + + +#if !defined(__OBEXSERVERMTM_H__) +#define __OBEXSERVERMTM_H__ + + +#if !defined(__MTSR_H__) +#include +#endif + +#include + +class CObexServerSendOperation; +class CObexSrvMtm : public CBaseServerMtm +/** +@internalTechnology +@released +*/ + { +public: + enum TObexMtmOperations + { + EObexMtmUiNullOp, + EObexMtmUiObexSend + }; + +public: + + /** + * Destructor: Cancels active object (this)s + */ + + IMPORT_C ~CObexSrvMtm(); + + IMPORT_C virtual void CopyToLocalL(const CMsvEntrySelection& aSelection,TMsvId aDestination, TRequestStatus& aStatus); + IMPORT_C virtual void MoveToLocalL(const CMsvEntrySelection& aSelection,TMsvId aDestination, TRequestStatus& aStatus); + + + /** + * Copies a selection of entries from a local location to a remote location + * N.B. Leaves as not supported + * + * @param aSelection The collection of message index entries for which the copy is required + * @param aServiceId The entry ID of the service by which the entries should be transferred + * @param aStatus Indicates operation completion + */ + + IMPORT_C virtual void CopyFromLocalL(const CMsvEntrySelection& aSelection,TMsvId aDestination, TRequestStatus& aStatus); + IMPORT_C virtual void MoveFromLocalL(const CMsvEntrySelection& aSelection,TMsvId aDestination, TRequestStatus& aStatus); + IMPORT_C virtual void CopyWithinServiceL(const CMsvEntrySelection& aSelection,TMsvId aDestination, TRequestStatus& aStatus); + IMPORT_C virtual void MoveWithinServiceL(const CMsvEntrySelection& aSelection,TMsvId aDestination, TRequestStatus& aStatus); + IMPORT_C void DeleteL(const CMsvEntrySelection& aSelection, TRequestStatus& aStatus); + IMPORT_C virtual void DeleteAllL(const CMsvEntrySelection& aSelection, TRequestStatus& aStatus); + IMPORT_C virtual void CreateL(TMsvEntry aNewEntry, TRequestStatus& aStatus); + IMPORT_C virtual void ChangeL(TMsvEntry aNewEntry, TRequestStatus& aStatus); + // + //STP now defined in the base classes + //IMPORT_C virtual void StartCommandL(CMsvEntrySelection& aSelection, TInt aCommand, const TDesC8& aParameter, TRequestStatus& aStatus); + // + IMPORT_C virtual TBool CommandExpected(); + + /** + * Obtains progress from the send operation and copies it into the iProgress member + * + * @return a TBufPckg iProgress; //