aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 675fa0e..0980b76 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -170,6 +170,13 @@ namespace QuickMedia {
FORCE
};
+ enum class LaunchUrlType {
+ NONE,
+ YOUTUBE_VIDEO,
+ YOUTUBE_CHANNEL,
+ FOURCHAN_THREAD
+ };
+
Display *disp;
mgl::Window window;
Matrix *matrix = nullptr;
@@ -226,8 +233,8 @@ namespace QuickMedia {
bool window_closed = false;
std::string pipe_selected_text;
std::filesystem::path file_manager_start_dir;
- std::string youtube_url;
- std::string youtube_channel_url;
+ std::string launch_url;
+ LaunchUrlType launch_url_type = LaunchUrlType::NONE;
std::unique_ptr<VideoPlayer> video_player;
bool use_youtube_dl = false;
int video_max_height = 0;