28 lines
498 B
C++
Executable File
28 lines
498 B
C++
Executable File
|
|
|
|
#pragma once
|
|
|
|
#include "GeneratorGrantleeBase.h"
|
|
#include "StructBuilder.h"
|
|
#include "GrantleeWrappers.h"
|
|
#include "codegen_export.h"
|
|
|
|
namespace CodeGen
|
|
{
|
|
struct CompleteStructInformation;
|
|
class StructBuilder;
|
|
class XmlReader;
|
|
|
|
|
|
class DatabaseGeneratorGrantlee final : public GeneratorGrantleeBase
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit DatabaseGeneratorGrantlee(bool targetIsServer);
|
|
|
|
bool init(const XmlReader *reader, StructBuilder *structBuilder) override;
|
|
private:
|
|
bool m_targetIsServer;
|
|
};
|
|
}
|