<HTML>
<HEAD>
<TITLE>Includes</TITLE></HEAD><BODY><H6><A href=main.html>Contents page</A></H6><P>
<H6><A href=Main.html>Index</A></H6><P>
<H1>Includes</H1>
<HR>
  //////////////////////////////////////////////////////////////////////////////<PRE>
  // AppIcon.hpp
  //
  // Deryk B Robosson
  // May 8, 1996
  //////////////////////////////////////////////////////////////////////////////<P>

  #ifndef __APPICON_HPP__
  #define __APPICON_HPP__<P>

  //////////////////////////////////////////////////////////////////////////////
  // INCLUDES
  #include &quot;aframe:include/aframe.hpp&quot;
  #include &quot;aframe:include/object.hpp&quot;
  #include &quot;aframe:include/window.hpp&quot;
  #include &lt;workbench/startup.h&gt;
  #include &lt;workbench/workbench.h&gt;<P>

  #include &lt;clib/icon_protos.h&gt;
  #include &lt;clib/wb_protos.h&gt;<P>

  //////////////////////////////////////////////////////////////////////////////
  // Definitions<P>

  //////////////////////////////////////////////////////////////////////////////
  // AppIcon Class<P>

  class AFAppIcon : public AFObject
  {
  public:
      AFAppIcon();
      ~AFAppIcon();<P>

      virtual char *ObjectType() { return &quot;AppIcon&quot;; };
      virtual void DestroyObject();<P>

      virtual void Create(LPImage render, LPImage select, int id, char *appname, LPMsgPort msgport);
      virtual void Create(AFAmigaApp *theApp, LPImage render, LPImage select, int id, char *iconname);<P>

  private:
      struct WorkbenchBase    *WorkbenchBase;
      struct IconBase         *IconBase;
      struct AppIcon          *ai;
      struct DiskObject       *dob;
  };<P>

  //////////////////////////////////////////////////////////////////////////////
  #endif // __APPICON_HPP__
<HR>
