From b946ff6bceef6150f19da0a86950ed9ebbf0c2cb Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli (think)" Date: Thu, 16 Aug 2012 18:05:40 +0200 Subject: crc-dabmod: removed useless set_parameters from remote_control --- src/OutputUHD.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/OutputUHD.h') diff --git a/src/OutputUHD.h b/src/OutputUHD.h index 6d2df55..1a53804 100644 --- a/src/OutputUHD.h +++ b/src/OutputUHD.h @@ -159,32 +159,14 @@ class OutputUHD: public ModOutput, public RemoteControl { } /*********** REMOTE CONTROL ***************/ - virtual std::string get_rc_name() { return "uhd"; } - /* Tell the controllable to enrol at the given controller / virtual void enrol_at(BaseRemoteController& controller) { controller.enrol(this); } // */ - /* Return a list of possible parameters that can be set */ - list get_supported_parameters() { - list parameterlist; - for (list< vector >::iterator it = parameters_.begin(); it != parameters_.end(); it++) { - parameterlist.push_back((*it)[0]); - } - return parameterlist; - } - - /* Return a mapping of the descriptions of all parameters */ - virtual std::list< std::vector > get_parameter_descriptions() = 0; - /* Base function to set parameters. */ virtual void set_parameter(string parameter, string value) = 0; - /* Convenience functions for other common types */ - virtual void set_parameter(string parameter, double value) = 0; - virtual void set_parameter(string parameter, long value) = 0; - /* Getting a parameter always returns a string. */ virtual string get_parameter(string parameter) = 0; @@ -206,9 +188,6 @@ class OutputUHD: public ModOutput, public RemoteControl { bool enable_sync; size_t lastLen; - - - /*********** REMOTE CONTROL ***************/ }; -- cgit v1.2.3