add groups
This commit is contained in:
parent
1cd7b73114
commit
548cbd2b66
|
@ -31,6 +31,7 @@
|
|||
#include "zm_zone.h"
|
||||
#include "zm_event.h"
|
||||
class Monitor;
|
||||
#include "zm_group.h"
|
||||
#include "zm_camera.h"
|
||||
#include "zm_storage.h"
|
||||
#include "zm_utils.h"
|
||||
|
@ -343,6 +344,8 @@ protected:
|
|||
int n_linked_monitors;
|
||||
MonitorLink **linked_monitors;
|
||||
|
||||
std::list<Group *> groups;
|
||||
|
||||
public:
|
||||
explicit Monitor( int p_id );
|
||||
|
||||
|
@ -503,6 +506,7 @@ public:
|
|||
|
||||
bool DumpSettings( char *output, bool verbose );
|
||||
void DumpZoneImage( const char *zone_string=0 );
|
||||
std::list<Group *> Groups();
|
||||
|
||||
static int LoadMonitors(std::string sql, Monitor **&monitors, Purpose purpose); // Returns # of Monitors loaded, 0 on failure.
|
||||
#if ZM_HAS_V4L
|
||||
|
|
Loading…
Reference in New Issue