messagingfw/sendas/test/sendastesteditutils/inc/csendastesteditutils.h
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 2005-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 //
       
    15 
       
    16 #ifndef __CSENDASTESTEDITUTILS_H__
       
    17 #define __CSENDASTESTEDITUTILS_H__
       
    18 
       
    19 #include <csendaseditutils.h>
       
    20 #include <msvapi.h>
       
    21 
       
    22 // forward declarations
       
    23 class CSendAsTestEditTimer;
       
    24 
       
    25 class CSendAsTestEditUtils : public CSendAsEditUtils
       
    26 	{
       
    27 public:
       
    28 	static CSendAsTestEditUtils* NewL();
       
    29 	virtual ~CSendAsTestEditUtils();
       
    30 
       
    31 	// methods from CSendAsEditUtils
       
    32 	virtual void LaunchEditorL(TMsvId aId, TRequestStatus& aStatus);
       
    33 	virtual void LaunchEditorAndWaitL(TMsvId aId);
       
    34 	virtual void Cancel();
       
    35 	
       
    36 	// callback for timer
       
    37 	void TimerDone();
       
    38 
       
    39 private:
       
    40 	CSendAsTestEditUtils();
       
    41 	void ConstructL();
       
    42 
       
    43 	CSendAsTestEditTimer*	iEditTimer;
       
    44 	TRequestStatus* 		iUserStatus;
       
    45 	};
       
    46 
       
    47 //**********************************
       
    48 // CDummyObserver
       
    49 //**********************************
       
    50 class CMsvEntrySelection;
       
    51 
       
    52 class CDummyObserver : public CBase, public MMsvSessionObserver
       
    53 	{
       
    54 public:
       
    55 	void HandleSessionEventL(TMsvSessionEvent, TAny*, TAny*, TAny*) {};
       
    56 	};
       
    57 	
       
    58 //**********************************
       
    59 
       
    60 
       
    61 #endif	// __CSENDASTESTEDITUTILS_H__