mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[escher] Inline empty functions in ViewController
This commit is contained in:
@@ -44,12 +44,12 @@ public:
|
||||
/* With WantsMaximumSpace, no stack headers are displayed. */
|
||||
};
|
||||
|
||||
ViewController(Responder * parentResponder);
|
||||
virtual const char * title();
|
||||
ViewController(Responder * parentResponder) : Responder(parentResponder) {}
|
||||
virtual const char * title() { return nullptr; }
|
||||
virtual View * view() = 0;
|
||||
virtual void initView() {}
|
||||
virtual void viewWillAppear();
|
||||
virtual void viewDidDisappear();
|
||||
virtual void viewDidDisappear() {}
|
||||
virtual DisplayParameter displayParameter() { return DisplayParameter::Default; }
|
||||
};
|
||||
|
||||
|
||||
@@ -1,17 +1,4 @@
|
||||
#include <escher/view_controller.h>
|
||||
|
||||
ViewController::ViewController(Responder * parentResponder) :
|
||||
Responder(parentResponder)
|
||||
{
|
||||
}
|
||||
|
||||
const char * ViewController::title() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void ViewController::viewWillAppear() {
|
||||
}
|
||||
|
||||
void ViewController::viewDidDisappear() {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user