From cb4a46e7fbe62d788e66ed6121c717a2d22a4d7c Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 21 Apr 2011 14:14:52 +0000 Subject: svn.miranda.im is moving to a new home! git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@7 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- skinengine/src/data_source.cpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 skinengine/src/data_source.cpp (limited to 'skinengine/src/data_source.cpp') 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; +} -- cgit v1.2.3