From b207d812582368fea47bf87becc645fbcaf07b61 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 6 Jun 2021 11:18:05 +0200 Subject: Remove unused functions in VideoPlayer --- include/VideoPlayer.hpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'include/VideoPlayer.hpp') 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); -- cgit v1.2.3