plugins/consoles/vt100cons/src/bluetooth/vtc_bt.h
author Tom Sutcliffe <thomas.sutcliffe@accenture.com>
Wed, 23 Jun 2010 15:52:26 +0100
changeset 0 7f656887cf89
permissions -rw-r--r--
First submission to Symbian Foundation staging server.

// vtc_bt.h
// 
// Copyright (c) 2008 - 2010 Accenture. All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the "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:
// Accenture - Initial contribution
//

#ifndef __VTC_BT_H__
#define __VTC_BT_H__

#include <e32cons.h>
#include <fshell/btserialclient.h>
#include <fshell/vtc_base.h>
#include <fshell/vtc_controller.h>

NONSHARABLE_CLASS(CBtConsole) : public CVtcConsoleBase
	{
public:
	CBtConsole();
	virtual ~CBtConsole();
private: // From CVtcSerialConsole.
	virtual void ConstructL(const TDesC& aTitle);
private: // From MConsoleOutput.
	virtual TInt Output(const TDesC8& aDes);
private: // From MConsoleInput.
	virtual void Input(TDes8& aDes, TRequestStatus& aStatus);
	virtual void CancelInput(TRequestStatus& aStatus);
private:
	RBtSerialSession iBtConnection;
	};


#endif //__VTC_BT_H__