Separate ExceptionStore.
[dcpomatic.git] / src / lib / writer.h
index 90b36962cf0acf3637b3bf948c4464ceac247413..79322bacd154ae93b8eade5eb12fdf7107b19a7f 100644 (file)
  *  @brief Writer class.
  */
 
-#include "exceptions.h"
 #include "types.h"
 #include "player_subtitles.h"
 #include "data.h"
+#include "exception_store.h"
 #include <dcp/picture_asset_writer.h>
 #include <boost/shared_ptr.hpp>
 #include <boost/weak_ptr.hpp>
@@ -56,7 +56,7 @@ public:
        QueueItem ()
                : size (0)
        {}
-       
+
        enum Type {
                /** a normal frame with some JPEG200 data */
                FULL,
@@ -98,7 +98,7 @@ public:
        ~Writer ();
 
        bool can_fake_write (int) const;
-       
+
        void write (Data, int, Eyes);
        void fake_write (int, Eyes);
        void repeat (int, Eyes);
@@ -149,7 +149,7 @@ private:
         *  ordering
         */
        int _maximum_frames_in_memory;
-       
+
        /** number of FULL written frames */
        int _full_written;
        /** number of FAKE written frames */
@@ -159,7 +159,7 @@ private:
            due to the limit of frames to be held in memory.
        */
        int _pushed_to_disk;
-       
+
        boost::shared_ptr<dcp::PictureAsset> _picture_asset;
        boost::shared_ptr<dcp::PictureAssetWriter> _picture_asset_writer;
        boost::shared_ptr<dcp::SoundAsset> _sound_asset;