summaryrefslogtreecommitdiff
path: root/plugins/Quotes/DBUtils.h
blob: d154e99075d3f51ea14a89a7d8e3cb6b1787a78d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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__