X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Ffilm_editor.h;h=43a1214c2c915aad424bd63178c8852201cb823f;hb=3f5b9a71f980525481251461f9c3d63806972470;hp=28baf410c6fe5f9d627de23fceaeee4d07fcc01c;hpb=8c7a308c03e4b4196b4e2379a26d432b100ae2b1;p=dcpomatic.git diff --git a/src/wx/film_editor.h b/src/wx/film_editor.h index 28baf410c..43a1214c2 100644 --- a/src/wx/film_editor.h +++ b/src/wx/film_editor.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2014 Carl Hetherington + Copyright (C) 2012-2015 Carl Hetherington 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 @@ -16,21 +16,20 @@ 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 #include -#include "lib/film.h" class wxNotebook; -class wxSpinCtrl; 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 (boost::shared_ptr, wxWindow *); + FilmEditor (wxWindow *, FilmViewer* viewer); void set_film (boost::shared_ptr); @@ -49,12 +48,11 @@ public: ContentPanel* content_panel () const { return _content_panel; } - + boost::shared_ptr film () const { return _film; } -private: /* Handle changes to the model */ void film_changed (Film::Property); void film_content_changed (int);