summaryrefslogtreecommitdiff
path: root/src/mxf.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-04 22:55:10 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-05 14:35:32 +0100
commit7b717db244554300ebed8eade8421ee3faa28d33 (patch)
treeb2000a7049585378d9c98bf2e4edd2115eeca47d /src/mxf.h
parentb7f478b7c5d2e53205dd77dee6955f6d7ac1ce5c (diff)
Unpick MXF from the class hierarchy.
Diffstat (limited to 'src/mxf.h')
-rw-r--r--src/mxf.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/mxf.h b/src/mxf.h
index b5200b08..e05ddbcd 100644
--- a/src/mxf.h
+++ b/src/mxf.h
@@ -27,7 +27,6 @@
#include <boost/signals2.hpp>
namespace ASDCP {
- class AESEncContext;
class AESDecContext;
class WriterInfo;
}
@@ -45,18 +44,11 @@ class PictureMXFWriter;
/** @class MXF
* @brief Parent class for classes which represent MXF files.
*/
-class MXF : public Asset
+class MXF
{
public:
MXF ();
- MXF (boost::filesystem::path file);
- ~MXF ();
-
- bool equals (
- boost::shared_ptr<const Asset> other,
- EqualityOptions opt,
- NoteHandler note
- ) const;
+ virtual ~MXF ();
/** @return true if the data is encrypted */
bool encrypted () const {
@@ -103,7 +95,7 @@ protected:
* @param w struct to fill in.
* @param standard INTEROP or SMPTE.
*/
- void fill_writer_info (ASDCP::WriterInfo* w, Standard standard);
+ void fill_writer_info (ASDCP::WriterInfo* w, std::string id, Standard standard);
ASDCP::AESDecContext* _decryption_context;
/** ID of the key used for encryption/decryption, if there is one */