home *** CD-ROM | disk | FTP | other *** search
- inline IEventResult::IEventResult(const IEventResult& erCopy)
- /**************************************************************/
- /* Make event result from long. */
- /**************************************************************/
- {
- pvClRes = erCopy.pvClRes;
- }
-
- inline unsigned long IEventResult::number1() const
- /**************************************************************/
- /* Extract unsigned char 4 from message result */
- /**************************************************************/
- {
- return (unsigned long)pvClRes;
- }
-
- inline unsigned long IEventResult::number2() const
- /**************************************************************/
- /* Extract unsigned char 4 from message result */
- /**************************************************************/
- {
- return (unsigned long)pvClRes >> 16;
- }
-
-
- inline IEventResult& IEventResult::operator=(const IEventResult& er)
- /**************************************************************/
- /* Assignment operator. */
- /**************************************************************/
- {
- pvClRes = er.pvClRes;
- return *this;
- }
-
- inline IEventResult::operator void*() const
- /**************************************************************/
- /* Cast operator. */
- /**************************************************************/
- {
- return pvClRes;
- }
-
- inline IEventResult::operator unsigned long() const
- /**************************************************************/
- /* Extract unsigned long from message result */
- /**************************************************************/
- {
- return (unsigned long)pvClRes;
- }
-