/*
- 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.
class FilmEditor : public wxPanel
{
public:
- FilmEditor (wxWindow *);
+ FilmEditor (wxWindow *, FilmViewer* viewer);
void set_film (boost::shared_ptr<Film>);
ContentPanel* content_panel () const {
return _content_panel;
}
-
+
boost::shared_ptr<Film> film () const {
return _film;
}