plugins/consoles/vt100cons/src/usb/vtc_usb.h
changeset 77 60f47003f4b1
parent 0 7f656887cf89
equal deleted inserted replaced
74:4349d4d62266 77:60f47003f4b1
    15 
    15 
    16 #include <e32cons.h>
    16 #include <e32cons.h>
    17 #include <usbman.h>
    17 #include <usbman.h>
    18 #include "vtc_serial.h"
    18 #include "vtc_serial.h"
    19 
    19 
       
    20 class TUsbPortConfig
       
    21 	{
       
    22 public:
       
    23 	TUsbPortConfig();
       
    24 
       
    25 	TPtrC iPort;
       
    26 	TInt iPersonality;
       
    27 	};
       
    28 
    20 NONSHARABLE_CLASS(CUsbConsole) : public CVtcSerialConsole
    29 NONSHARABLE_CLASS(CUsbConsole) : public CVtcSerialConsole
    21 	{
    30 	{
    22 public:
    31 public:
    23 	CUsbConsole();
    32 	CUsbConsole();
    24 	virtual ~CUsbConsole();
    33 	virtual ~CUsbConsole();
    25 private: // From CVtcSerialConsole.
    34 private: // From CVtcSerialConsole.
    26 	virtual void ConstructL(const TDesC& aTitle);
    35 	virtual void ConstructL(const TDesC& aTitle);
    27 private:
    36 private:
       
    37 	TInt ReadConfig(const TDesC& aConfigDes, TUsbPortConfig& aConfig);
       
    38 
       
    39 private:
    28 	RUsb iUsb;
    40 	RUsb iUsb;
    29 	};
    41 	};
    30 
    42 
    31 
    43 
    32 #endif //__VTC_BT_H__
    44 #endif //__VTC_BT_H__