diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-15 22:24:31 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-15 22:24:31 +0200 |
commit | 246fd1369dce903dad48730478bebbe9733ac88e (patch) | |
tree | 50a6dc779453ef430a13fd13c9ca21a4d2c3f2a1 /c/episodelistview.h | |
parent | 8877627ee3fcd5a8f0ce2fcccec7688973e9cb2d (diff) | |
download | EpisodeBrowser-246fd1369dce903dad48730478bebbe9733ac88e.tar.gz |
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.
Diffstat (limited to 'c/episodelistview.h')
-rw-r--r-- | c/episodelistview.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <vector> #include <windows.h> #include <commctrl.h> +#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<ElvData> m_vData; }; #endif |