#if defined(Hiro_ListView) struct ListView; struct mListView; using sListView = shared_pointer; struct mListView : mTableView { using type = mListView; using mTableView::append; using mTableView::remove; mListView(); auto batched() const -> vector; auto doToggle(ListViewItem) const -> void; auto item(uint position) const -> ListViewItem; auto items() const -> vector; auto onToggle(const function& callback) -> type&; auto reset() -> type& override; auto selected() const -> ListViewItem; //private: struct State { function onToggle; } state; }; #endif