Fix uninitialised variable.
[dcpomatic.git] / src / wx / config_dialog.h
index 1a9d97a436f0eee010a34ddac1941c596f108b62..5203af609f8e13673968d50dca03610cdf8496ee 100644 (file)
@@ -44,6 +44,8 @@
 #include <boost/foreach.hpp>
 #include <iostream>
 
+class AudioMappingView;
+
 class Page
 {
 public:
@@ -200,12 +202,45 @@ private:
        void config_changed ();
         boost::optional<std::string> get_sound_output ();
        void sound_changed ();
-        void sound_output_changed ();
+       void sound_output_changed ();
        void setup_sensitivity ();
+       void map_changed (AudioMapping m);
+       void reset_to_default ();
 
        wxCheckBox* _sound;
        wxChoice* _sound_output;
        wxStaticText* _sound_output_details;
+       AudioMappingView* _map;
+       Button* _reset_to_default;
 };
 
+class LocationsPage : public StandardPage
+{
+public:
+       LocationsPage (wxSize panel_size, int border);
+
+       wxString GetName () const;
+
+#ifdef DCPOMATIC_OSX
+       wxBitmap GetLargeIcon () const;
+#endif
+
+private:
+       void setup ();
+       void config_changed ();
+       void content_directory_changed ();
+       void playlist_directory_changed ();
+       void kdm_directory_changed ();
+
+#ifdef DCPOMATIC_VARIANT_SWAROOP
+       void background_image_changed ();
+#endif
+
+       wxDirPickerCtrl* _content_directory;
+       wxDirPickerCtrl* _playlist_directory;
+       wxDirPickerCtrl* _kdm_directory;
+#ifdef DCPOMATIC_VARIANT_SWAROOP
+       FilePickerCtrl* _background_image;
+#endif
+};
 #endif