Various attempts to clean up DCP comparison code.
[libdcp.git] / src / reel_sound_asset.h
index 42835c848f192652065db6f0b46368a184b68854..0e27f380e299ac4be657bcd9140d026fd66aacd0 100644 (file)
@@ -21,7 +21,7 @@
  *  @brief ReelSoundAsset class.
  */
 
-#include "reel_asset.h"
+#include "reel_mxf_asset.h"
 #include "sound_mxf.h"
 #include <boost/shared_ptr.hpp>
 #include <string>
@@ -31,10 +31,10 @@ namespace dcp {
 /** @class ReelSoundAsset
  *  @brief Part of a Reel's description which refers to a sound MXF.
  */
-class ReelSoundAsset : public ReelAsset
+class ReelSoundAsset : public ReelMXFAsset
 {
 public:
-       ReelSoundAsset (boost::shared_ptr<Content> content, int64_t entry_point);
+       ReelSoundAsset (boost::shared_ptr<dcp::SoundMXF> content, int64_t entry_point);
        ReelSoundAsset (boost::shared_ptr<const cxml::Node>);
 
        boost::shared_ptr<SoundMXF> mxf () {
@@ -46,6 +46,7 @@ public:
        }
        
 private:
+       std::string key_type () const;
        std::string cpl_node_name () const;
 };