Help for !Icon (Part 2 of the Tutorial)
---------------------------------------

This program starts a task which puts an icon on the icon bar.  It can be shut down by clicking 'Select' on the Icon.

Breakdown:
----------
The task is initialised and polled like !Task.  In addition Resource_initialise() is used to tell the task where to find its resources.

The baricon is created using IconBarIcon() and Event_Claim() then attaches an event handler to it.

!Icon uses a function click() which processes mouse clicks on the baricon.  click() is called by Event_Claim and is passed two parameters, the event pollblock and a user-definable reference.
Since a mouse click is used to shut the task down, the reference in this case is the variable 'quit', which controls the polling loop.  It is passed as a pointer to void, as defined in the prototype of Event_Claim().

click() checks which mouse button was pressed using the event pollblock data structure.  If select was pressed it closes the task down using Event_CloseDown.
