mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Remove Container * parameter from all App constructors
This commit is contained in:
committed by
EmilieNumworks
parent
2c98a6ea0d
commit
1f06819974
@@ -28,7 +28,7 @@ App::Snapshot::Snapshot() :
|
||||
}
|
||||
|
||||
App * App::Snapshot::unpack(Container * container) {
|
||||
return new (container->currentAppBuffer()) App(container, this);
|
||||
return new (container->currentAppBuffer()) App(this);
|
||||
}
|
||||
|
||||
App::Descriptor * App::Snapshot::descriptor() {
|
||||
@@ -72,8 +72,8 @@ void App::Snapshot::setOpt(const char * name, char * value) {
|
||||
}
|
||||
#endif
|
||||
|
||||
App::App(Container * container, Snapshot * snapshot) :
|
||||
Shared::InputEventHandlerDelegateApp(container, snapshot, &m_codeStackViewController),
|
||||
App::App(Snapshot * snapshot) :
|
||||
Shared::InputEventHandlerDelegateApp(snapshot, &m_codeStackViewController),
|
||||
m_pythonHeap{},
|
||||
m_pythonUser(nullptr),
|
||||
m_consoleController(nullptr, this, snapshot->scriptStore()
|
||||
|
||||
Reference in New Issue
Block a user