diff options
Diffstat (limited to 'plugins/tipper/subst.h')
-rw-r--r-- | plugins/tipper/subst.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/tipper/subst.h b/plugins/tipper/subst.h new file mode 100644 index 0000000000..755a587269 --- /dev/null +++ b/plugins/tipper/subst.h @@ -0,0 +1,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
|