equal
deleted
inserted
replaced
|
1 // vtc_bt.h |
|
2 // |
|
3 // Copyright (c) 2008 - 2010 Accenture. All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Accenture - Initial contribution |
|
11 // |
|
12 |
|
13 #ifndef __VTC_BT_H__ |
|
14 #define __VTC_BT_H__ |
|
15 |
|
16 #include <e32cons.h> |
|
17 #include <fshell/btserialclient.h> |
|
18 #include <fshell/vtc_base.h> |
|
19 #include <fshell/vtc_controller.h> |
|
20 |
|
21 NONSHARABLE_CLASS(CBtConsole) : public CVtcConsoleBase |
|
22 { |
|
23 public: |
|
24 CBtConsole(); |
|
25 virtual ~CBtConsole(); |
|
26 private: // From CVtcSerialConsole. |
|
27 virtual void ConstructL(const TDesC& aTitle); |
|
28 private: // From MConsoleOutput. |
|
29 virtual TInt Output(const TDesC8& aDes); |
|
30 private: // From MConsoleInput. |
|
31 virtual void Input(TDes8& aDes, TRequestStatus& aStatus); |
|
32 virtual void CancelInput(TRequestStatus& aStatus); |
|
33 private: |
|
34 RBtSerialSession iBtConnection; |
|
35 }; |
|
36 |
|
37 |
|
38 #endif //__VTC_BT_H__ |