WIP: partially restore PlayerVideo transfer over network.
[dcpomatic.git] / src / lib / bitmap_text.h
index e9d7c3b796211a367d5ac9bb1ade3890c48f5025..6fa8ecd60c1bdfa8e323f1105c33eb8196a9feb8 100644 (file)
 #define DCPOMATIC_BITMAP_CAPTION_H
 
 #include "rect.h"
+#include <libxml++/libxml++.h>
 #include <boost/shared_ptr.hpp>
 
 class Image;
+class Socket;
 
 class BitmapText
 {
@@ -34,6 +36,9 @@ public:
                , rectangle (r)
        {}
 
+       void transfer_xml (xmlpp::Node* node) const;
+       void transfer_binary (boost::shared_ptr<Socket> socket) const;
+
        boost::shared_ptr<Image> image;
        /** Area that the subtitle covers on its corresponding video, expressed in
         *  proportions of the image size; e.g. rectangle.x = 0.5 would mean that