diff options
Diffstat (limited to 'include/libcamera/base/event_notifier.h')
-rw-r--r-- | include/libcamera/base/event_notifier.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/libcamera/base/event_notifier.h b/include/libcamera/base/event_notifier.h index 5055ccbf..158f2d44 100644 --- a/include/libcamera/base/event_notifier.h +++ b/include/libcamera/base/event_notifier.h @@ -2,10 +2,10 @@ /* * Copyright (C) 2019, Google Inc. * - * event_notifier.h - File descriptor event notifier + * File descriptor event notifier */ -#ifndef __LIBCAMERA_BASE_EVENT_NOTIFIER_H__ -#define __LIBCAMERA_BASE_EVENT_NOTIFIER_H__ + +#pragma once #include <libcamera/base/private.h> @@ -34,7 +34,7 @@ public: bool enabled() const { return enabled_; } void setEnabled(bool enable); - Signal<EventNotifier *> activated; + Signal<> activated; protected: void message(Message *msg) override; @@ -46,5 +46,3 @@ private: }; } /* namespace libcamera */ - -#endif /* __LIBCAMERA_BASE_EVENT_NOTIFIER_H__ */ |