aboutsummaryrefslogtreecommitdiffstats
path: root/shibokengenerator.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2009-11-23 14:51:56 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-11-24 15:31:08 -0300
commitffa52e72c2b8cc5d7a6086d4a5a270eac91de8b9 (patch)
treea6e27226226e2291fc40b8ddd602b9b3683a722e /shibokengenerator.h
parente243cc91579f8df5e51518a5cfae75cc995d39ec (diff)
Added ShibokenGenerator::shouldGenerateCppWrapper(metaClass) method.
Diffstat (limited to 'shibokengenerator.h')
-rw-r--r--shibokengenerator.h4
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);