This URL has Read-Only access.

Statistics
| Branch: | Tag: | Revision:

root / prototypes / kinectvision-qt-pcl / configurationparser.h @ 625a9d51

History | View | Annotate | Download (494 Bytes)

1
#ifndef CONFIGURATIONPARSER_H
2
#define CONFIGURATIONPARSER_H
3

    
4
#include <QXmlStreamWriter>
5
#include <QXmlStreamReader>
6
#include <QFile>
7

    
8
#include <commun.h>
9

    
10
class ConfigurationParser
11
{
12
public:
13
    ConfigurationParser();
14

    
15
    void readConfigFile();
16
    void writeConfigFile();
17
    ConfigurationInfo getConfiguration();
18

    
19
private:
20
    QFile *mFileConfig;
21
    QXmlStreamWriter *mXmlWriter;
22
    QXmlStreamReader *mXmlReader;
23

    
24
    ConfigurationInfo mConfiguration;
25
};
26

    
27
#endif // CONFIGURATIONPARSER_H