aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-08-07 06:46:03 +0200
committerdec05eba <dec05eba@protonmail.com>2019-08-07 06:46:07 +0200
commit852c6bc48b7044c54923b722ab5d9363a27ceb6c (patch)
tree5ced7f86526e44a605342957ae5626b443d387d9 /include
parent55cb9a1ffb4226e5771c45d294ae297fe0a1b94e (diff)
Youtube: do not play videos that have been played before
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 54799b8..2ab4733 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -8,6 +8,7 @@
#include <SFML/Graphics/Font.hpp>
#include <SFML/Graphics/RenderWindow.hpp>
#include <json/value.h>
+#include <unordered_set>
namespace QuickMedia {
class Body;
@@ -42,5 +43,6 @@ namespace QuickMedia {
int image_index;
Path content_storage_file;
Json::Value content_storage_json;
+ std::unordered_set<std::string> watched_videos;
};
} \ No newline at end of file