📄 appfactory.hh
字号:
/* -*- c++ -*- --------------------------------------------------------------- Copyright (C) 2005, SWECO, All Rights Reserved. Application factory class to assemble the program in runtime. $Id$ Author: Zsolt Molnar (Zsolt.Molnar@ieee.org) ---------------------------------------------------------------------------*/#ifndef __APPFACTORY_HH__#define __APPFACTORY_HH__#ifdef _cplusplusextern "C" {#endifclass IDeviceRecovery;class IDeviceManager;class IDeviceTypeExtractor;class ICommInitiator;class INetHandler;class IRFCommHandler;class IOBEXSender;class INetHandler;class AppFactory {public: AppFactory() {}; static void setup(); static IDeviceRecovery* newDeviceRecoveryC(IDeviceManager& aDeviceManager); static IDeviceManager* newDeviceManagerC(); static IDeviceTypeExtractor* newDeviceTypeExtractorC(); static IOBEXSender* newOBEXSenderC(); static ICommInitiator& getCommInitiator(); static IRFCommHandler& getRFCommHandler(); static INetHandler& getNetHandler(); static void cleanup();private: static bool _isInited;#ifdef __TEST__public: static int testHint_CommInitiator; static int testHint_NetHandler;#endif // #ifdef __TEST__};#ifdef _cplusplus}#endif#endif /* #ifndef __APPFACTORY_HH__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -