serialtransport.h
来自「Symbian OS C++ for Mobile Phones v3 Exam」· C头文件 代码 · 共 40 行
H
40 行
// 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 + =
减小字号Ctrl + -
显示快捷键?