add groups

This commit is contained in:
Isaac Connor 2018-05-02 12:20:07 -07:00
parent 1cd7b73114
commit 548cbd2b66
1 changed files with 4 additions and 0 deletions

View File

@ -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