home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / c / intuitionpp / ipp / imessage.cc < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-05  |  1003 b   |  57 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. ///////////////////////////////////////////////////////////////////////////////
  3. ///////////////////                                        ////////////////////
  4. ///////////////////           file : imessage.cc           ////////////////////
  5. ///////////////////                                        ////////////////////
  6. ///////////////////////////////////////////////////////////////////////////////
  7. ///////////////////////////////////////////////////////////////////////////////
  8.  
  9.  
  10. #include "imessage.h"
  11.  
  12. void IMessage :: clear()
  13. {
  14.     iclass=NOMESSAGE;
  15.     icode=0;
  16.     iqualifier=0;
  17.     iaddress=NULL;
  18.     imousex=0;
  19.     imousey=0;
  20.     iseconds=0;
  21.     imicros=0;
  22. }
  23.  
  24.  
  25. IMessage :: IMessage()
  26. {
  27.     clear();
  28. }
  29.  
  30.  
  31. IMessage :: ~IMessage() {}
  32.  
  33.  
  34. void IEvent :: nothing() {}
  35.  
  36. void IEvent :: clear()
  37. {
  38.     eclass=NOMESSAGE;
  39.     ecode=0;
  40.     equalifier=0;
  41.     eitem=NULL;
  42.     ecallback=NULL;
  43.     nextevent=NULL;
  44. }
  45.  
  46.  
  47. IEvent :: IEvent()
  48. {
  49.     clear();
  50. }
  51.  
  52.  
  53. IEvent :: ~IEvent() {}
  54.  
  55.  
  56.  
  57.