From 9c2615425bb4f35a417eb04b1ceebfc77d8e2c8b Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 7 Oct 2017 10:39:51 +0200 Subject: Move fault_detected() into common input interface --- src/InputInterface.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/InputInterface.h') diff --git a/src/InputInterface.h b/src/InputInterface.h index 739ca3f..b582c33 100644 --- a/src/InputInterface.h +++ b/src/InputInterface.h @@ -31,4 +31,7 @@ class InputInterface { * runtime_error. */ virtual void prepare(void) = 0; + + /*! Return true if the input detected some sort of fault */ + virtual bool fault_detected(void) const = 0; }; -- cgit v1.2.3