diff options
author | George Hazan <george.hazan@gmail.com> | 2016-01-28 15:17:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-01-28 15:17:43 +0000 |
commit | 1042a84dd1f01c249a946ec708d3dae2881ecfab (patch) | |
tree | 57abc3b99b9bf4a6f4b55500be7aa738eb81cf3a /include/m_clist.h | |
parent | 6c38539e9b3d5a72280950310253759085e96f01 (diff) |
atavism removed: CLISTEVENT::cbSize
git-svn-id: http://svn.miranda-ng.org/main/trunk@16180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_clist.h')
-rw-r--r-- | include/m_clist.h | 34 |
1 files changed, 16 insertions, 18 deletions
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
|