MCPcopy Create free account
hub / github.com/audacity/audacity / init

Method init

au4/src/appshell/internal/sessionsmanager.cpp:28–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26using namespace muse;
27
28void SessionsManager::init()
29{
30 update();
31
32 globalContext()->currentProjectChanged().onNotify(this, [this]() {
33 update();
34
35 if (auto project = globalContext()->currentProject()) {
36 project->pathChanged().onNotify(this, [this]() {
37 update();
38 });
39 }
40 });
41}
42
43void SessionsManager::deinit()
44{

Callers

nothing calls this directly

Calls 3

currentProjectChangedMethod · 0.80
pathChangedMethod · 0.80
currentProjectMethod · 0.45

Tested by

no test coverage detected