summaryrefslogtreecommitdiff
path: root/plugins/CurrencyRates/src/ModuleInfo.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-13 18:26:49 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-13 18:26:49 +0300
commit4b7131f74cd61043668d3a5805fe452d601181f1 (patch)
treec90fd20de073ab0f69c348159e005cdfe06a7b21 /plugins/CurrencyRates/src/ModuleInfo.h
parentfc9267f9677b1f40ea40d56e54aae9d655ea1a03 (diff)
CurrencyRates:
- own archaic xml processor removed; - Import/Export now uses TinyXml; - massive code cleaning - version bump.
Diffstat (limited to 'plugins/CurrencyRates/src/ModuleInfo.h')
-rw-r--r--plugins/CurrencyRates/src/ModuleInfo.h20
1 files changed, 2 insertions, 18 deletions
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<CCurrencyRatesProviders> TCurrencyRatesProvidersPtr;
- typedef boost::shared_ptr<IXMLEngine> TXMLEnginePtr;
typedef boost::shared_ptr<IHTMLEngine> 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<std::string, MWindowList> THandles;
- THandles m_ahWindowLists;
};
#endif //__d0f22b66_3135_4bbe_bee5_a31ea631ce58_ModuleInfo__