ChirpSim
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
controller.h
Go to the documentation of this file.
1 #ifndef CONTROLLER_H
2 #define CONTROLLER_H
3 
4 #include <QObject>
5 #include <QTextStream>
6 
12 class Controller : public QObject
13 {
14  Q_OBJECT
15 public:
16  Controller(QObject* parent=0) : QObject(parent) {}
17  virtual ~Controller() {}
18 
24  virtual QByteArray handleMessage(QTextStream &textStream)=0;
25 };
26 
27 #endif // NETWORKCONTROLLER_H