Updated es_ES translation from Manuel AC.
[dcpomatic.git] / src / lib / server.h
index fbcd7e870ff006204739ba26258c26d019dadeb5..0b1950aa7c550e461e2dcf0e1a49ae1964949c49 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #ifndef DCPOMATIC_SERVER_H
 #define DCPOMATIC_SERVER_H
 
+
 #include <boost/thread.hpp>
 #include <boost/asio.hpp>
 #include <boost/thread/condition.hpp>
-#include <boost/noncopyable.hpp>
 #include <string>
 
+
 class Socket;
 
-class Server : public boost::noncopyable
+
+class Server
 {
 public:
        explicit Server (int port, int timeout = 30);
        virtual ~Server ();
 
+       Server (Server const&) = delete;
+       Server& operator= (Server const&) = delete;
+
        virtual void run ();
        void stop ();
 
@@ -53,4 +59,5 @@ private:
        int _timeout;
 };
 
+
 #endif