appfactory.hh

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

HH
61
字号
/* -*- 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 + =
减小字号Ctrl + -
显示快捷键?