From a70382b0e8bed265a1d314d9f6aae8f2dd48d20b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 28 Nov 2012 18:45:54 +0000 Subject: ex-protos moved to the Plugins folder git-svn-id: http://svn.miranda-ng.org/main/trunk@2545 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/src/ModuleInfo.h | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 plugins/Quotes/src/ModuleInfo.h (limited to 'plugins/Quotes/src/ModuleInfo.h') diff --git a/plugins/Quotes/src/ModuleInfo.h b/plugins/Quotes/src/ModuleInfo.h new file mode 100644 index 0000000000..2882dfae6d --- /dev/null +++ b/plugins/Quotes/src/ModuleInfo.h @@ -0,0 +1,43 @@ +#ifndef __d0f22b66_3135_4bbe_bee5_a31ea631ce58_ModuleInfo__ +#define __d0f22b66_3135_4bbe_bee5_a31ea631ce58_ModuleInfo__ + +class CQuotesProviders; +class IXMLEngine; +class IHTMLEngine; +// class IHTMLParser; + +class CModuleInfo +{ +public: + typedef boost::shared_ptr TQuotesProvidersPtr; + typedef boost::shared_ptr TXMLEnginePtr; + typedef boost::shared_ptr THTMLEnginePtr; + +private: + CModuleInfo(); + ~CModuleInfo(void); + +public: + static CModuleInfo& GetInstance(); + + void OnMirandaShutdown(); + HANDLE GetWindowList(const std::string& rsKey,bool bAllocateIfNonExist = true); + bool GetExtendedStatusFlag()const; + + static bool Verify(); + + static TQuotesProvidersPtr GetQuoteProvidersPtr(); + + static TXMLEnginePtr GetXMLEnginePtr(); +// static void SetXMLEnginePtr(TXMLEnginePtr pEngine); + + static THTMLEnginePtr GetHTMLEngine(); + static void SetHTMLEngine(THTMLEnginePtr pEngine); + +private: + typedef std::map THandles; + THandles m_ahWindowLists; + bool m_bExtendedStatusInfo; +}; + +#endif //__d0f22b66_3135_4bbe_bee5_a31ea631ce58_ModuleInfo__ -- cgit v1.2.3