home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / sysba021.zip / SRC.ZIP / sysbar2 / Piper / cpuload / base.h next >
C/C++ Source or Header  |  1996-09-05  |  723b  |  34 lines

  1. /*
  2. ** Module   :BASE.H
  3. ** Abstract :
  4. **
  5. ** $Author$
  6. ** $Log$
  7. */
  8.  
  9. #ifndef  __BASE_H
  10. #define  __BASE_H
  11.  
  12. typedef unsigned char Byte;
  13. typedef unsigned short Word;
  14. typedef unsigned long DWord;
  15. typedef void *Ptr;
  16. typedef Byte *PByte;
  17. typedef Word *PWord;
  18. typedef DWord *PDWord;
  19. typedef char *CPtr;
  20. typedef Word word;
  21. typedef DWord dword;
  22.  
  23. #define CLASSPTR(Class) typedef Class* P##Class;
  24. #define CLASSREF(Class) typedef Class& R##Class;
  25. #define CLASSDEF(Class) class Class;\
  26.                         CLASSPTR(Class)\
  27.                         CLASSREF(Class)
  28. #define STRUCDEF(Struc) struct Struc;\
  29.                         CLASSPTR(Struc)\
  30.                         CLASSREF(Struc)
  31.  
  32. #endif //__BASE_H
  33.  
  34.