blob: 6f33844c83a2061aa2fa167e780626a6e0155bb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#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<CQuotesProviders> TQuotesProvidersPtr;
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 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<std::string, MWindowList> THandles;
THandles m_ahWindowLists;
};
#endif //__d0f22b66_3135_4bbe_bee5_a31ea631ce58_ModuleInfo__
|