diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-26 15:41:10 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-26 15:41:10 +0000 |
commit | f04d64869f3b1de54fb343f28f955584780001b8 (patch) | |
tree | 5453dc10de3d980de79ffe019fa0b5fcb692a27d /skinengine/src/xml_cache.h | |
parent | 7aff1e4cb053394db57c2814d5fe1e6493e0cc75 (diff) |
Project folders rename part 3
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@215 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'skinengine/src/xml_cache.h')
-rw-r--r-- | skinengine/src/xml_cache.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/skinengine/src/xml_cache.h b/skinengine/src/xml_cache.h deleted file mode 100644 index 50e30e0..0000000 --- a/skinengine/src/xml_cache.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef xml_cache_h__
-#define xml_cache_h__
-
-class CXmlCache
-{
-private:
- struct CachedFile
- {
- TCHAR *path;
- HXML hXmlRoot;
-
- CachedFile(const TCHAR *path, bool load=true);
- ~CachedFile();
-
- static int cmp(const CachedFile *p1, const CachedFile *p2)
- {
- return lstrcmp(p1->path, p2->path);
- }
- };
-
- struct CachedClass
- {
- const TCHAR *name;
- CachedFile *file;
- HXML hXml;
-
- static int cmp(const CachedClass *p1, const CachedClass *p2)
- {
- return lstrcmp(p1->name, p2->name);
- }
- };
-
- OBJLIST<CachedClass> m_classes;
- OBJLIST<CachedFile> m_files;
-
- void RegisterClass(const TCHAR *name, CachedFile *file, HXML hXmlClass);
-
-public:
- CXmlCache();
- ~CXmlCache();
-
- void LoadXmlFile(const TCHAR *path);
- void UnloadXmlFile(const TCHAR *path);
-
- ISkinElement *CreateObject(const TCHAR *name);
-};
-
-extern CXmlCache g_XmlCache;
-
-#endif // xml_cache_h__
|