summaryrefslogtreecommitdiff
path: root/include/m_protosvc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_protosvc.h')
-rw-r--r--include/m_protosvc.h25
1 files changed, 16 insertions, 9 deletions
diff --git a/include/m_protosvc.h b/include/m_protosvc.h
index 5291a94759..a1f1a6a193 100644
--- a/include/m_protosvc.h
+++ b/include/m_protosvc.h
@@ -202,6 +202,15 @@ static __inline unsigned long Proto_Status2Flag(int status)
#define PS_LOADICON "/LoadIcon"
///////////////////////////////////////////////////////////////////////////////
+// Get the status mode that a protocol is currently in
+// wParam = lParam = 0
+// Returns the status mode
+// Non-network-level protocol modules do not have the concept of a status and
+// should leave this service unimplemented
+
+#define PS_GETSTATUS "/GetStatus"
+
+///////////////////////////////////////////////////////////////////////////////
// Change the protocol's status mode
// wParam = newMode, from ui/contactlist/statusmodes.h
// lParam = 0
@@ -259,15 +268,6 @@ static __inline unsigned long Proto_Status2Flag(int status)
#define PS_SETAWAYMSG "/SetAwayMsg"
///////////////////////////////////////////////////////////////////////////////
-// Get the status mode that a protocol is currently in
-// wParam = lParam = 0
-// Returns the status mode
-// Non-network-level protocol modules do not have the concept of a status and
-// should leave this service unimplemented
-
-#define PS_GETSTATUS "/GetStatus"
-
-///////////////////////////////////////////////////////////////////////////////
// Updates a contact's details from the server
// wParam = flags
// lParam = 0
@@ -581,6 +581,13 @@ struct PROTOFILERESUME
#define PS_MENU_LOADHISTORY "/LoadServerHistory"
///////////////////////////////////////////////////////////////////////////////
+// Empties the server history for a contact
+// wParam = hContact
+// lParam = 0
+
+#define PS_EMPTY_SRV_HISTORY "/EmptyServerHistory"
+
+///////////////////////////////////////////////////////////////////////////////
// SENDING SERVICES
// these should be called with ProtoChainSend()