projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extract check_certificates() method.
[dcpomatic.git]
/
src
/
lib
/
encode_server_description.h
diff --git
a/src/lib/encode_server_description.h
b/src/lib/encode_server_description.h
index 0b9d72f4452362e78b711cb4f74d5e8944cdc587..f60051b85fcd9a06c7b98348f2ed20bc0b0ae50e 100644
(file)
--- a/
src/lib/encode_server_description.h
+++ b/
src/lib/encode_server_description.h
@@
-21,6
+21,7
@@
#ifndef DCPOMATIC_ENCODE_SERVER_DESCRIPTION_H
#define DCPOMATIC_ENCODE_SERVER_DESCRIPTION_H
#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
#include <boost/date_time/posix_time/posix_time.hpp>
/** @class EncodeServerDescription
@@
-59,8
+60,8
@@
public:
return _threads;
}
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) {
}
void set_host_name (std::string n) {