dummyrfcommhandler.hh
来自「It s a tool designed to extract as much 」· HH 代码 · 共 40 行
HH
40 行
/* -*- c++ -*- --------------------------------------------------------------- Copyright (C) 2005, SWECO, All Rights Reserved. Dummy implementation of the Bluetooth RFComm handler facility (for testing) $Id$ Author: Zsolt Molnar (Zsolt.Molnar@ieee.org) ---------------------------------------------------------------------------*/#ifndef __DUMMYRFCOMMHANDLER_HH__#define __DUMMYRFCOMMHANDLER_HH__#include "base.hh"#include "IRFCommHandler.hh"#ifdef _cplusplusextern "C" {#endifclass DummyRFCommHandler: virtual public IRFCommHandler {public: DummyRFCommHandler() {}; virtual ~DummyRFCommHandler() {}; virtual bool serial_connect(const Device& aDevice) {return true;}; virtual bool unconnect(const Device& aDevice) {return true;}; virtual int getPort(const Device& aDevice) {return 0;}; virtual int getMaxSerialConnections() {return 0;}};#ifdef _cplusplus}#endif#endif /* #ifndef __DUMMYRFCOMMHANDLER_HH__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?