diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-23 14:51:56 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-24 15:31:08 -0300 |
commit | ffa52e72c2b8cc5d7a6086d4a5a270eac91de8b9 (patch) | |
tree | a6e27226226e2291fc40b8ddd602b9b3683a722e /shibokengenerator.h | |
parent | e243cc91579f8df5e51518a5cfae75cc995d39ec (diff) |
Added ShibokenGenerator::shouldGenerateCppWrapper(metaClass) method.
Diffstat (limited to 'shibokengenerator.h')
-rw-r--r-- | shibokengenerator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shibokengenerator.h b/shibokengenerator.h index 5fe879722..78a5498c2 100644 --- a/shibokengenerator.h +++ b/shibokengenerator.h @@ -186,6 +186,10 @@ public: void writeToCppConversion(QTextStream& s, const AbstractMetaType* type, const AbstractMetaClass* context, QString argumentName); + + /// Verifies if the class should have a C++ wrapper generated for it, instead of only a Python wrapper. + static bool shouldGenerateCppWrapper(const AbstractMetaClass* metaClass); + static QString wrapperName(const AbstractMetaClass* metaClass); static QString pythonPrimitiveTypeName(QString cppTypeName); |