summaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.h
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-12-16 15:58:23 -0300
committerRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-12-16 16:03:52 -0300
commit45d4e4b0eabc87cd50613a469ce400434b833d6d (patch)
tree6712d376d1209b58604d3e1c342db30b3afd9a05 /generator/cppgenerator.h
parent2d146fad966ae24940c65812cde4c28b645ecf6b (diff)
downloadshiboken-45d4e4b0eabc87cd50613a469ce400434b833d6d.tar.gz
shiboken-45d4e4b0eabc87cd50613a469ce400434b833d6d.tar.xz
shiboken-45d4e4b0eabc87cd50613a469ce400434b833d6d.zip
Fix register type function to register the type with two names.
Fix signal register, to use arguments type name based on generated namespace. Fix bug #498.
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r--generator/cppgenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h
index 6e064dd4..f2bc30e0 100644
--- a/generator/cppgenerator.h
+++ b/generator/cppgenerator.h
@@ -192,10 +192,14 @@ private:
void writeStdListWrapperMethods(QTextStream& s, const AbstractMetaClass* metaClass);
QString writeReprFunction(QTextStream& s, const AbstractMetaClass* metaClass);
+ void writeRegisterType(QTextStream& s, const AbstractMetaClass* metaClass);
+ void writeRegisterType(QTextStream& s, const AbstractMetaEnum* metaEnum);
+
// Maps special function names to function parameters and return types
// used by CPython API in the sequence protocol.
QHash<QString, QPair<QString, QString> > m_sequenceProtocol;
int m_currentErrorCode;
+
};
#endif // CPPGENERATOR_H