Rest of src/lib/*.h tidying.
authorCarl Hetherington <cth@carlh.net>
Wed, 26 Aug 2015 18:26:41 +0000 (19:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 26 Aug 2015 18:26:41 +0000 (19:26 +0100)
31 files changed:
src/lib/analyse_audio_job.cc
src/lib/audio_decoder_stream.cc
src/lib/audio_decoder_stream.h
src/lib/film.cc
src/lib/filter_graph.h
src/lib/image.cc
src/lib/image.h
src/lib/kdm.h
src/lib/piece.h
src/lib/player.h
src/lib/player_video.h
src/lib/playlist.h
src/lib/raw_convert.h
src/lib/resampler.h
src/lib/server.h
src/lib/server_finder.h
src/lib/signal_manager.h
src/lib/signaller.h
src/lib/sndfile_content.h
src/lib/sndfile_decoder.h
src/lib/subrip.h
src/lib/subtitle_decoder.h
src/lib/transcoder.h
src/lib/types.cc
src/lib/types.h
src/lib/util.cc
src/lib/util.h
src/lib/writer.h
src/wx/content_menu.cc
src/wx/screen_dialog.h
src/wx/timeline.cc

index e997c03c57b729ce274ec46b0a49a63ca8d9bd81..0660d8f2027b79c4a19ff160ccdf1ae4b3dbd5a7 100644 (file)
@@ -20,6 +20,7 @@
 #include "audio_analysis.h"
 #include "audio_buffers.h"
 #include "analyse_audio_job.h"
+#include "audio_content.h"
 #include "compose.hpp"
 #include "film.h"
 #include "player.h"
index 52a33c172a2cd416fd13a6908fb64af74cb1768a..2f12af19821d5cfc571c775ac3f4fd111873a857 100644 (file)
@@ -25,6 +25,7 @@
 #include "util.h"
 #include "film.h"
 #include "log.h"
+#include "audio_content.h"
 #include "compose.hpp"
 #include <iostream>
 
index 5c772e4f7cc9423ed172e0fe51f53e7b4acbd781..3503a46d107d76468474e7202e04b9dd382506ed 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "audio_stream.h"
 #include "content_audio.h"
+#include "dcpomatic_time.h"
 #include <boost/shared_ptr.hpp>
 
 class AudioContent;
index 8cd9f9548ab646d9ac9dc258013f16b197371a01..ea11cf0bd2b15247da968a626ec5fd06f54e394a 100644 (file)
 #include "md5_digester.h"
 #include "compose.hpp"
 #include "screen.h"
+#include "audio_content.h"
+#include "video_content.h"
+#include "subtitle_content.h"
+#include "ffmpeg_content.h"
 #include <libcxml/cxml.h>
 #include <dcp/cpl.h>
 #include <dcp/certificate_chain.h>
index 6a520300b22af2c23b891dde36eb09b56a36b551..8a8dd9a30e4da857fc46ccff6f649ad53aa8669f 100644 (file)
@@ -27,6 +27,7 @@
 #include "util.h"
 
 struct AVFilterContext;
+struct AVFrame;
 class Image;
 class FFmpegContent;
 
index fcdcca95aad3909353a99e8a60a62edebf929d4e..a327c3f855356ace8dacede031fabae880618941 100644 (file)
@@ -32,6 +32,7 @@ extern "C" {
 #include <libswscale/swscale.h>
 #include <libavutil/pixfmt.h>
 #include <libavutil/pixdesc.h>
+#include <libavutil/frame.h>
 }
 #include <iostream>
 
index 7c5f50a622f9b9c07aaaf8b465387088c06b2f59..2d267f861e72a64cd337036bfe815943350a077a 100644 (file)
@@ -27,6 +27,9 @@
 #include "position.h"
 #include "position_image.h"
 #include "types.h"
+extern "C" {
+#include <libavutil/pixfmt.h>
+}
 #include <dcp/colour_conversion.h>
 #include <boost/shared_ptr.hpp>
 
index a776b62b312766eea3194ce66292e80f29e2ef7b..c6962c196859697941782566c89b1ad88bdb81c2 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <dcp/local_time.h>
 #include <dcp/types.h>
-#include <boost/date_time.hpp>
 #include <boost/filesystem.hpp>
 
 class Screen;
index 9aaeec3014f3811a50570a141d023c4bd9b79670..cebc3fb1416dc1dcd72d852f7efab1369fa993f7 100644 (file)
@@ -21,7 +21,6 @@
 #define DCPOMATIC_PIECE_H
 
 #include "types.h"
-#include "video_content.h"
 
 class Content;
 class Decoder;
index a795f8174323002900ece524f1cffcad88309cdd..061388c4489b6354463edf3fb8e17c6878e2caa2 100644 (file)
 #ifndef DCPOMATIC_PLAYER_H
 #define DCPOMATIC_PLAYER_H
 
-#include "content.h"
+#include "player_subtitles.h"
 #include "film.h"
-#include "rect.h"
-#include "audio_content.h"
-#include "dcpomatic_time.h"
-#include "content_subtitle.h"
+#include "content.h"
 #include "position_image.h"
 #include "piece.h"
-#include "content_video.h"
-#include "player_subtitles.h"
 #include <boost/shared_ptr.hpp>
 #include <boost/enable_shared_from_this.hpp>
 #include <list>
 
-class Job;
-class Film;
-class AudioContent;
-class Piece;
-class Image;
-class Decoder;
-class Resampler;
 class PlayerVideo;
-class ImageProxy;
+class Playlist;
 class Font;
+class AudioBuffers;
 
 /** @class Player
  *  @brief A class which can `play' a Playlist.
index 0a6cab9069e189c9ea6bdf1161a1a9912edf59a1..77e19a80e7c911057aa1bd29897a763fc99b93e1 100644 (file)
 
 #include "types.h"
 #include "position.h"
+#include "dcpomatic_time.h"
 #include "colour_conversion.h"
 #include "position_image.h"
+#include "data.h"
 extern "C" {
 #include <libavutil/pixfmt.h>
 }
@@ -29,7 +31,6 @@ extern "C" {
 class Image;
 class ImageProxy;
 class Socket;
-class Data;
 
 /** Everything needed to describe a video frame coming out of the player, but with the
  *  bits still their raw form.  We may want to combine the bits on a remote machine,
index 3829d6f31e9254367b006823aa44f8f000d477fe..d9c035ac77b2b628113098c4cf1e9ee32fd22f84 100644 (file)
 #ifndef DCPOMATIC_PLAYLIST_H
 #define DCPOMATIC_PLAYLIST_H
 
-#include "ffmpeg_content.h"
-#include "audio_mapping.h"
 #include "util.h"
 #include "frame_rate_change.h"
+#include <libcxml/cxml.h>
 #include <boost/shared_ptr.hpp>
-#include <boost/enable_shared_from_this.hpp>
+#include <boost/signals2.hpp>
 #include <list>
 
-class Content;
-class FFmpegContent;
-class FFmpegDecoder;
-class StillImageMagickContent;
-class StillImageMagickDecoder;
-class SndfileContent;
-class SndfileDecoder;
-class Job;
 class Film;
-class Region;
 
 struct ContentSorter
 {
index 2e5d1373cabe956a0d29862ea36172e473bcbbab..b0973583a9e0d7619fefe8019de38a5e7106fa6d 100644 (file)
@@ -17,8 +17,8 @@
 
 */
 
-#include <iomanip>
 #include "safe_stringstream.h"
+#include <iomanip>
 
 /** A sort-of version of boost::lexical_cast that does uses the "C"
  *  locale (i.e. no thousands separators and a . for the decimal separator).
index 332b9b4b1ce2d7d821af17b5d6b39ab6a89f18eb..36b991ddf5190a140a933aa8780bf06c4ed5a544 100644 (file)
@@ -18,7 +18,6 @@
 */
 
 #include "types.h"
-#include "audio_content.h"
 extern "C" {
 #include <libswresample/swresample.h>
 }
index 314102c1c2b7f5c78ba7cc29c814d46214ab89bc..fd765e16037d95cfbb009c4113122d6d64600f3d 100644 (file)
 class Socket;
 class Log;
 
-namespace cxml {
-       class Node;
-}
-
 /** @class Server
  *  @brief A class to run a server which can accept requests to perform JPEG2000
  *  encoding work.
index 400cabe0e93532f970fbe43dfe19a472bcff5675..134759ea3239299f1a996a00a57f4a8ffeaab9a5 100644 (file)
@@ -20,6 +20,7 @@
 #include "signaller.h"
 #include "server_description.h"
 #include "config.h"
+#include "exceptions.h"
 #include <boost/signals2.hpp>
 #include <boost/thread/condition.hpp>
 
index 546d3d739af0ac531685be0454c49731e4d8eca9..b8d892c41dc264e527d094e6336c9ebd8697125b 100644 (file)
@@ -20,7 +20,6 @@
 #ifndef DCPOMATIC_SIGNAL_MANAGER_H
 #define DCPOMATIC_SIGNAL_MANAGER_H
 
-#include <boost/bind.hpp>
 #include <boost/asio.hpp>
 #include <boost/thread.hpp>
 
index fa249078c1f1fd30609c3609a7a2776444199c0c..13474ee91baa3eac4e9c7d98042e29f17f68f0aa 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "signal_manager.h"
 #include <boost/thread/mutex.hpp>
-#include <boost/signals2.hpp>
 
 class WrapperBase
 {
index c07b823d4bcd52e7a82c971cf7df7c7a02e11a1f..9dcf954b5e55b09b9c6e1a088dd78a80f0d370f2 100644 (file)
 #define DCPOMATIC_SNDFILE_CONTENT_H
 
 #include "single_stream_audio_content.h"
-extern "C" {
-#include <libavutil/audioconvert.h>
-}
-
-namespace cxml {
-       class Node;
-}
 
 class SndfileContent : public SingleStreamAudioContent
 {
index 7fcf5037c424f2e32b1df6659970c12fbebd39fa..c8d1f1f592df633efa5d7cd9f7d823bb5ac12425 100644 (file)
@@ -17,9 +17,7 @@
 
 */
 
-#include "decoder.h"
 #include "audio_decoder.h"
-#include "audio_examiner.h"
 #include "sndfile_base.h"
 
 class SndfileContent;
index 217c03ecd585c9890d4d6dbf6b1468b1105f345b..35687eb00ce0636d36bb630d3f533455fb9208de 100644 (file)
 #ifndef DCPOMATIC_SUBRIP_H
 #define DCPOMATIC_SUBRIP_H
 
-#include "subrip_subtitle.h"
+#include "dcpomatic_time.h"
 #include <sub/subtitle.h>
+#include <boost/shared_ptr.hpp>
+#include <vector>
 
 class SubRipContent;
 class subrip_time_test;
index 5f11e27e7157a3c607175d994fbefdb63ea8f83e..d01c4e45b0ba5480567818d3f53809d1683fa325 100644 (file)
@@ -26,8 +26,6 @@
 #include "content_subtitle.h"
 #include <dcp/subtitle_string.h>
 
-class Film;
-class DCPTimedSubtitle;
 class Image;
 
 class SubtitleDecoder : public virtual Decoder
index ed0a6b1b561bb45a628080819d0866944e8a37f8..0dc0560c0c0313b44e5a6a5ab66486182761a592 100644 (file)
 */
 
 #include "types.h"
-#include "encoder.h"
 
 class Film;
 class Encoder;
-class VideoFilter;
 class Player;
+class Writer;
+class Job;
 
 /** @class Transcoder */
 class Transcoder : public boost::noncopyable
index 6ab4d56f2e09776743d56354838a231c71eedfad..694c34cc0f2aeb04d0015389d8e78b9862827ba2 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include "types.h"
+#include "dcpomatic_assert.h"
 #include "raw_convert.h"
 #include <libxml++/libxml++.h>
 #include <libcxml/cxml.h>
index adb2268e38cbd6ca095166b749aaa3a155e81d6e..d0f4ec1f8955d20421aecabda5a1b720849be6eb 100644 (file)
@@ -20,7 +20,6 @@
 #ifndef DCPOMATIC_TYPES_H
 #define DCPOMATIC_TYPES_H
 
-#include "dcpomatic_time.h"
 #include "position.h"
 #include "rect.h"
 #include <dcp/util.h>
@@ -33,7 +32,6 @@ class VideoContent;
 class AudioContent;
 class SubtitleContent;
 class FFmpegContent;
-class AudioBuffers;
 
 namespace cxml {
        class Node;
index bccc368da51442a0ff51028c6b7a665d7bed6874..c9a530aafeb3569cc7b6d188a55059c5c70a61ec 100644 (file)
@@ -42,6 +42,7 @@
 #include <dcp/subtitle_asset.h>
 extern "C" {
 #include <libavfilter/avfilter.h>
+#include <libavcodec/avcodec.h>
 }
 #include <curl/curl.h>
 #include <glib.h>
index 9e811f8ad19f2c823cccbb140885497bfd9cce0d..a0218fc39efb95164d3962ca71e4d5e25ad1b0b4 100644 (file)
@@ -27,9 +27,6 @@
 #include "types.h"
 #include "dcpomatic_time.h"
 #include <dcp/util.h>
-extern "C" {
-#include <libavcodec/avcodec.h>
-}
 #include <boost/shared_ptr.hpp>
 #include <boost/optional.hpp>
 #include <boost/filesystem.hpp>
@@ -41,7 +38,6 @@ extern "C" {
 namespace dcp {
        class PictureAsset;
        class SoundAsset;
-       class SubtitleAsset;
 }
 
 /** The maximum number of audio channels that we can have in a DCP */
index 486d7d672aa31357b330259cfa89bffc9fbfff0b..3455bfd839797c0444b26c3c0f4df708bc188700 100644 (file)
@@ -21,7 +21,6 @@
  *  @brief Writer class.
  */
 
-#include "exceptions.h"
 #include "types.h"
 #include "player_subtitles.h"
 #include "data.h"
index 159239345296dd8bad7cbac4e48509ffbcbb8381..a1d412b62ea6344a61c3e6d6d1b5b20aeb266e36 100644 (file)
@@ -31,6 +31,7 @@
 #include "lib/job_manager.h"
 #include "lib/exceptions.h"
 #include "lib/dcp_content.h"
+#include "lib/ffmpeg_content.h"
 #include <wx/wx.h>
 #include <wx/dirdlg.h>
 
index cf8d3da180dc14ab247911cd69ae1b3117ef69d7..c88b3bb312170660c710e7ca09c0120fbf424309 100644 (file)
 
 */
 
+#include "table_dialog.h"
+#include <dcp/certificate.h>
 #include <wx/wx.h>
 #include <boost/shared_ptr.hpp>
-#include <dcp/certificate.h>
-#include "table_dialog.h"
 
 class Progress;
 
index 4f0eef0e12358286aa8eefee285bff8e878bc9d7..9a9dfc26d764ec08efb038e1f27427d83b165672 100644 (file)
 
 */
 
-#include <list>
-#include <wx/graphics.h>
-#include <boost/weak_ptr.hpp>
-#include "lib/film.h"
-#include "lib/playlist.h"
-#include "lib/image_content.h"
 #include "film_editor.h"
 #include "timeline.h"
 #include "timeline_time_axis_view.h"
 #include "timeline_subtitle_content_view.h"
 #include "content_panel.h"
 #include "wx_util.h"
+#include "lib/film.h"
+#include "lib/playlist.h"
+#include "lib/image_content.h"
+#include "lib/audio_content.h"
+#include "lib/subtitle_content.h"
+#include <wx/graphics.h>
+#include <boost/weak_ptr.hpp>
+#include <list>
 
 using std::list;
 using std::cout;