Fixed the default webroot directory to apache's correct webroot. Also renamed separated outDir from webRoot and made webRoot changeable on the config file. Added logging the recorder and detection loops to help with debugging and troubleshooting. Just like the video clips, max log lines were added to control the size of the data being saved to storage.
23 lines
801 B
C
23 lines
801 B
C
#ifndef WEB_H
|
|
#define WEB_H
|
|
|
|
// This file is part of Motion Watch.
|
|
|
|
// Motion Watch is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
|
|
// Motion Watch is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
#include "common.h"
|
|
|
|
void genHTMLul(const string &outputDir, const string &title, shared_t *share);
|
|
void genHTMLvid(const string &outputVid, shared_t *share);
|
|
void genCSS(shared_t *share);
|
|
|
|
#endif // WEB_H
|