From 4b7131f74cd61043668d3a5805fe452d601181f1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 Feb 2019 18:26:49 +0300 Subject: CurrencyRates: - own archaic xml processor removed; - Import/Export now uses TinyXml; - massive code cleaning - version bump. --- plugins/CurrencyRates/src/ModuleInfo.h | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'plugins/CurrencyRates/src/ModuleInfo.h') diff --git a/plugins/CurrencyRates/src/ModuleInfo.h b/plugins/CurrencyRates/src/ModuleInfo.h index b8ee955dfb..8b99a248d6 100644 --- a/plugins/CurrencyRates/src/ModuleInfo.h +++ b/plugins/CurrencyRates/src/ModuleInfo.h @@ -2,40 +2,24 @@ #define __d0f22b66_3135_4bbe_bee5_a31ea631ce58_ModuleInfo__ class CCurrencyRatesProviders; -class IXMLEngine; class IHTMLEngine; -// class IHTMLParser; class CModuleInfo { public: typedef boost::shared_ptr TCurrencyRatesProvidersPtr; - typedef boost::shared_ptr TXMLEnginePtr; typedef boost::shared_ptr THTMLEnginePtr; -private: - CModuleInfo(); - ~CModuleInfo(void); - public: - static CModuleInfo& GetInstance(); - - void OnMirandaShutdown(); - MWindowList GetWindowList(const std::string& rsKey, bool bAllocateIfNonExist = true); + static void OnMirandaShutdown(void); + static MWindowList GetWindowList(const std::string& rsKey, bool bAllocateIfNonExist = true); static bool Verify(); static TCurrencyRatesProvidersPtr GetCurrencyRateProvidersPtr(); - static TXMLEnginePtr GetXMLEnginePtr(); - // static void SetXMLEnginePtr(TXMLEnginePtr pEngine); - static THTMLEnginePtr GetHTMLEngine(); static void SetHTMLEngine(THTMLEnginePtr pEngine); - -private: - typedef std::map THandles; - THandles m_ahWindowLists; }; #endif //__d0f22b66_3135_4bbe_bee5_a31ea631ce58_ModuleInfo__ -- cgit v1.2.3