home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / gnu / aplusplus-1.01-src.lha / src / amiga / aplusplus-1.01 / include / aplusplus / environment / Classes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-04  |  1.3 KB  |  42 lines

  1. #ifndef APP_Classes_H
  2. #define APP_Classes_H
  3. /******************************************************************************
  4.  **
  5.  **    C++ Class Library for the Amiga© system software.
  6.  **
  7.  **    Copyright (C) 1994 by Armin Vogt  **  EMail: armin@uni-paderborn.de
  8.  **    All Rights Reserved.
  9.  **
  10.  **    $VER: apphome:APlusPlus/environment/Classes.h 1.04 (04.05.94) $
  11.  **    
  12.  ******************************************************************************/
  13.  
  14.  
  15. /*****************************************************************************************
  16.  
  17.  
  18.  *****************************************************************************************/
  19.  
  20. #define CLASSBASE 0x00000000
  21.  
  22. // APlusPlus classes below
  23. #define SIGRESPONDER_CLASS (CLASSBASE+0x00000300)
  24. #define MSGRESPONDER_CLASS (CLASSBASE+0x00000400)
  25. #define TIMER_CLASS        (CLASSBASE+0x00000600)
  26.  
  27. /** IntuiObjects have the second bit from the left set. This seperates them
  28.  ** from other APPObjects. An IntuiObject uses the remaining bits in a special
  29.  ** way (see IntuiObject.h) but validation checking with Ok() still works.
  30.  **/
  31. #define INTUIOBJECT_CLASS  (0x40000000)
  32.  
  33. #define USERCLASS (CLASSBASE+0x00008000)
  34. // user defined classes below
  35.  
  36.  
  37.  
  38. #define TAGLIST struct TagItem *taglist
  39. #define VARTAGS ULONG tag1Type,...
  40. #define TAG1ADR (struct TagItem*)&tag1Type
  41. #endif
  42.