Commit 776e69da authored by Victor Yacovlev's avatar Victor Yacovlev

Handle GUI ready available for actors

parent 0115a03a
......@@ -1530,6 +1530,18 @@ private:
}
""" % (self.class_name, guiRequired)
# noinspection PyPep8Naming
def notifyGuiReadyCppImplementation(self):
if self._module.gui:
return """
/* public */ void %s::notifyGuiReady()
{
module_->handleGuiReady();
}
""" % (self.class_name)
else:
return "\n"
# noinspection PyPep8Naming
def asciiModuleNameCppImplementation(self):
return """
......@@ -2736,6 +2748,14 @@ class ModuleBaseCppClass(CppClassBase):
}
""" % self.class_name
# noinspection PyPep8Naming
def handleGuiReadyCppImplementation(self):
return """
/* public virtual */ void %s::handleGuiReady()
{
}
""" % self.class_name
# noinspection PyPep8Naming
def moduleMenusCppImplementation(self):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment