Files
Upsilon/escher/include/escher/tab_view_data_source.h
Émilie Feral 71608762aa [escher] Add a data source to tab to be hold by snapshots
Change-Id: I48b242ff433170d6b9618661e613a47669910a79
2017-05-19 11:25:04 +02:00

21 lines
368 B
C++

#ifndef ESCHER_TAB_VIEW_DATA_SOURCE_H
#define ESCHER_TAB_VIEW_DATA_SOURCE_H
extern "C" {
#include <stdint.h>
}
class TabViewDataSource {
public:
TabViewDataSource();
int activeTab() const;
int selectedTab() const;
void setSelectedTab(int index);
void setActiveTab(int index);
private:
int8_t m_activeChildIndex;
int8_t m_selectedChildIndex;
};
#endif