summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_clist.inc3
-rw-r--r--include/m_clist.h34
2 files changed, 17 insertions, 20 deletions
diff --git a/include/delphi/m_clist.inc b/include/delphi/m_clist.inc
index 388990f8af..c625bb5f02 100644
--- a/include/delphi/m_clist.inc
+++ b/include/delphi/m_clist.inc
@@ -107,10 +107,9 @@ const
type
PCLISTEVENT = ^TCLISTEVENT;
TCLISTEVENT = record
- cbSize : int; // size in bytes
hContact : TMCONTACT; // handle to the contact to put the icon by
- hIcon : HICON; // icon to flash!
flags : dword;
+ hIcon : HICON; // icon to flash!
hDBEvent : TMEVENT; // caller defined, but should be unique for hContact
// or pszProtocol:PAnsiChar
lParam : LPARAM;
diff --git a/include/m_clist.h b/include/m_clist.h
index 940de8078d..18b8961931 100644
--- a/include/m_clist.h
+++ b/include/m_clist.h
@@ -217,31 +217,29 @@ typedef struct {
// bypasses the double-click.
typedef struct {
- int cbSize; //size in bytes of this structure
- MCONTACT hContact; //handle to the contact to put the icon by
- HICON hIcon; //icon to flash
- DWORD flags; //...of course
+ MCONTACT hContact; // handle to the contact to put the icon by
+ DWORD flags; // ...of course
+ HICON hIcon; // icon to flash
union
{
- MEVENT hDbEvent; //caller defined but should be unique for hContact
+ MEVENT hDbEvent; // caller defined but should be unique for hContact
char * lpszProtocol;
};
- LPARAM lParam; //caller defined
- char *pszService; //name of the service to call on activation
+ LPARAM lParam; // caller defined
+ char *pszService; // name of the service to call on activation
union {
- char *pszTooltip; //short description of the event to display as a
- TCHAR *ptszTooltip; //tooltip on the system tray
+ char *pszTooltip; // short description of the event to display as a
+ TCHAR *ptszTooltip; // tooltip on the system tray
};
} CLISTEVENT;
-#define CLEF_URGENT 1 //flashes the icon even if the user is occupied,
- //and puts the event at the top of the queue
-#define CLEF_ONLYAFEW 2 //the icon will not flash for ever, only a few
- //times. This is for eg online alert
-#define CLEF_UNICODE 4 //set pszTooltip as unicode
-
-#define CLEF_PROTOCOLGLOBAL 8 //set event globally for protocol, hContact has to be NULL,
- //lpszProtocol the protocol ID name to be set
-
+#define CLEF_URGENT 1 // flashes the icon even if the user is occupied,
+ // and puts the event at the top of the queue
+#define CLEF_ONLYAFEW 2 // the icon will not flash for ever, only a few
+ // times. This is for eg online alert
+#define CLEF_UNICODE 4 // set pszTooltip as unicode
+
+#define CLEF_PROTOCOLGLOBAL 8 // set event globally for protocol, hContact has to be NULL,
+ // lpszProtocol the protocol ID name to be set
#if defined(_UNICODE)
#define CLEF_TCHAR CLEF_UNICODE //will use TCHAR* instead of char*
#else