Kirill K. Smirnov wrote:
@@ -71,6 +71,12 @@ struct icon static struct tray tray; static BOOL hide_systray;
+static BOOL add_icon(NOTIFYICONDATAW *nid); +static BOOL modify_icon(NOTIFYICONDATAW *nid); +static BOOL delete_icon(const NOTIFYICONDATAW *nid); +static BOOL delete_icon_directly(struct icon *icon); +static BOOL display_icon(struct icon *icon, BOOL hide);
/* adaptor code */
#define ICON_SIZE GetSystemMetrics(SM_CXSMICON)
I don't see any reason why you need to add forward declarations for all of these functions.