00001 #ifndef OS_EVENT_CLASS 00002 #define OS_EVENT_CLASS 00003 00004 /*****************************************************************************\ 00005 * * 00006 * Name : OS_event * 00007 * Author : Chris Koeritz * 00008 * * 00009 ******************************************************************************* 00010 * Copyright (c) 1995-$now By Author. This program is free software; you can * 00011 * redistribute it and/or modify it under the terms of the GNU General Public * 00012 * License as published by the Free Software Foundation; either version 2 of * 00013 * the License or (at your option) any later version. This is online at: * 00014 * http://www.fsf.org/copyleft/gpl.html * 00015 * Please send any updates to: fred@gruntose.com * 00016 \*****************************************************************************/ 00017 00018 #include "letter.h" 00019 00020 // forward. 00021 class post_office; 00022 00024 00025 class POST_OFFICE_CLASS_STYLE OS_event : public letter 00026 { 00027 public: 00028 u_int _message; 00029 u_int _parm1; 00030 u_int _parm2; 00031 00032 OS_event(int event_type, u_int message, u_int parm1, u_int parm2) 00033 : letter(event_type), _message(message), _parm1(parm1), _parm2(parm2) {} 00034 00035 virtual istring text_form() const; 00036 }; 00037 00038 #endif 00039
1.5.1