00001 00002 #ifndef RCS_WM_HH 00003 #define RCS_WM_HH 00004 00005 00006 #include "rcs_defs.hh" /* RCS_EXPORT */ 00007 00008 #include "cms.hh" /* class CMS */ 00009 #include "nml.hh" /* class NML, typedef NML_FORMAT_PTR,NMLTYPE */ 00010 #include "nmlmsg.hh" /* class NMLmsg */ 00011 00012 class RCS_EXPORT RCS_WM_MSG:public NMLmsg 00013 { 00014 public: 00015 RCS_WM_MSG (NMLTYPE t, long sz); 00016 }; 00017 00018 extern int RCS_EXPORT RCS_WM_MSG_format (NMLTYPE, void RCS_FAR *, 00019 CMS RCS_FAR *); 00020 00021 class RCS_EXPORT RCS_WM_CHANNEL:public NML 00022 { 00023 public: 00024 RCS_WM_CHANNEL (NML_FORMAT_PTR, char *, char *, char *, 00025 int set_to_server = 0); 00026 ~RCS_WM_CHANNEL (); 00027 RCS_WM_MSG *get_address () 00028 { 00029 return ((RCS_WM_MSG *) NML::get_address ()); 00030 }; 00031 }; 00032 00033 #define RCS_GENERIC_WM_TYPE ((NMLTYPE) 3000000) 00034 00035 class RCS_EXPORT RCS_GENERIC_WM:public RCS_WM_MSG 00036 { 00037 public: 00038 RCS_GENERIC_WM (); 00039 void update (CMS *); 00040 }; 00041 00042 #endif