diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-11-18 20:37:19 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-11-18 20:37:19 +0000 |
commit | 0e80ad0d4c150fa947849cdad07a7d0d34d7340e (patch) | |
tree | 7034b8267ed219c615c4b135778e80a1ede16923 /plugins/!NotAdopted/sametime/common.cpp | |
parent | 8598a4a7a0bc922c4c1c768b55f596cc6d8a0d44 (diff) |
Add sametime protocol sources (not adopted)
git-svn-id: http://svn.miranda-ng.org/main/trunk@6935 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/sametime/common.cpp')
-rw-r--r-- | plugins/!NotAdopted/sametime/common.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/sametime/common.cpp b/plugins/!NotAdopted/sametime/common.cpp new file mode 100644 index 0000000000..c2a503f8d6 --- /dev/null +++ b/plugins/!NotAdopted/sametime/common.cpp @@ -0,0 +1,12 @@ +#include "common.h"
+
+int DBGetContactSettingUtf(HANDLE hContact, char *module, char *setting, DBVARIANT *dbv) {
+ DBCONTACTGETSETTING cgs;
+ cgs.szModule = module;
+ cgs.szSetting = setting;
+ cgs.pValue = dbv;
+
+ dbv->type = DBVT_UTF8;
+
+ return CallService(MS_DB_CONTACT_GETSETTING_STR, (WPARAM)hContact, (LPARAM)&cgs);
+}
\ No newline at end of file |