aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-15 22:24:31 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-15 22:24:31 +0200
commit246fd1369dce903dad48730478bebbe9733ac88e (patch)
tree50a6dc779453ef430a13fd13c9ca21a4d2c3f2a1 /c/episodelistview.h
parent8877627ee3fcd5a8f0ce2fcccec7688973e9cb2d (diff)
downloadEpisodeBrowser-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.h5
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