diff -r 000000000000 -r 72b543305e3a messagingappbase/mce/inc/MceSendOperation.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingappbase/mce/inc/MceSendOperation.h Thu Dec 17 08:44:11 2009 +0200 @@ -0,0 +1,89 @@ +/* +* Copyright (c) 2002 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: +* Sends messages from Outbox when user selects "Start" in Outbox. +* +*/ + + + +#if !defined(__SENDOP_H__) +#define __SENDOP_H__ + + +// INCLUDES +#include + +// FORWARD DECLARATIONS +class CMtmStore; + +// CLASS DECLARATION + +/** +* Sends messages from Outbox when user selects "Start" in Outbox. +*/ +class CMceSendOperation : public CMsvOperation + { +public: + /** + * Constructor. + */ + static CMceSendOperation* NewL(CMsvSession& aMsvSession, TRequestStatus& aObserverRequestStatus, CMtmStore& aMtmStore, CMsvEntrySelection* aSel); + /** + * Destructor. + */ + virtual ~CMceSendOperation(); + /** + * + */ + virtual const TDesC8& ProgressL(); +private: + /** + * Constructor. + */ + CMceSendOperation(CMsvSession& aMsvSession, TRequestStatus& aObserverRequestStatus, CMtmStore& aMtmStore); + /** + * Constructor. + */ + void ConstructL(CMsvEntrySelection* aSel); + /** + * From CActive + */ + void DoCancel(); + /** + * From CActive + */ + void RunL(); + + /** + * + */ + void StartNextOperation(); + + /** + * + */ + void MakeNewOperationL(); +private: + CMtmStore& iMtmStore; + CArrayPtrFlat iSelections; + CArrayFixFlat iServices; + CMsvOperation* iOperation; + CMsvEntry* iCEntry; + TBuf8<1> iBlank; + }; + +#endif // __SENDOP_H__ + +// End of file