Supporters update.
[dcpomatic.git] / src / lib / encode_server_description.h
index 0b9d72f4452362e78b711cb4f74d5e8944cdc587..f79b890f7144c3b68eed6b49f5c350fdbdc9b8d1 100644 (file)
 
 */
 
+
 #ifndef DCPOMATIC_ENCODE_SERVER_DESCRIPTION_H
 #define DCPOMATIC_ENCODE_SERVER_DESCRIPTION_H
 
+
+#include "types.h"
 #include <boost/date_time/posix_time/posix_time.hpp>
 
+
 /** @class EncodeServerDescription
  *  @brief Class to describe a server to which we can send encoding work.
  */
@@ -59,8 +63,8 @@ public:
                return _threads;
        }
 
-       int link_version () const {
-               return _link_version;
+       bool current_link_version () const {
+               return _link_version == SERVER_LINK_VERSION;
        }
 
        void set_host_name (std::string n) {