From: Mikko Rasa Date: Mon, 4 Dec 2017 20:18:49 +0000 (+0200) Subject: Implement the required virtual functions in JsDevice X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=6ee9e86d4986ba6d62bea7161486972ca2e713ef;p=libs%2Fgui.git Implement the required virtual functions in JsDevice --- diff --git a/source/input/linux/gamecontroller_platform.h b/source/input/linux/gamecontroller_platform.h index 2951076..9fa7dcb 100644 --- a/source/input/linux/gamecontroller_platform.h +++ b/source/input/linux/gamecontroller_platform.h @@ -18,11 +18,15 @@ public: std::string get_name() const; + virtual void set_block(bool) { } + virtual void set_inherit(bool) { } + protected: virtual unsigned do_read(char *, unsigned); virtual unsigned do_write(const char *, unsigned); public: + virtual const IO::Handle &get_handle(IO::Mode) { return handle; } virtual const IO::Handle &get_event_handle() { return handle; } };