summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/src/utilities.h
blob: 5b0d724408c15c9ed0a6df18621773af1243ff01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

std::wstring DBGetContactSettingStringPAN(MCONTACT hContact, char const * szModule, char const * szSetting, std::wstring errorValue);
std::string DBGetContactSettingStringPAN_A(MCONTACT hContact, char const * szModule, char const * szSetting, std::string errorValue);
std::wstring &GetDlgItemString(HWND hwnd, int id);
std::string &GetProtoList();
bool ProtoInList(const char *szProto);
std::wstring variables_parse(std::wstring const &tstrFormat, MCONTACT hContact);
const int Stricmp(const wchar_t *str, const wchar_t *substr);
//const int Stristr(const wchar_t *str, const wchar_t *substr);
wchar_t* ReqGetText(DBEVENTINFO* dbei);
BOOL IsUrlContains(wchar_t * Str);
void DeleteCListGroupsByName(wchar_t* szGroupName);
void LogSpamToFile(MCONTACT hContact, std::wstring message);
std::string toUTF8(std::wstring str);
std::string toUTF8(std::string str);
std::wstring toUTF16(std::string str);
void HistoryLogFunc(MCONTACT hContact, std::string message);
std::string get_random_num(int length);