Completely re-written the project to use the QT API. By using Qt, I've open up use of useful tools like QCryptographicHash, QString, QByteArray, QFile, etc.. In the future I could even make use of slots/signals. The code is also in general much more readable and thread management is by far much easier. General operation of the app should be the same, this commit just serves as a base for the migration over to QT.
24 lines
823 B
C
24 lines
823 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 QString &outputDir, const QString &title, shared_t *share);
|
|
void genHTMLstream(const QString &name);
|
|
void genHTMLvod(const QString &name);
|
|
void genCSS(shared_t *share);
|
|
|
|
#endif // WEB_H
|