WIP: partially restore PlayerVideo transfer over network.
[dcpomatic.git] / src / lib / font.h
index 5876bf8a46052cbbbd75ad2adb941a581b2c7029..f6949e419c1b29cf6988c7f9bd57ec5021f6cc64 100644 (file)
@@ -27,6 +27,8 @@
 #include <boost/filesystem.hpp>
 #include <string>
 
+class Socket;
+
 namespace dcpomatic {
 
 class Font
@@ -37,7 +39,10 @@ public:
 
        explicit Font (cxml::NodePtr node);
 
-       void as_xml (xmlpp::Node* node);
+       void as_xml (xmlpp::Node* node) const;
+
+       void transfer_xml (xmlpp::Node* node) const;
+       void transfer_binary (boost::shared_ptr<Socket> socket) const;
 
        std::string id () const {
                return _id;