Supporters update.
[dcpomatic.git] / src / wx / dir_picker_ctrl.h
index 383362f570d97095e296d6559af3e2d23da44b36..f70168db48fa98f08be28deab3d2d34c78cb0bb5 100644 (file)
 
 */
 
+
+#ifndef DCPOMATIC_DIR_PICKER_CTRL
+#define DCPOMATIC_DIR_PICKER_CTRL
+
+
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
+#include <boost/signals2.hpp>
+
 
 class DirPickerCtrl : public wxPanel
 {
 public:
-       DirPickerCtrl (wxWindow *, wxSize size = wxDefaultSize);
+       explicit DirPickerCtrl (wxWindow *);
 
        wxString GetPath () const;
        void SetPath (wxString);
 
+       boost::signals2::signal<void ()> Changed;
+
 private:
        void browse_clicked ();
 
@@ -36,3 +48,5 @@ private:
        wxString _path;
        wxSizer* _sizer;
 };
+
+#endif