diff -r 000000000000 -r 8e480a14352b messagingfw/sendas/test/sendastesteditutils/inc/csendastesteditutils.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/sendas/test/sendastesteditutils/inc/csendastesteditutils.h Mon Jan 18 20:36:02 2010 +0200 @@ -0,0 +1,61 @@ +// Copyright (c) 2005-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: +// + +#ifndef __CSENDASTESTEDITUTILS_H__ +#define __CSENDASTESTEDITUTILS_H__ + +#include +#include + +// forward declarations +class CSendAsTestEditTimer; + +class CSendAsTestEditUtils : public CSendAsEditUtils + { +public: + static CSendAsTestEditUtils* NewL(); + virtual ~CSendAsTestEditUtils(); + + // methods from CSendAsEditUtils + virtual void LaunchEditorL(TMsvId aId, TRequestStatus& aStatus); + virtual void LaunchEditorAndWaitL(TMsvId aId); + virtual void Cancel(); + + // callback for timer + void TimerDone(); + +private: + CSendAsTestEditUtils(); + void ConstructL(); + + CSendAsTestEditTimer* iEditTimer; + TRequestStatus* iUserStatus; + }; + +//********************************** +// CDummyObserver +//********************************** +class CMsvEntrySelection; + +class CDummyObserver : public CBase, public MMsvSessionObserver + { +public: + void HandleSessionEventL(TMsvSessionEvent, TAny*, TAny*, TAny*) {}; + }; + +//********************************** + + +#endif // __CSENDASTESTEDITUTILS_H__