Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
[dcpomatic.git] / src / wx / film_editor.h
index 25749fffaf10ec8d3120ee1f02a442fa31ecde11..e19fcabdf81cd45db2fe0fd0ac8551a08b7c33d5 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 */
-/** @file src/film_editor.h
- *  @brief A wx widget to edit a film's metadata, and perform various functions.
+
+/** @file src/wx/film_editor.h
+ *  @brief FilmEditor class.
  */
 
+#include "lib/film.h"
 #include <wx/wx.h>
 #include <boost/signals2.hpp>
-#include "lib/film.h"
 
-class wxSpinCtrl;
 class wxNotebook;
 class Film;
-class Ratio;
 class ContentPanel;
 class DCPPanel;
+class FilmViewer;
 
 /** @class FilmEditor
  *  @brief A wx widget to edit a film's metadata, and perform various functions.
@@ -38,7 +37,7 @@ class DCPPanel;
 class FilmEditor : public wxPanel
 {
 public:
-       FilmEditor (wxWindow *);
+       FilmEditor (wxWindow *, FilmViewer* viewer);
 
        void set_film (boost::shared_ptr<Film>);
 
@@ -49,7 +48,7 @@ public:
        ContentPanel* content_panel () const {
                return _content_panel;
        }
-       
+
        boost::shared_ptr<Film> film () const {
                return _film;
        }
@@ -59,7 +58,7 @@ public:
        void film_content_changed (int);
 
        void set_general_sensitivity (bool);
-       void active_jobs_changed (bool);
+       void active_jobs_changed (boost::optional<std::string>);
 
        wxNotebook* _main_notebook;
        ContentPanel* _content_panel;