diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-10-15 19:57:24 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2019-10-15 19:57:27 +0200 |
commit | 56acc142c6ef9a65147acdea6737acbfaeb7eca4 (patch) | |
tree | 1b9a955bec7ed74c16e3cf663b9acca5aef8c19e /include/VideoPlayer.hpp | |
parent | 2ba21aa9aa91b975fe0c8be630dde05d0d9b5366 (diff) |
Add tor support
Diffstat (limited to 'include/VideoPlayer.hpp')
-rw-r--r-- | include/VideoPlayer.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp index 3839530..e1763f6 100644 --- a/include/VideoPlayer.hpp +++ b/include/VideoPlayer.hpp @@ -35,7 +35,7 @@ namespace QuickMedia { }; // @event_callback is called from another thread - VideoPlayer(EventCallbackFunc event_callback, VideoPlayerWindowCreateCallback window_create_callback); + VideoPlayer(bool use_tor, EventCallbackFunc event_callback, VideoPlayerWindowCreateCallback window_create_callback); ~VideoPlayer(); VideoPlayer(const VideoPlayer&) = delete; VideoPlayer& operator=(const VideoPlayer&) = delete; @@ -65,6 +65,7 @@ namespace QuickMedia { Error launch_video_process(const char *path, sf::WindowHandle parent_window); VideoPlayer::Error read_ipc_func(); private: + bool use_tor; pid_t video_process_id; int ipc_socket; bool connected_to_ipc; |