diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-08-11 16:05:41 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-08-18 19:20:46 -0300 |
commit | 18a1658d6f5bcdbd118aa2649dcba56e61553c0f (patch) | |
tree | 15274001b20355ac84dbba79633e0305f9fc91d4 /generator.h | |
parent | cb5be10109fc64d2e77f064164cac4da0d3d8396 (diff) |
Added a method to check if a TypeEntry should be generated or not.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Diffstat (limited to 'generator.h')
-rw-r--r-- | generator.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generator.h b/generator.h index d74839779..4c20268e7 100644 --- a/generator.h +++ b/generator.h @@ -151,7 +151,10 @@ public: /// Returns the generator's name. Used for cosmetic purposes. virtual const char* name() const = 0; - /// Returns true if the generator should generate any code for the AbstractMetaClass + /// Returns true if the generator should generate any code for the TypeEntry. + bool shouldGenerateTypeEntry(const TypeEntry*) const; + + /// Returns true if the generator should generate any code for the AbstractMetaClass. virtual bool shouldGenerate(const AbstractMetaClass *) const; /// Returns the subdirectory used to write the binding code of an AbstractMetaClass. |