X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fscreens_panel.h;h=510297efb67a285e2bc06b722042b3e90519182d;hb=7c44dc0607d46d93e3b3e9b46d1e5ecd2bc64a99;hp=87f12c701b8cb5641b73e187b8ff945a860f235d;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/screens_panel.h b/src/wx/screens_panel.h index 87f12c701..510297efb 100644 --- a/src/wx/screens_panel.h +++ b/src/wx/screens_panel.h @@ -22,19 +22,23 @@ #include #include #include +#include #include #include +namespace dcpomatic { + class Screen; +} + class Cinema; -class Screen; class ScreensPanel : public wxPanel { public: - ScreensPanel (wxWindow* parent); + explicit ScreensPanel (wxWindow* parent); ~ScreensPanel (); - std::list > screens () const; + std::list > screens () const; void setup_sensitivity (); boost::signals2::signal ScreensChanged; @@ -42,7 +46,7 @@ public: private: void add_cinemas (); void add_cinema (boost::shared_ptr); - boost::optional add_screen (boost::shared_ptr, boost::shared_ptr); + boost::optional add_screen (boost::shared_ptr, boost::shared_ptr); void add_cinema_clicked (); void edit_cinema_clicked (); void remove_cinema_clicked (); @@ -64,7 +68,7 @@ private: wxTreeItemId _root; typedef std::map > CinemaMap; - typedef std::map > ScreenMap; + typedef std::map > ScreenMap; CinemaMap _cinemas; ScreenMap _screens;