home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / cppbeta / ibmcli / ievent.in_ / IEVENT.INL
Encoding:
Text File  |  1992-10-22  |  2.0 KB  |  45 lines

  1. inline IEvent::IEvent(const IEvent& evtCopy)
  2. /**************************************************************/
  3. /* Copy constructor.                                          */
  4. /**************************************************************/
  5.  : hCl(evtCopy.hCl), ulClEvtId(evtCopy.ulClEvtId),
  6.    epCl1(evtCopy.epCl1), epCl2(evtCopy.epCl2), erCl(evtCopy.erCl)
  7. {;}
  8.  
  9. inline const IHandle& IEvent::handle() const
  10. /**************************************************************/
  11. /* Return the handle of the window or queue receiving the     */
  12. /* event.                                                     */
  13. /**************************************************************/
  14. { return hCl; }
  15.  
  16. inline unsigned long IEvent::eventId() const
  17. /**************************************************************/
  18. /* Return the event ID.                                       */
  19. /**************************************************************/
  20. { return ulClEvtId; }
  21.  
  22. inline const IEventParam& IEvent::param1() const
  23. /**************************************************************/
  24. /* Return the first event parameter.                          */
  25. /**************************************************************/
  26. { return epCl1; }
  27.  
  28. inline const IEventParam& IEvent::param2() const
  29. /**************************************************************/
  30. /* Return the second event parameter.                         */
  31. /**************************************************************/
  32. { return epCl2; }
  33.  
  34. inline void IEvent::setResult(IEventResult er)
  35. /**************************************************************/
  36. /* Set the event result.                                      */
  37. /**************************************************************/
  38. { erCl = er; }
  39.  
  40. inline IEventResult IEvent::result() const
  41. /**************************************************************/
  42. /* Return the event result.                                   */
  43. /**************************************************************/
  44. { return erCl; }
  45.