/*
- Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
+#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 *);
+ explicit DirPickerCtrl (wxWindow *);
wxString GetPath () const;
void SetPath (wxString);
+ boost::signals2::signal<void ()> Changed;
+
private:
void browse_clicked ();
wxSizer* _sizer;
};
+#endif