diff options
Diffstat (limited to 'plugins/ExternalAPI/delphi/m_nxsn.inc')
-rw-r--r-- | plugins/ExternalAPI/delphi/m_nxsn.inc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/ExternalAPI/delphi/m_nxsn.inc b/plugins/ExternalAPI/delphi/m_nxsn.inc new file mode 100644 index 0000000000..2d1093db74 --- /dev/null +++ b/plugins/ExternalAPI/delphi/m_nxsn.inc @@ -0,0 +1,20 @@ +{$IFNDEF M_NXSN}
+{$DEFINE M_NXSN}
+
+const
+// tabSRMM stuff (logging to message window)
+ EVENTTYPE_STATUSCHANGE = 25368;
+
+{
+MCONTACT hContact = wParam;
+WORD oldStatus = LOWORD(lParam);
+WORD newStatus = HIWORD(lParam);
+oldStatus is the status the contact was before the change.
+newStatus is the status the contact is now.
+Cast them to (int) if you need them that way.
+}
+ ME_STATUSCHANGE_CONTACTSTATUSCHANGED:PAnsiChar = 'Miranda/StatusChange/ContactStatusChanged';
+
+ MS_STATUSCHANGE_MENUCOMMAND:PAnsiChar = 'NewStatusNotify/EnableDisableMenuCommand';
+
+{$ENDIF}
|