summaryrefslogtreecommitdiff
path: root/plugins/Quotes/DBUtils.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-19 14:24:27 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-19 14:24:27 +0000
commit162e60d66c78bd51aa44c691fe4f4e2f1deb990f (patch)
tree789cf10a148bf3912579e18393604e268ff9934c /plugins/Quotes/DBUtils.h
parent6a22ccd156510e65fb91f45a81a9e87d5ad07568 (diff)
added Quotes
git-svn-id: http://svn.miranda-ng.org/main/trunk@76 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/DBUtils.h')
-rw-r--r--plugins/Quotes/DBUtils.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/Quotes/DBUtils.h b/plugins/Quotes/DBUtils.h
new file mode 100644
index 0000000000..d154e99075
--- /dev/null
+++ b/plugins/Quotes/DBUtils.h
@@ -0,0 +1,16 @@
+#ifndef __54294385_3fdd_4f0c_98c3_c583a96e7fb4_DBUtils_h__
+#define __54294385_3fdd_4f0c_98c3_c583a96e7fb4_DBUtils_h__
+
+std::string Quotes_DBGetStringA(HANDLE hContact,const char* szModule,const char* szSetting,const char* pszDefValue = NULL);
+std::wstring Quotes_DBGetStringW(HANDLE hContact,const char* szModule,const char* szSetting,const wchar_t* pszDefValue = NULL);
+
+#ifdef _UNICODE
+#define Quotes_DBGetStringT Quotes_DBGetStringW
+#else
+#define Quotes_DBGetStringT Quotes_DBGetStringA
+#endif
+
+bool Quotes_DBWriteDouble(HANDLE hContact,const char* szModule,const char* szSetting,double dValue);
+bool Quotes_DBReadDouble(HANDLE hContact,const char* szModule,const char* szSetting,double& rdValue);
+
+#endif //__54294385_3fdd_4f0c_98c3_c583a96e7fb4_DBUtils_h__