summaryrefslogtreecommitdiff
path: root/src/wx/content_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-02-06 00:53:22 +0100
committerCarl Hetherington <cth@carlh.net>2025-02-06 00:53:22 +0100
commit351c9a6a87df18a6048ee8da541cde2efb1ce6f0 (patch)
treec6cdf66a092e1347cd7033b60b7b2c1b334e6499 /src/wx/content_view.h
parent90bcaa36fa76e7d22ae2cbe6f299bc2784076fde (diff)
wip: use sqlite3 for playlists2895-http-playlists
Diffstat (limited to 'src/wx/content_view.h')
-rw-r--r--src/wx/content_view.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/wx/content_view.h b/src/wx/content_view.h
index 65f806340..e27b14132 100644
--- a/src/wx/content_view.h
+++ b/src/wx/content_view.h
@@ -19,7 +19,7 @@
*/
-#include "lib/content_store.h"
+#include "lib/show_playlist_content_store.h"
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/listctrl.h>
@@ -31,17 +31,21 @@ class Content;
class Film;
+/** @class ContentView
+ *
+ * @brief A GUI list of content from our ShowPlaylistContentStore.
+ */
class ContentView : public wxListCtrl
{
public:
ContentView (wxWindow* parent);
- std::shared_ptr<Content> selected () const;
+ boost::optional<ShowPlaylistEntry> selected() const;
void update ();
private:
- void add (std::shared_ptr<Content> content);
+ void add(ShowPlaylistEntry entry);
std::weak_ptr<Film> _film;
- std::vector<std::string> _content_digests;
+ std::vector<std::string> _uuids;
};