forked from borisRobson/onvif_rtsp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxml_handler.h
More file actions
59 lines (44 loc) · 1.15 KB
/
xml_handler.h
File metadata and controls
59 lines (44 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef XML_HANDLER_H
#define XML_HANDLER_H
#include <QObject>
#include <QtXml>
#include <QUuid>
#include <QNetworkInterface>
#include <QUdpSocket>
#include <QString>
#include <QDateTime>
#include <QProcess>
#include "xml_creator.h"
class xml_handler : public QObject
{
Q_OBJECT
public:
xml_handler();
QDomDocument loadFile(QString filename);
void writeFile(QDomDocument doc, QString filename);
void create_getDevInfoRes();
void create_getScopes();
void create_getVidSourcesRes();
void create_getDNSRes();
void create_getNtwkInterfacesRes();
void create_getCapabilitiesRes();
void create_getServicesRes();
void create_getProfilesRes();
void create_getSnapshotRes();
void create_getProfileRes();
void create_getStreamUriRes();
void create_getVideoSourceConfigRes();
bool createDir();
signals:
void updateVidSrcConfig();
private:
QString filepath;
xml_creator xmlcreator;
QString width;
QString height;
QString framerate;
public slots:
void create_getSysDTRes();
void storeVidSrcCnfg(QString width, QString height, QString framerate);
};
#endif // XML_HANDLER_H