summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/event_notifier.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/libcamera/event_notifier.h b/include/libcamera/event_notifier.h
index 1e9b6da1..f80945c7 100644
--- a/include/libcamera/event_notifier.h
+++ b/include/libcamera/event_notifier.h
@@ -7,11 +7,14 @@
#ifndef __LIBCAMERA_EVENT_NOTIFIER_H__
#define __LIBCAMERA_EVENT_NOTIFIER_H__
+#include <libcamera/object.h>
#include <libcamera/signal.h>
namespace libcamera {
-class EventNotifier
+class Message;
+
+class EventNotifier : public Object
{
public:
enum Type {
@@ -31,6 +34,9 @@ public:
Signal<EventNotifier *> activated;
+protected:
+ void message(Message *msg) override;
+
private:
int fd_;
Type type_;