diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-20 15:52:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-20 15:52:48 +0000 |
commit | f725c70b482df377119e2c09b36c9317f86ef494 (patch) | |
tree | 584e839d2b786835acb9dd460aab0758dd736cf9 /include/delphi | |
parent | 66e9197603643cc587909fb1bce7402383dbad69 (diff) |
ME_MSG_WRITEEVENT - new hookable event to catch the db event creation moment in SRMM
git-svn-id: http://svn.miranda-ng.org/main/trunk@4484 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi')
-rw-r--r-- | include/delphi/m_message.inc | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/include/delphi/m_message.inc b/include/delphi/m_message.inc index a89204f1b0..662171f9ae 100644 --- a/include/delphi/m_message.inc +++ b/include/delphi/m_message.inc @@ -1,20 +1,20 @@ -{
- Miranda IM: the free IM client for Microsoft Windows
-
- Copyright 2000-2003 Miranda ICQ/IM project,
- all portions of this codebase are copyrighted to the people
+{
+ Miranda IM: the free IM client for Microsoft Windows
+
+ Copyright 2000-2003 Miranda ICQ/IM project,
+ all portions of this codebase are copyrighted to the people
listed in contributors.txt.
-
+
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -120,6 +120,12 @@ const }
MS_MSG_GETWINDOWDATA:PAnsiChar = 'MessageAPI/GetWindowData';
+{ wparam=0(unused)
+ lparam=(pMessageWindowEvent) event written
+ fired when SRMM writes an entered message into the database
+}
+ ME_MSG_WRITEEVENT:PAnsiChar = 'MessageAPI/OnWriteEvent';
+
{ wParam = 0
lParam = (MessageWindowPopupData *)&MessageWindowPopupData;
Fired to allow plugins to add itens to the msg window popup menu
@@ -146,6 +152,15 @@ type selection:int; // The menu control id or 0 if no one was selected
end;
+type
+ pMessageWindowEvent = ^MessageWindowEvent;
+ MessageWindowEvent = record
+ cbSize :int;
+ seq :int; // number returned by PSS_MESSAGE
+ hContact :THANDLE;
+ hDbEvent :THANDLE; // database event written on the basis of message sent
+ end;
+
// status icons
const
MBF_DISABLED = 1;
|