* 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>
*
# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
#include <vlc_interface.h>
#include <QWidget>
CachingHigher = 500
};
-enum { alsaW = 0, ossW, directxW, fileW, audioOutCoB, normalizerChB };
+enum {
+#ifdef WIN32
+ directxW,
+#else
+ alsaW,
+ ossW,
+#endif
+ fileW,
+ audioOutCoB,
+ normalizerChB,
+ volLW };
enum { recordChB, dumpChB, bandwidthChB, timeshiftChB, inputLE, cachingCoB };
enum { skinRB, qtRB };
class QString;
#ifdef WIN32
-class QListWidgetItem;
+class QTreeWidgetItem;
#endif
class SPrefsCatList : public QWidget
Q_OBJECT
public:
SPrefsPanel( intf_thread_t *, QWidget *, int );
- virtual ~SPrefsPanel() {};
+ virtual ~SPrefsPanel();
void apply();
void clean();
private:
QList<QWidget *> optionWidgets;
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();