[app/reg] Inline getter funcitons

This commit is contained in:
Léa Saviot
2018-06-11 11:47:51 +02:00
parent 8e292cafb8
commit 3be2b0e414
2 changed files with 5 additions and 25 deletions

View File

@@ -45,26 +45,6 @@ App::Descriptor * App::Snapshot::descriptor() {
return &descriptor;
}
Store * App::Snapshot::store() {
return &m_store;
}
CurveViewCursor * App::Snapshot::cursor() {
return &m_cursor;
}
int * App::Snapshot::graphSelectedDotIndex() {
return &m_graphSelectedDotIndex;
}
uint32_t * App::Snapshot::modelVersion() {
return &m_modelVersion;
}
uint32_t * App::Snapshot::rangeVersion() {
return &m_rangeVersion;
}
App::App(Container * container, Snapshot * snapshot) :
TextFieldDelegateApp(container, snapshot, &m_tabViewController),
m_calculationController(&m_calculationAlternateEmptyViewController, &m_calculationHeader, snapshot->store()),