No-op: remove all trailing whitespace.
[dcpomatic.git] / src / lib / update.h
index 5bb9e95016de1ed2bace2ec556fd54f9dccfef07..b82be7808f7fa0c957a98c02a7ad69a3685e8b5d 100644 (file)
@@ -21,6 +21,7 @@
  *  @brief UpdateChecker class.
  */
 
+#include "signaller.h"
 #include <curl/curl.h>
 #include <boost/signals2.hpp>
 #include <boost/thread/mutex.hpp>
@@ -30,7 +31,7 @@
 struct update_checker_test;
 
 /** Class to check for the existance of an update for DCP-o-matic on a remote server */
-class UpdateChecker : public boost::noncopyable
+class UpdateChecker : public Signaller, public boost::noncopyable
 {
 public:
        UpdateChecker ();
@@ -50,7 +51,7 @@ public:
                boost::mutex::scoped_lock lm (_data_mutex);
                return _state;
        }
-       
+
        /** @return new stable version, if there is one */
        boost::optional<std::string> stable () {
                boost::mutex::scoped_lock lm (_data_mutex);
@@ -62,7 +63,7 @@ public:
                boost::mutex::scoped_lock lm (_data_mutex);
                return _test;
        }
-       
+
        /** @return true if the last signal emission was the first */
        bool last_emit_was_first () const {
                boost::mutex::scoped_lock lm (_data_mutex);
@@ -77,7 +78,7 @@ public:
 
 private:
        friend struct update_checker_test;
-       
+
        static UpdateChecker* _instance;
 
        static bool version_less_than (std::string const & a, std::string const & b);