X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ffilter_dialog.h;h=775995f38f9c1fb4972e0594d32264ad010edcaf;hp=d54e6f2e452c6c047dfc2cfb970eb668690142b7;hb=c622a06189181a3a6ad356094c9a3cf4e1f5a722;hpb=373f010a7f04add1f49169cbaa60cb7ae5f508d4 diff --git a/src/wx/filter_dialog.h b/src/wx/filter_dialog.h index d54e6f2e4..775995f38 100644 --- a/src/wx/filter_dialog.h +++ b/src/wx/filter_dialog.h @@ -1,19 +1,20 @@ /* - Copyright (C) 2012 Carl Hetherington + Copyright (C) 2012-2020 Carl Hetherington - This program is free software; you can redistribute it and/or modify + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + DCP-o-matic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ @@ -21,11 +22,13 @@ * @brief A dialog to select FFmpeg filters. */ +#include "lib/warnings.h" +DCPOMATIC_DISABLE_WARNINGS #include +DCPOMATIC_ENABLE_WARNINGS #include class Film; -class FilterEditor; class Filter; /** @class FilterDialog @@ -40,6 +43,8 @@ public: private: void active_changed (); - - FilterEditor* _filters; + void filter_toggled (); + std::vector active () const; + + std::map _filters; };