summaryrefslogtreecommitdiff
path: root/src/lib/bitmap_text.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-01-13 00:19:41 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-13 00:19:41 +0100
commit9979e28b2511c15982ca8d083947eedf513b14f3 (patch)
tree1775e3c6fabe4b089d864b1389b6e2b38164c51b /src/lib/bitmap_text.h
parentbbee721034df747169f7d75ef142e57a8a8ed646 (diff)
WIP: partially restore PlayerVideo transfer over network.faster-subtitle-moving
Diffstat (limited to 'src/lib/bitmap_text.h')
-rw-r--r--src/lib/bitmap_text.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/bitmap_text.h b/src/lib/bitmap_text.h
index e9d7c3b79..6fa8ecd60 100644
--- a/src/lib/bitmap_text.h
+++ b/src/lib/bitmap_text.h
@@ -22,9 +22,11 @@
#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