aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-04-16 19:42:11 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-04-22 19:45:25 -0300
commit3b75837ab1250e9cd2edde24c0e36c19ede7baf8 (patch)
treeb1adda45e289cbaf9248045040cfdf72d2307f22
parent3b2ea763f95723e33105accf7a3fd0535cb67f85 (diff)
Remove generation of unused code.
-rw-r--r--cppgenerator.cpp12
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(&copyCppObjectImpl);
-
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);