Introduce NetworkEvent and children
[quassel.git] / src / common / event.h
index ed82f7e..a0e82d7 100644 (file)
 #ifndef EVENT_H
 #define EVENT_H
 
-#include <QStringList>
+#include "eventmanager.h"
 
 class Event {
 
 public:
-  Event();
-  virtual ~Event();
+  explicit Event(EventManager::EventType type = EventManager::Invalid);
+  virtual ~Event() {};
 
-  virtual QStringList params() const;
+  inline EventManager::EventType type() const { return _type; }
 
+private:
+  EventManager::EventType _type;
 };
 
+/*******/
+
 #endif