#include <vlc/vlc.h>
#include <vlc_interface.h>
+#define ADD_FILTER_MEDIA( string ) \
+ string += _("Media Files"); \
+ string += " ( "; \
+ string += EXTENSIONS_MEDIA; \
+ string += ");;";
+#define ADD_FILTER_VIDEO( string ) \
+ string += _("Video Files"); \
+ string += " ( "; \
+ string += EXTENSIONS_VIDEO; \
+ string += ");;";
+#define ADD_FILTER_AUDIO( string ) \
+ string += _("Audio Files"); \
+ string += " ( "; \
+ string += EXTENSIONS_AUDIO; \
+ string += ");;";
+#define ADD_FILTER_PLAYLIST( string )\
+ string += _("Playlist Files"); \
+ string += " ( "; \
+ string += EXTENSIONS_PLAYLIST; \
+ string += ");;";
+#define ADD_FILTER_ALL( string ) \
+ string += _("All Files"); \
+ string += " (*.*)";
+
+
class QEvent;
class QSignalMapper;
class QVLCMenu;
}
virtual ~DialogsProvider();
QTimer *fixed_timer;
+
+ QStringList showSimpleOpen( QString help = QString(), bool all = true,
+ bool video = true, bool audio = true,
+ bool subs = true, bool pls = true );
protected:
friend class QVLCMenu;
QSignalMapper *menusMapper;
DialogsProvider( intf_thread_t *);
intf_thread_t *p_intf;
static DialogsProvider *instance;
- QStringList showSimpleOpen();
void addFromSimple( bool, bool );
public slots:
void playlistDialog();
void bookmarksDialog();
void mediaInfoDialog();
+ void mediaCodecDialog();
void prefsDialog();
void extendedDialog();
void messagesDialog();
void simpleMLAppendDialog();
void simpleOpenDialog();
void openDialog();
+ void openDialog(int );
+ void openFileDialog();
+ void openNetDialog();
+ void openCaptureDialog();
+ void openDiscDialog();
void PLAppendDialog();
void MLAppendDialog();
- void openDialog( int );
void popupMenu( int );
void doInteraction( intf_dialog_args_t * );
void menuAction( QObject *);