X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_editor.h;h=43a1214c2c915aad424bd63178c8852201cb823f;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=a198d7aa7d0ce221b0e246a13b3bd24bdd6667d6;hpb=2d24bc7aaed800415bce4fffe06f261d5e9e464a;p=dcpomatic.git diff --git a/src/wx/film_editor.h b/src/wx/film_editor.h index a198d7aa7..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 (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);