summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/delphi/m_simpleaway.inc
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-10-09 05:20:49 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-10-09 05:20:49 +0000
commitfaf1e494a31b70203aa67d34602f5256eabe0336 (patch)
treeb222ebe08c9173c1ba2811bcad4f47369d0e4f38 /plugins/ExternalAPI/delphi/m_simpleaway.inc
parent302209a17a9f5342a377904cda699fd3833bbe9a (diff)
Test commit:
delphi headers structure as c headers structure git-svn-id: http://svn.miranda-ng.org/main/trunk@1829 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/delphi/m_simpleaway.inc')
-rw-r--r--plugins/ExternalAPI/delphi/m_simpleaway.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/ExternalAPI/delphi/m_simpleaway.inc b/plugins/ExternalAPI/delphi/m_simpleaway.inc
new file mode 100644
index 0000000000..16bf2328fb
--- /dev/null
+++ b/plugins/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