home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / dev / mui / OOPExample.lha / OOPExample / OOPExample.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-07  |  1.4 KB  |  71 lines

  1. #ifndef SRC_OOPEXAMPLE_OOPEXAMPLE_H
  2. #define SRC_OOPEXAMPLE_OOPEXAMPLE_H
  3.  
  4.  
  5.  
  6. /*****  IMPORTANT NOTE  ******  IMPORTANT NOTE  ******  IMPORTANT NOTE  ******
  7.  
  8.  
  9. This source code uses the tag base TAGBASE_BLIZZY, which is defined as
  10. (TAG_USER | (1465UL << 16)).
  11.  
  12. PLEASE *DO* *NOT* *USE* THIS TAG BASE IN YOUR OWN APPLICATIONS!!!!!!!!!!!!
  13. It is a personalized tag base!!!!!!!!!!
  14.  
  15. If you need such a tag base for creating attributes and methods identifiers,
  16. you *MUST* write to mccreg@sasg.com and ask for a new tag base for you!!!!!
  17.  
  18. This is really important!!!
  19.  
  20.  
  21. ******  IMPORTANT NOTE  ******  IMPORTANT NOTE  ******  IMPORTANT NOTE  *****/
  22.  
  23.  
  24.  
  25. /* copied from <blizzy/constants.h> */
  26. #include <utility/tagitem.h>
  27.  
  28. #ifndef TAGBASE_BLIZZY
  29. #define TAGBASE_BLIZZY (TAG_USER | (1465UL << 16))
  30. #endif
  31.  
  32.  
  33. /* copied from <blizzy/macros.h> */
  34. #include <exec/types.h>
  35.  
  36. #ifndef REG
  37. #ifdef _DCC
  38. #define REG(x) __ ## x
  39. #else
  40. #define REG(x) register __ ## x
  41. #endif
  42. #endif
  43.  
  44. #ifndef ASM
  45. #if defined __MAXON__ || defined __STORM__ || defined _DCC
  46. #define ASM
  47. #else
  48. #define ASM __asm
  49. #endif
  50. #endif
  51.  
  52. #ifndef SAVEDS
  53. #ifdef __MAXON__
  54. #define SAVEDS
  55. #endif
  56. #if defined __STORM__ || defined __SASC
  57. #define SAVEDS __saveds
  58. #endif
  59. #if defined _GCC || defined _DCC
  60. #define SAVEDS __geta4
  61. #endif
  62. #endif
  63.  
  64. #ifndef MAKE_ID
  65. #define MAKE_ID(a,b,c,d) ((((ULONG) (a)) << 24) | (((ULONG) (b)) << 16) | (((ULONG) (c)) << 8) | ((ULONG) (d)))
  66. #endif
  67.  
  68.  
  69.  
  70. #endif   /* SRC_OOPEXAMPLE_OOPEXAMPLE_H */
  71.