home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d500 / wiconify.lha / wIconify / wIconSetter.lzh / wInfo2Icon / wInfo2Icon.h < prev    next >
C/C++ Source or Header  |  1991-04-19  |  1KB  |  40 lines

  1. /*
  2.  *  WINFO2ICON      A companion utility to wIconSetter and wIconify.
  3.  *                  wInfo2Icon converts a Workbench .info file into
  4.  *                  an icon file usable by wIconSetter.
  5.  *
  6.  *  Copyright 1990 by Davide P. Cervone, all rights reserved.
  7.  *  You may use this code, provided this copyright notice is kept intact.
  8.  */
  9.  
  10. #ifndef INTUITION_PREFERENCES_H
  11. #define INTUITION_PREFERENCES_H             /* don't need em */
  12. #include <intuition/intuition.h>
  13. #endif
  14. #include <workbench/workbench.h>
  15.  
  16.  
  17. #define PROGRAM         "wInfo2Icon"
  18. #define VERSION         "v1.1"
  19. #define COPYRIGHT\
  20.    "Copyright (c) 1990 by Davide P. Cervone, all rights reserved"
  21.  
  22. #define USAGE       "wInfo2Icon <infofile> <iconfile>"
  23.  
  24.  
  25. #define EXIT_ERROR      10
  26. #define EXIT_OK         0
  27. #define ONE             1L
  28.  
  29.  
  30. extern struct IntuitionBase *IntuitionBase;
  31. extern struct GfxBase *GfxBase;
  32. extern struct IconBase *IconBase;
  33. #define INTUITION_REV       0L
  34. #define GRAPHICS_REV        0L
  35. #define ICON_REV            0L
  36.  
  37.  
  38. extern struct DiskObject *GetDiskObject();
  39. extern PLANEPTR AllocRaster();
  40.