generator.h | generator.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
extern "C" GENRUNNER_EXPORT void getGenerators(GeneratorList* list)\ | extern "C" GENRUNNER_EXPORT void getGenerators(GeneratorList* list)\ | |||
{\ | {\ | |||
*list << X;\ | *list << X;\ | |||
}\ | }\ | |||
GENRUNNER_API | GENRUNNER_API | |||
QTextStream& formatCode(QTextStream &s, const QString& code, Indentor &inde ntor); | QTextStream& formatCode(QTextStream &s, const QString& code, Indentor &inde ntor); | |||
GENRUNNER_API | GENRUNNER_API | |||
void verifyDirectoryFor(const QFile &file); | void verifyDirectoryFor(const QFile &file); | |||
GENRUNNER_API QString getClassTargetFullName(const AbstractMetaClass* metaC | ||||
lass, bool includePackageName = true); | ||||
GENRUNNER_API QString getClassTargetFullName(const AbstractMetaEnum* metaEn | ||||
um, bool includePackageName = true); | ||||
/** | /** | |||
* Base class for all generators. The default implementations does nothin g, | * Base class for all generators. The default implementations does nothin g, | |||
* you must subclass this to create your own generators. | * you must subclass this to create your own generators. | |||
*/ | */ | |||
class GENRUNNER_API Generator | class GENRUNNER_API Generator | |||
{ | { | |||
public: | public: | |||
/// Optiosn used around the generator code | /// Optiosn used around the generator code | |||
enum Option { | enum Option { | |||
NoOption = 0x00000000, | NoOption = 0x00000000, | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added | |||