nethandler.hh

来自「It s a tool designed to extract as much 」· HH 代码 · 共 55 行

HH
55
字号
/* -*- c++ -*- ---------------------------------------------------------------   Copyright (C) 2005, SWECO, All Rights Reserved.   Bluetooth network handler implementation    $Id$   Author: Zsolt Molnar (Zsolt.Molnar@ieee.org)   ---------------------------------------------------------------------------*/#ifndef __NETHANDLER_HH__#define __NETHANDLER_HH__#include <vector>#include "base.hh"#include "Lockable.hh"#include "INetHandler.hh"#ifdef _cplusplusextern "C" {#endifclass NetHandler : virtual public INetHandler, 				   protected Lockable {public:	explicit NetHandler() {};	virtual bool connect(const Device& aDevice);	virtual void unconnect(const Device& aDevice);	virtual void commit();private:	typedef vector<Device> _tToConenct;private:	_tToConenct _toConnect;#ifdef __TEST__public:		bool test();#endif // #ifdef __TEST__};#ifdef _cplusplus}#endif#endif /* #ifndef __NETHANDLER_HH__ */   

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?