]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwindows/preferences_widgets.h
Improvements to preferences
[vlc] / modules / gui / wxwindows / preferences_widgets.h
index 51669c61e794a3d3e3e27e572a29ddc60d61db58..88bd1ba7fb7bc2e6a3a9f97166c3ae0d4db45c9b 100644 (file)
@@ -21,6 +21,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+#include <vector>
+
 class ConfigControl: public wxPanel
 {
 public:
@@ -82,6 +84,28 @@ private:
     wxComboBox *combo;
 };
 
+struct moduleCheckBox {
+    wxCheckBox *checkbox;
+    char *psz_module;
+};
+
+class ModuleListCatConfigControl: public ConfigControl
+{
+public:
+    ModuleListCatConfigControl( vlc_object_t *, module_config_t *, wxWindow * );
+    ~ModuleListCatConfigControl();
+    virtual wxString GetPszValue();
+private:
+    std::vector<moduleCheckBox *> pp_checkboxes;
+
+    void OnUpdate( wxCommandEvent& );
+    
+    wxTextCtrl *text;
+    DECLARE_EVENT_TABLE()
+};
+
+;
+
 class StringConfigControl: public ConfigControl
 {
 public:
@@ -190,3 +214,10 @@ private:
 
     DECLARE_EVENT_TABLE()
 };
+
+class SectionConfigControl: public ConfigControl
+{
+public:
+    SectionConfigControl( vlc_object_t *, module_config_t *, wxWindow * );
+    ~SectionConfigControl();
+};