You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
503 B
26 lines
503 B
6 years ago
|
#ifndef QMLSETTINGSGENERATOR_H
|
||
|
#define QMLSETTINGSGENERATOR_H
|
||
|
|
||
|
#include "settingsgeneratorimpl.h"
|
||
|
|
||
|
class QmlSettingsGenerator : public SettingsGeneratorImpl
|
||
|
{
|
||
|
public:
|
||
|
QmlSettingsGenerator(const QString &hdrPath,
|
||
|
const QString &srcPath);
|
||
|
|
||
|
void process(const QString &inPath);
|
||
|
|
||
|
void writeHeader(const SettingsType &settings);
|
||
|
void writeSource(const SettingsType &settings);
|
||
|
|
||
|
private:
|
||
|
QFile _hdrFile;
|
||
|
QFile _srcFile;
|
||
|
|
||
|
QTextStream _hdr;
|
||
|
QTextStream _src;
|
||
|
};
|
||
|
|
||
|
#endif // QMLSETTINGSGENERATOR_H
|