aboutsummaryrefslogtreecommitdiff
path: root/c/datalistview.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-17 19:01:26 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-17 19:01:26 +0200
commit78fbe9fcba52cad4b4c36aca7c385b3a8f45824a (patch)
tree63c1c602fc76ec33bc1751efaea685946daee5fe /c/datalistview.h
parent853a598befbb8823c5868c792f51cda3466fada1 (diff)
downloadEpisodeBrowser-78fbe9fcba52cad4b4c36aca7c385b3a8f45824a.tar.gz
DataListView: Use file view.
Diffstat (limited to 'c/datalistview.h')
-rw-r--r--c/datalistview.h4
1 files changed, 4 insertions, 0 deletions
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<DlvDataA> m_fv{L"dlvdata.dat", g_cfg.cEp+128u};
};
#endif