summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/utils.h
blob: 1af732333855350d15a36507c34dfd146ba8efc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
struct ItemData;
struct NewstoryListData;

uint32_t toggleBit(uint32_t dw, uint32_t bit);
bool CheckFilter(wchar_t *buf, wchar_t *filter);

HMENU NSMenu_Build(NewstoryListData *data, ItemData *item);
bool NSMenu_Process(int iCommand, NewstoryListData *data);

int GetFontHeight(const LOGFONTA &lf);

void ReplaceSmileys(MCONTACT hContact, CMStringW &str);
void UrlAutodetect(CMStringW &str);
void RemoveBbcodes(CMStringW &pwszText);