00001 #ifndef MARNET_H 00002 #define MARNET_H 00003 00004 #include "marxf.h" 00005 00006 class MarNet : public MarXF 00007 { 00008 Q_OBJECT; 00009 00010 public: 00011 MarNet(QObject *parent); 00012 typedef MarXF inherited; 00013 00014 int net_open(int sk); 00015 int net_close(int sk); 00016 int net_data(); 00017 int net_comm(int mode, char *buf); 00018 int net_select(int sk); 00019 int net_stat(); 00020 int net_msg(); 00021 00022 virtual int process_status( char *buf )=0; 00023 virtual void print_msg(char *s)=0; 00024 00025 private: 00026 static void stop_net( int signo ); 00027 }; 00028 00029 #endif