?? serialtransport.h
字號:
// Copyright (c) 2004 - 2007, Symbian Software Ltd. All rights reserved.
#ifndef SERIALTRANSPORT_H
#define SERIALTRANSPORT_H
#include "serialutils.h"
#include "rs232transport.h"
class CSerialTransport : public CRs232Transport
/**
Supports transferring data between two instances of via
serial cable or infrared emulated RS232.
*/
{
public:
static CSerialTransport* NewIrCommTransportL(TAny* aTransportCreateInfo);
static CSerialTransport* NewSerialCommTransportL(TAny* aTransportCreateInfo);
virtual ~CSerialTransport();
private:
static CSerialTransport* New2L(
MTransportObserver& aObserver, const TDesC& aCsyName, const TDesC& aPortName, TBool aInitListen);
CSerialTransport(MTransportObserver& aObserver);
void ConstructL(const TDesC& aCsyName, const TDesC& aPortName, TBool aInitListen);
private:
/** Whether the LDD was successfully loaded during initialization. */
TBool iLoadedLdd;
/** Whether the PDD was successfully loaded during initialization. */
TBool iLoadedPdd;
};
#endif // #ifndef SERIALTRANSPORT_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -