Rename Data -> ArrayData.
[libdcp.git] / src / subtitle_image.h
index 3c4b3fe8b7a07e193483036a281eeea6ebb864a1..76c347653c1626c602c273d79f5e90deb0988ede 100644 (file)
 #ifndef LIBDCP_SUBTITLE_IMAGE_H
 #define LIBDCP_SUBTITLE_IMAGE_H
 
+
+#include "array_data.h"
 #include "types.h"
 #include "subtitle.h"
-#include "data.h"
 #include "dcp_time.h"
 #include <boost/optional.hpp>
 #include <string>
@@ -54,7 +55,7 @@ class SubtitleImage : public Subtitle
 {
 public:
        SubtitleImage (
-               Data png_image,
+               ArrayData png_image,
                Time in,
                Time out,
                float h_position,
@@ -66,7 +67,7 @@ public:
                );
 
        SubtitleImage (
-               Data png_image,
+               ArrayData png_image,
                std::string id,
                Time in,
                Time out,
@@ -78,11 +79,11 @@ public:
                Time fade_down_time
                );
 
-       Data png_image () const {
+       ArrayData png_image () const {
                return _png_image;
        }
 
-       void set_png_image (Data png) {
+       void set_png_image (ArrayData png) {
                _png_image = png;
        }
 
@@ -99,7 +100,7 @@ public:
        }
 
 private:
-       Data _png_image;
+       ArrayData _png_image;
        std::string _id;
        mutable boost::optional<boost::filesystem::path> _file;
 };