Fix missing interface.h in generated code and filename.

Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
pull/16/head
Emanoil Kotsev 6 years ago committed by Michele Calgaro
parent 91e64f3ebe
commit 14aebff1f4
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -373,7 +373,7 @@ static void writeInterfaceIncludes(const TQValueList<Class> interfaces,
TQValueList<Class>::const_iterator endIt = interfaces.end();
for (; it != endIt; ++it)
{
stream << "#include \"" << (*it).name.lower() << ".h\"" << endl;
stream << "#include \"" << (*it).name.lower() << "interface.h\"" << endl;
}
stream << "#include \"introspectableinterface.h\"" << endl;

@ -336,7 +336,7 @@ int main(int argc, char** argv)
exit(3);
}
nodeClassName.replace('/', "_");
nodeClassName.replace('/', "::");
}
TQStringList nameParts = TQStringList::split("::", nodeClassName);

Loading…
Cancel
Save