From 246fd1369dce903dad48730478bebbe9733ac88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 15 Aug 2022 22:24:31 +0200 Subject: Start moving data into C++. This is the first step in the process of getting rid of the SWI Prolog dependency. We'll see how it goes. --- c/episodelistview.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'c/episodelistview.h') diff --git a/c/episodelistview.h b/c/episodelistview.h index 532c76c..7e0c539 100644 --- a/c/episodelistview.h +++ b/c/episodelistview.h @@ -1,9 +1,11 @@ #ifndef EPISODELISTVIEW_H #define EPISODELISTVIEW_H +#include #include #include +#include "data.h" #include "listview.h" #define ELVSIEPISODE 0 @@ -26,12 +28,11 @@ struct EpisodeListView : public ListView void Sort(); /* Update episode list. */ void Update(); - /* Update episode name and rating. */ - void UpdateItem(int iItem, LPARAM lParam); LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) override; private: int m_iSortCol; static int CALLBACK SortProc(LPARAM lParam1, LPARAM lParam2, LPARAM extra); + std::vector m_vData; }; #endif -- cgit v1.2.3