]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/simple_preferences.hpp
Fix #1487
[vlc] / modules / gui / qt4 / components / simple_preferences.hpp
index bb7a5082d02544e413097700f74e91526fe0c128..4210cca196b1600c77bf1d7e598407fd1ca3470a 100644 (file)
@@ -2,7 +2,7 @@
  * simple_preferences.hpp : Simple prefs
  ****************************************************************************
  * Copyright (C) 2006 the VideoLAN team
- * $Id: preferences.hpp 16348 2006-08-25 21:10:10Z zorglub $
+ * $Id$
  *
  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
  *
@@ -61,7 +61,7 @@ enum {
     CachingHigher = 500
 };
 
-enum { alsaW = 0, ossW, directxW, fileW, audioOutCoB, normalizerChB };
+enum { alsaW = 0, ossW, directxW, fileW, audioOutCoB, normalizerChB, volLW };
 enum { recordChB, dumpChB, bandwidthChB, timeshiftChB, inputLE, cachingCoB };
 enum { skinRB, qtRB };
 
@@ -73,7 +73,7 @@ class QCheckBox;
 class QString;
 
 #ifdef WIN32
-class QListWidgetItem;
+class QTreeWidgetItem;
 #endif
 
 class SPrefsCatList : public QWidget
@@ -108,13 +108,15 @@ private:
     QString qs_filter;
 
 #ifdef WIN32
-    QList<QListWidgetItem *> listAsso;
+    QList<QTreeWidgetItem *> listAsso;
+    bool addType( const char * psz_ext, QTreeWidgetItem*, QTreeWidgetItem*, QVLCRegistry* );
 #endif
 
 /* Display only the options for the selected audio output */
 private slots:
     void lastfm_Changed( int );
-    void updateAudioOptions( int ); 
+    void updateAudioOptions( int );
+    void updateAudioVolume( int );
 #ifdef SYS_MINGW32
     void assoDialog();
     void saveAsso();