diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-04-16 19:42:11 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-04-22 19:45:25 -0300 |
commit | 3b75837ab1250e9cd2edde24c0e36c19ede7baf8 (patch) | |
tree | b1adda45e289cbaf9248045040cfdf72d2307f22 | |
parent | 3b2ea763f95723e33105accf7a3fd0535cb67f85 (diff) |
Remove generation of unused code.
-rw-r--r-- | cppgenerator.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cppgenerator.cpp b/cppgenerator.cpp index f06ecb12c..16f43ba25 100644 --- a/cppgenerator.cpp +++ b/cppgenerator.cpp @@ -150,11 +150,6 @@ void CppGenerator::generateClass(QTextStream &s, const AbstractMetaClass *metaCl s << "#include \"" << getModuleHeaderFileName() << '"' << endl << endl; - QString converterImpl; - QTextStream convImpl(&converterImpl); - QString copyCppObjectImpl; - QTextStream copyImpl(©CppObjectImpl); - QString headerfile = fileNameForClass(metaClass); headerfile.replace("cpp", "h"); s << "#include \"" << headerfile << '"' << endl; @@ -355,13 +350,6 @@ void CppGenerator::generateClass(QTextStream &s, const AbstractMetaClass *metaCl s << endl << "} // extern \"C\"" << endl << endl; - s << "namespace Shiboken" << endl << '{' << endl; - s << "// Copy C++ object implementation" << endl; - s << copyCppObjectImpl; - s << "// Converter implementations" << endl; - s << converterImpl; - s << "} // namespace Shiboken" << endl << endl; - // class inject-code native/end if (!metaClass->typeEntry()->codeSnips().isEmpty()) { writeCodeSnips(s, metaClass->typeEntry()->codeSnips(), CodeSnip::End, TypeSystem::NativeCode, 0, 0, metaClass); |