From 04e6084fa00fba893f6fd9a6b4ba3f1020e7b655 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 30 Apr 2018 23:53:58 +0200 Subject: Implement the signal's update default method Adding != operator to Signal class This operator is needed to exclude signal inclusion in notify function and make possible to add a signal at last position Change-Id: I95f3434019383e52928c37f396aae938f2cfae05 Signed-off-by: Romain Forlot --- signal-composer-binding/signal.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'signal-composer-binding/signal.hpp') diff --git a/signal-composer-binding/signal.hpp b/signal-composer-binding/signal.hpp index 2b4a461..815c7d9 100644 --- a/signal-composer-binding/signal.hpp +++ b/signal-composer-binding/signal.hpp @@ -98,7 +98,9 @@ public: explicit operator bool() const; bool operator==(const Signal& other) const; + bool operator!=(const Signal& other) const; bool operator==(const std::string& aName) const; + bool operator!=(const std::string& aName) const; const std::string id() const; json_object* toJSON() const; -- cgit 1.2.3-korg