// Copyright (c) 2006-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 __T_TESTOBSERVER_H
#define __T_TESTOBSERVER_H

#include "t_imapmailstore.h"


class CTestObserver :  public CBase, public MMailStoreObserver
	{
public:
	virtual ~CTestObserver();
	void StoreOperationComplete(TMsvId aId, TInt aErrorCode);
	void MakeRequestL(TMsvId aId);
	void CancelL();
	CTestObserver(CImapMailStore& aImapMailStore);
private:
	void CreateMessageHeaderL(CImHeader& aImHeader);
private:
	CImapMailStore& iImapMailStore;
	};
	
#endif//__T_TESTOBSERVER_H