Move all the opening of events code into one function called openEvent.

This commit is contained in:
Isaac Connor 2021-12-03 13:25:36 -05:00
parent eef172379c
commit 27e87fc21f
1 changed files with 4 additions and 0 deletions

View File

@ -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<ZMPacket> &snap,
const std::string &cause,
const Event::StringSetMap noteSetMap);
void closeEvent();
void Reload();