systray[2/4]: correctly handle icon addition/deletion
Robert Shearman
rob at codeweavers.com
Wed Feb 6 17:58:42 CST 2008
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.
--
Rob Shearman
More information about the wine-devel
mailing list