summaryrefslogtreecommitdiff
path: root/plugins/tipper/subst.h
blob: 755a587269052943603f9770035b1d974572e283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _SUBST_INC
#define _SUBST_INC

#include "options.h"
#include "translations.h"

//TCHAR *GetLastMessageText(HANDLE hContact);
//TCHAR *GetStatusMessageText(HANDLE hContact);
bool GetLabelText(HANDLE hContact, const DisplayItem &di, TCHAR *buff, int bufflen);
bool GetValueText(HANDLE hContact, const DisplayItem &di, TCHAR *buff, int bufflen);

void StripBBCodesInPlace(TCHAR *text);

// can be used with hContact == 0 to get uid for a given proto
bool uid_name(char *szProto, TCHAR *buff, int bufflen);
bool uid(HANDLE hContact, char *proto, TCHAR *buff, int bufflen);

#endif