From 27e87fc21ff305a062416dd508d6d208146b0809 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 3 Dec 2021 13:25:36 -0500 Subject: [PATCH] Move all the opening of events code into one function called openEvent. --- src/zm_monitor.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/zm_monitor.h b/src/zm_monitor.h index d670911bb..8d6bbd95e 100644 --- a/src/zm_monitor.h +++ b/src/zm_monitor.h @@ -593,6 +593,10 @@ public: bool Decode(); void DumpImage( Image *dump_image ) const; void TimestampImage(Image *ts_image, SystemTimePoint ts_time) const; + Event *openEvent( + const std::shared_ptr &snap, + const std::string &cause, + const Event::StringSetMap noteSetMap); void closeEvent(); void Reload();