Move all the opening of events code into one function called openEvent.
This commit is contained in:
parent
eef172379c
commit
27e87fc21f
|
@ -593,6 +593,10 @@ public:
|
||||||
bool Decode();
|
bool Decode();
|
||||||
void DumpImage( Image *dump_image ) const;
|
void DumpImage( Image *dump_image ) const;
|
||||||
void TimestampImage(Image *ts_image, SystemTimePoint ts_time) 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 closeEvent();
|
||||||
|
|
||||||
void Reload();
|
void Reload();
|
||||||
|
|
Loading…
Reference in New Issue