[Horus] Martin's design to choose the layout

This commit is contained in:
Bertrand Songis
2016-02-09 23:08:47 +01:00
parent 2e76be5b0b
commit 2037c33ce1
17 changed files with 108 additions and 50 deletions
-9
View File
@@ -81,15 +81,6 @@ const LayoutFactory * getLayoutFactory(const char * name)
return NULL;
}
Layout * createLayout(const char * name, Layout::PersistentData * persistentData)
{
const LayoutFactory * factory = getLayoutFactory(name);
if (factory) {
return factory->create(persistentData);
}
return NULL;
}
Layout * loadLayout(const char * name, Layout::PersistentData * persistentData)
{
const LayoutFactory * factory = getLayoutFactory(name);