aboutsummaryrefslogtreecommitdiffstats
path: root/generator.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-02-10 18:57:40 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2011-02-10 20:51:16 -0200
commit2fa3a9485d45cfa27593848fbcee1b21ed1bfa57 (patch)
treeba3e3fdd444740dc885767368fd84df0f821897b /generator.h
parentc306628bd2b06ec5a9a734e33a8d948be1811649 (diff)
Add function getClassTargetFullName to get what AbstractMetaClass.fullName would return.
Diffstat (limited to 'generator.h')
-rw-r--r--generator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/generator.h b/generator.h
index c45890100..0ebe1b55b 100644
--- a/generator.h
+++ b/generator.h
@@ -45,6 +45,9 @@ QTextStream& formatCode(QTextStream &s, const QString& code, Indentor &indentor)
GENRUNNER_API
void verifyDirectoryFor(const QFile &file);
+GENRUNNER_API QString getClassTargetFullName(const AbstractMetaClass* metaClass, bool includePackageName = true);
+GENRUNNER_API QString getClassTargetFullName(const AbstractMetaEnum* metaEnum, bool includePackageName = true);
+
/**
* Base class for all generators. The default implementations does nothing,
* you must subclass this to create your own generators.