summaryrefslogtreecommitdiff
path: root/tipper/m_tipper.h
diff options
context:
space:
mode:
Diffstat (limited to 'tipper/m_tipper.h')
-rw-r--r--tipper/m_tipper.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/tipper/m_tipper.h b/tipper/m_tipper.h
index a2b5abf..790ec26 100644
--- a/tipper/m_tipper.h
+++ b/tipper/m_tipper.h
@@ -17,3 +17,25 @@ typedef struct {
// wParam not used
// lParam = (DBVTranslation *)translation
#define MS_TIPPER_ADDTRANSLATION "Tipper/AddTranslation"
+
+
+/////////////////////
+///// This service is NOT implemented by tipper - it is to be implemented by plugins that extend the basic away message services
+///// so that tipper has a common interface to use
+////////////////////
+
+// wParam - (WORD)wStatus
+// lParam - (char *)szProto
+// returns (char *)szStatusMessage
+#define MS_AWAY_GETPROTOSTATUSMESSAGE "Away/GetProtoStatusMsg"
+
+// wParam - (WORD)wStatus
+// lParam - (wchar_t *)swzProto
+// returns (wchar_t *)swzStatusMessage
+#define MS_AWAY_GETPROTOSTATUSMESSAGEW "Away/GetProtoStatusMsgW"
+
+#ifdef _UNICODE
+#define MS_AWAY_GETPROTOSTATUSMESSAGET MS_AWAY_GETPROTOSTATUSMESSAGEW
+#else
+#define MS_AWAY_GETPROTOSTATUSMESSAGET MS_AWAY_GETPROTOSTATUSMESSAGE
+#endif \ No newline at end of file