Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions SofaGLFW/src/SofaGLFW/initSofaGLFW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ extern "C" {
SOFAGLFW_API const char* getModuleComponentList();
}

void initExternalModule()
void init()
{
static bool first = true;
if (first)
Expand Down Expand Up @@ -72,15 +72,9 @@ const char* getModuleDescription()
return "A GLFW Gui for SOFA.";
}

const char* getModuleComponentList()
{
//no Components in this plugin
return "";
}

void init()
void initExternalModule()
{
initExternalModule();
init();
}

} // namespace sofaglfw
12 changes: 3 additions & 9 deletions SofaImGui/src/SofaImGui/initSofaImGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extern "C" {
SOFAIMGUI_API const char* getModuleComponentList();
}

void initExternalModule()
void init()
{
static bool first = true;
if (first)
Expand Down Expand Up @@ -72,15 +72,9 @@ const char* getModuleDescription()
return "A ImGui Gui for SOFA.";
}

const char* getModuleComponentList()
{
//no Components in this plugin
return "";
}

void init()
void initExternalModule()
{
initExternalModule();
init();
}

} // namespace sofaimgui
Loading