diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-07-30 01:30:27 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-07-30 01:30:27 +0300 |
commit | b27e00fc51b2764b1e1a15adc8be40b5c19eefa6 (patch) | |
tree | 3da1e5353cfbb56c246724eb899196509e13a13e /src/utilities.h | |
parent | 88e50ea16d146e145cae94e49be86e3b9eb246f4 (diff) |
ported to miranda_ng
Diffstat (limited to 'src/utilities.h')
-rwxr-xr-x | src/utilities.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/utilities.h b/src/utilities.h new file mode 100755 index 0000000..62a3ef5 --- /dev/null +++ b/src/utilities.h @@ -0,0 +1,19 @@ +tstring DBGetContactSettingStringPAN(HANDLE hContact, char const * szModule, char const * szSetting, tstring errorValue); +std::string DBGetContactSettingStringPAN_A(HANDLE hContact, char const * szModule, char const * szSetting, std::string errorValue); +tstring &GetDlgItemString(HWND hwnd, int id); +std::string &GetProtoList(); +bool ProtoInList(std::string proto); +void RemoveExcludedUsers(); +tstring variables_parse(tstring const &tstrFormat, HANDLE hContact); +const int Stricmp(const TCHAR *str, const TCHAR *substr); +//const int Stristr(const TCHAR *str, const TCHAR *substr); +TCHAR* ReqGetText(DBEVENTINFO* dbei); +BOOL IsUrlContains(TCHAR * Str); +void DeleteCListGroupsByName(TCHAR* szGroupName); +tstring GetContactUid(HANDLE hContact, std::string Protocol); +void LogSpamToFile(HANDLE hContact, tstring message); +std::string toUTF8(std::wstring str); +std::string toUTF8(std::string str); +std::wstring toUTF16(std::string str); +void HistoryLogFunc(HANDLE hContact, std::string message); +std::string get_random_num(int length);
\ No newline at end of file |