mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 01:59:59 +01:00
[escher] make an independent class alternate empty view to handle
empty store and add a delegate to the header view controller class Change-Id: I7c4e8342876e9273270772d4bad0db9424276a98
This commit is contained in:
20
escher/src/header_view_delegate.cpp
Normal file
20
escher/src/header_view_delegate.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include <escher/header_view_delegate.h>
|
||||
#include <assert.h>
|
||||
|
||||
HeaderViewDelegate::HeaderViewDelegate(HeaderViewController * headerViewController) :
|
||||
m_headerViewController(headerViewController)
|
||||
{
|
||||
}
|
||||
|
||||
int HeaderViewDelegate::numberOfButtons() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Button * HeaderViewDelegate::buttonAtIndex(int index) {
|
||||
assert(false);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
HeaderViewController * HeaderViewDelegate::headerViewController() {
|
||||
return m_headerViewController;
|
||||
}
|
||||
Reference in New Issue
Block a user