summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/DBUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/DBUtils.h')
-rw-r--r--plugins/Quotes/src/DBUtils.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/Quotes/src/DBUtils.h b/plugins/Quotes/src/DBUtils.h
new file mode 100644
index 0000000000..27e3de5038
--- /dev/null
+++ b/plugins/Quotes/src/DBUtils.h
@@ -0,0 +1,13 @@
+#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);
+
+
+#define Quotes_DBGetStringT Quotes_DBGetStringW
+
+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__