Remove in-place translations support.
[dcpomatic.git] / src / lib / json_server.h
index 996b9bf79eb1077fe7db19346c2ca3ccfe7ccfa0..c97e496d1442c6308fa300c254834462b26cd578 100644 (file)
 class JSONServer
 {
 public:
-       JSONServer (int port);
+       explicit JSONServer (int port);
 
 private:
        void run (int port);
-       void handle (boost::shared_ptr<boost::asio::ip::tcp::socket> socket);
-       void request (std::string url, boost::shared_ptr<boost::asio::ip::tcp::socket> socket);
+       void handle (std::shared_ptr<boost::asio::ip::tcp::socket> socket);
+       void request (std::string url, std::shared_ptr<boost::asio::ip::tcp::socket> socket);
 };