summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-28 15:12:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-28 15:12:27 +0300
commit3ffc894a7a132a013e74fe063b72d79e17c998dc (patch)
tree83f08037d2f840f72d79d393fdd20916e6cf6858 /include
parent1e49d6b2cb3812d8e80051cbb3d44891e6532825 (diff)
we don't need the uFlags field either
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_message.inc11
-rw-r--r--include/m_message.h1
2 files changed, 1 insertions, 11 deletions
diff --git a/include/delphi/m_message.inc b/include/delphi/m_message.inc
index 5ce79317af..249f5e1462 100644
--- a/include/delphi/m_message.inc
+++ b/include/delphi/m_message.inc
@@ -47,11 +47,6 @@ const
MSG_WINDOW_EVT_OPEN = 2; // window has been opened
MSG_WINDOW_EVT_CLOSING = 3; // window is about to be closed
MSG_WINDOW_EVT_CLOSE = 4; // window has been closed
- MSG_WINDOW_EVT_CUSTOM = 5; // custom event for message plugins to use
- // (custom uFlags may be used)
- MSG_WINDOW_UFLAG_MSG_FROM = $00000001;
- MSG_WINDOW_UFLAG_MSG_TO = $00000002;
- MSG_WINDOW_UFLAG_MSG_BOTH = $00000004;
const
{ wparam=0
@@ -68,8 +63,7 @@ const
MS_MSG_GETWINDOWCLASS:PAnsiChar = 'MessageAPI/WindowClass';
const
- MSG_WINDOW_STATE_EXISTS = $00000001; // Window exists should always be true
- // if hwndWindow exists
+ MSG_WINDOW_STATE_EXISTS = $00000001; // Window exists should always be true if hwndWindow exists
MSG_WINDOW_STATE_VISIBLE = $00000002;
MSG_WINDOW_STATE_FOCUS = $00000004;
MSG_WINDOW_STATE_ICONIC = $00000008;
@@ -77,9 +71,6 @@ const
type
PMessageWindowOutputData = ^TMessageWindowOutputData;
TMessageWindowOutputData = record
- hContact : TMCONTACT;
- uFlags : int; // should be same as input data unless 0, then it
- // will be the actual type
hwndWindow: HWND; // top level window for the contact or NULL if no window exists
uState : int; // see window states
local : pointer; // used to store pointer to custom data
diff --git a/include/m_message.h b/include/m_message.h
index 472e6a8f61..87fb73d92c 100644
--- a/include/m_message.h
+++ b/include/m_message.h
@@ -83,7 +83,6 @@ struct StatusTextData
struct MessageWindowData
{
- int uFlags; // should be same as input data unless 0, then it will be the actual type
HWND hwndWindow; //top level window for the contact or NULL if no window exists
int uState; // see window states
void *local; // used to store pointer to custom data