diff options
Diffstat (limited to 'Swift/Controllers/XMPPEvents/EventController.h')
| -rw-r--r-- | Swift/Controllers/XMPPEvents/EventController.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Swift/Controllers/XMPPEvents/EventController.h b/Swift/Controllers/XMPPEvents/EventController.h index 8a095d9..5b746e4 100644 --- a/Swift/Controllers/XMPPEvents/EventController.h +++ b/Swift/Controllers/XMPPEvents/EventController.h | |||
| @@ -1,11 +1,12 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010-2016 Isode Limited. | 2 | * Copyright (c) 2010-2018 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #pragma once | 7 | #pragma once |
| 8 | 8 | ||
| 9 | #include <cstddef> | ||
| 9 | #include <memory> | 10 | #include <memory> |
| 10 | #include <vector> | 11 | #include <vector> |
| 11 | 12 | ||
| @@ -22,7 +23,7 @@ namespace Swift { | |||
| 22 | ~EventController(); | 23 | ~EventController(); |
| 23 | 24 | ||
| 24 | void handleIncomingEvent(std::shared_ptr<StanzaEvent> sourceEvent); | 25 | void handleIncomingEvent(std::shared_ptr<StanzaEvent> sourceEvent); |
| 25 | boost::signals2::signal<void (int)> onEventQueueLengthChange; | 26 | boost::signals2::signal<void (size_t)> onEventQueueLengthChange; |
| 26 | boost::signals2::signal<void (std::shared_ptr<StanzaEvent>)> onEventQueueEventAdded; | 27 | boost::signals2::signal<void (std::shared_ptr<StanzaEvent>)> onEventQueueEventAdded; |
| 27 | const EventList& getEvents() const {return events_;} | 28 | const EventList& getEvents() const {return events_;} |
| 28 | void disconnectAll(); | 29 | void disconnectAll(); |
Swift