projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce NetworkEvent and children
[quassel.git]
/
src
/
common
/
event.h
diff --git
a/src/common/event.h
b/src/common/event.h
index
ed82f7e
..
a0e82d7
100644
(file)
--- a/
src/common/event.h
+++ b/
src/common/event.h
@@
-21,16
+21,20
@@
#ifndef EVENT_H
#define EVENT_H
#ifndef EVENT_H
#define EVENT_H
-#include
<QStringList>
+#include
"eventmanager.h"
class Event {
public:
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
#endif