00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef CLIENT_H
00024 #define CLIENT_H
00025
00026 #include <QString>
00027 #include <QObject>
00028 #include "APILinkedList.h"
00029
00030 #include "defines.h"
00031
00032 class Client : public QObject, public APILinkedListNode
00033 {
00034 Q_OBJECT
00035
00036 public:
00037 Client(const QString& name);
00038 ~Client();
00039
00040 void set_process_callback(ProcessCallback call);
00041 void set_transport_control_callback(TransportControlCallback call);
00042 bool is_smaller_then(APILinkedListNode* ) {return false;}
00043
00044
00045 ProcessCallback process;
00046 TransportControlCallback transport_control;
00047
00048 QString m_name;
00049
00050 };
00051
00052 #endif
00053
00054