From 78fbe9fcba52cad4b4c36aca7c385b3a8f45824a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 17 Aug 2022 19:01:26 +0200 Subject: DataListView: Use file view. --- c/datalistview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'c/datalistview.h') diff --git a/c/datalistview.h b/c/datalistview.h index 26ba8c9..3a59d41 100644 --- a/c/datalistview.h +++ b/c/datalistview.h @@ -1,11 +1,14 @@ #ifndef DATALISTVIEW_H #define DATALISTVIEW_H +#include "data.h" #include "listview.h" #define DLVSIKEY 0 #define DLVSIVALUE 1 +extern CfgA& g_cfg; + struct DataListView : public ListView { DataListView(HWND hWndParent); @@ -18,6 +21,7 @@ struct DataListView : public ListView void ShowEpisode(int iEpisode); private: int m_height = 0; + FileView m_fv{L"dlvdata.dat", g_cfg.cEp+128u}; }; #endif -- cgit v1.2.3