summaryrefslogtreecommitdiff
path: root/plugins/!Deprecated/ExternalAPI/delphi/m_simpleaway.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/!Deprecated/ExternalAPI/delphi/m_simpleaway.inc')
-rw-r--r--plugins/!Deprecated/ExternalAPI/delphi/m_simpleaway.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/!Deprecated/ExternalAPI/delphi/m_simpleaway.inc b/plugins/!Deprecated/ExternalAPI/delphi/m_simpleaway.inc
new file mode 100644
index 0000000000..16bf2328fb
--- /dev/null
+++ b/plugins/!Deprecated/ExternalAPI/delphi/m_simpleaway.inc
@@ -0,0 +1,26 @@
+{$IFNDEF M_SIMPLEAWAY}
+{$DEFINE M_SIMPLEAWAY}
+
+const
+// lParam = (AnsiChar *)status message
+// wParam = new status, from statusmodes.h
+ MS_SA_SETSTATUSMODE = 'SimpleAway/SetStatusMode';
+ MS_AWAYSYS_SETSTATUSMODE = MS_SA_SETSTATUSMODE //for compatibility with some plugins
+
+//Internal use only
+ MS_SA_TTCHANGESTATUSMSG = 'SimpleAway/TTChangeStatusMessage';
+
+//wParam=new status, from statusmodes.h
+//lParam=protocol name, NULL if for all protocols (added in v0.3.1alpha)
+ MS_SA_CHANGESTATUSMSG = 'SimpleAway/ChangeStatusMessage'
+
+// wParam = 0
+// lParam = 0
+// allways returns 1
+ MS_SA_ISSARUNNING = 'SimpleAway/IsSARunning';
+
+// wParam = 0
+// lParam = 0
+ MS_SA_COPYAWAYMSG = 'SimpleAway/CopyAwayMsg';
+
+{$ENDIF} \ No newline at end of file