#include "dialogs/extended.hpp"
#include "dialogs/sout.hpp"
#include "dialogs/open.hpp"
+#include "dialogs/vlm.hpp"
#include "dialogs/help.hpp"
#include "dialogs/gototime.hpp"
#include "dialogs/podcast_configuration.hpp"
+#include "dialogs/vlm.hpp"
+
DialogsProvider* DialogsProvider::instance = NULL;
{
PlaylistDialog::killInstance();
MediaInfoDialog::killInstance();
+ fixed_timer->stop();
}
void DialogsProvider::quit()
case INTF_DIALOG_SAT:
case INTF_DIALOG_CAPTURE:
openCaptureDialog(); break;
+ case INTF_DIALOG_DIRECTORY:
+ PLAppendDir(); break;
case INTF_DIALOG_PLAYLIST:
playlistDialog(); break;
case INTF_DIALOG_MESSAGES:
bookmarksDialog(); break;
case INTF_DIALOG_EXTENDED:
extendedDialog(); break;
- /* We might want to make it better with custom functions */
+ case INTF_DIALOG_VLM:
+ vlmDialog(); break;
+ case INTF_DIALOG_INTERACTION:
+ doInteraction( de->p_arg ); break;
case INTF_DIALOG_POPUPMENU:
QVLCMenu::PopupMenu( p_intf, (de->i_arg != 0) ); break;
case INTF_DIALOG_AUDIOPOPUPMENU:
QVLCMenu::VideoPopupMenu( p_intf ); break;
case INTF_DIALOG_MISCPOPUPMENU:
QVLCMenu::MiscPopupMenu( p_intf ); break;
- case INTF_DIALOG_INTERACTION:
- doInteraction( de->p_arg ); break;
- case INTF_DIALOG_VLM:
- vlmDialog(); break;
case INTF_DIALOG_WIZARD:
+ case INTF_DIALOG_STREAMWIZARD:
case INTF_DIALOG_UPDATEVLC:
case INTF_DIALOG_EXIT:
default:
void DialogsProvider::vlmDialog()
{
- /* FIXME - Implement me */
- /* VLMDialog::getInstance( p_intf )->toggleVisible(); */
+ VLMDialog::getInstance( p_intf )->toggleVisible();
}
void DialogsProvider::helpDialog()
/* BookmarkDialog::getInstance( p_intf )->toggleVisible(); */
}
+void DialogsProvider::podcastConfigureDialog()
+{
+ PodcastConfigDialog::getInstance( p_intf )->toggleVisible();
+}
+
+
/****************************************************************************
* All the open/add stuff
* Open Dialog first - Simple Open then
* pl helps you to choose from playlist or media library,
* go to start or enqueue
**/
-static void openDirectory( intf_thread_t* p_intf, bool pl, bool go )
+static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
{
- QString dir = QFileDialog::getExistingDirectory ( 0, qtr("Open directory") );
+ QString dir = QFileDialog::getExistingDirectory( 0, qtr("Open directory") );
if (!dir.isEmpty()) {
input_item_t *p_input = input_ItemNewExt( THEPL, qtu(dir), NULL,
0, NULL, -1 );
if( qfd->selectedFiles().count() > 0 )
{
static const char psz_xspf[] = "export-xspf",
- psz_m3u[] = "esport-m3u";
+ psz_m3u[] = "export-m3u";
const char *psz_module;
QString file = qfd->selectedFiles().first();
}
}
-void DialogsProvider::podcastConfigureDialog()
-{
- PodcastConfigurationDialog c( p_intf );
- c.exec();
-}
-
void DialogsProvider::switchToSkins()
{
var_SetString( p_intf, "intf-switch", "skins2" );