mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[VariableBox] Added sequences to the variable box
It is now possible to call the value of a defined sequence anywhere. Change-Id: I1990e93c50f9add175b7ea274e07004ba63289e5
This commit is contained in:
committed by
Émilie Feral
parent
c006ed7b10
commit
3dca515441
10
apps/shared/shared_app.cpp
Normal file
10
apps/shared/shared_app.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "shared_app.h"
|
||||
#include "global_context.h"
|
||||
#include <apps/apps_container.h>
|
||||
|
||||
void SharedApp::Snapshot::pack(App * app) {
|
||||
/* Since the sequence store is now accessible from every app, when exiting
|
||||
* any application, we need to tidy it.*/
|
||||
static_cast<Shared::GlobalContext *>(AppsContainer::sharedAppsContainer()->globalContext())->sequenceStore()->tidy();
|
||||
App::Snapshot::pack(app);
|
||||
}
|
||||
Reference in New Issue
Block a user