summaryrefslogtreecommitdiff
path: root/SkinEngine/src/data_source.cpp
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-26 15:41:10 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-26 15:41:10 +0000
commitf04d64869f3b1de54fb343f28f955584780001b8 (patch)
tree5453dc10de3d980de79ffe019fa0b5fcb692a27d /SkinEngine/src/data_source.cpp
parent7aff1e4cb053394db57c2814d5fe1e6493e0cc75 (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/data_source.cpp')
-rw-r--r--SkinEngine/src/data_source.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/SkinEngine/src/data_source.cpp b/SkinEngine/src/data_source.cpp
new file mode 100644
index 0000000..ec8545f
--- /dev/null
+++ b/SkinEngine/src/data_source.cpp
@@ -0,0 +1,31 @@
+#include "headers.h"
+
+CSkinDataSource::CSkinDataSource()
+{
+}
+
+CSkinDataSource::~CSkinDataSource()
+{
+}
+
+LPCTSTR CSkinDataSource::GetText(const TCHAR *key)
+{
+ if (!key || key[0] != '@') return key;
+ if (key[1] == '@') return key + 1;
+ return NULL;
+}
+
+HICON CSkinDataSource::GetIcon(const TCHAR *key)
+{
+ return NULL;
+}
+
+HBITMAP CSkinDataSource::GetBitmap(const TCHAR *key)
+{
+ return g_BitmapCache.LoadBitmap(key);
+}
+
+ISkinBackend *CSkinDataSource::GetObject(const TCHAR *key)
+{
+ return NULL;
+}