aboutsummaryrefslogtreecommitdiff
path: root/include/VideoPlayer.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-06 11:18:05 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-06 14:19:02 +0200
commitb207d812582368fea47bf87becc645fbcaf07b61 (patch)
tree8c3103910d7cc9caa75bbca2dab8d76639d94769 /include/VideoPlayer.hpp
parent957e046bf507f6c6139be64082185b12043e97a4 (diff)
Remove unused functions in VideoPlayer
Diffstat (limited to 'include/VideoPlayer.hpp')
-rw-r--r--include/VideoPlayer.hpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp
index 0d1203b..1d15aff 100644
--- a/include/VideoPlayer.hpp
+++ b/include/VideoPlayer.hpp
@@ -20,7 +20,6 @@ namespace QuickMedia {
OK,
FAIL_TO_LAUNCH_PROCESS,
FAIL_TO_CREATE_SOCKET,
- FAIL_TO_GENERATE_IPC_FILENAME,
FAIL_TO_CONNECT_TIMEOUT,
FAIL_NOT_CONNECTED,
FAIL_TO_SEND,
@@ -45,24 +44,11 @@ namespace QuickMedia {
// Should be called every update frame
Error update();
- Error toggle_pause();
-
- // Progress is in range [0..1]
- Error get_progress(double *result);
// Returns time in seconds
Error get_time_in_file(double *result);
- Error get_time_remaining(double *result);
- Error set_paused(bool paused);
-
- // Progress is in range [0..1]
- Error set_progress(double progress);
-
- Error is_seekable(bool *result);
Error quit_and_save_watch_later();
- bool is_connected() const { return connected_to_ipc; }
-
Error set_property(const std::string &property_name, const Json::Value &value);
Error get_property(const std::string &property_name, Json::Value *result, Json::ValueType result_type);