Added AVAHI support to promoe. Check the promoe.pro file to enable / disable it.

This commit is contained in:
Tobias Rundstrom 2006-03-09 00:42:12 -03:00
parent dec1b66342
commit 056e50ea51
7 changed files with 280 additions and 5 deletions

View file

@ -1,6 +1,10 @@
#include <xmmsclient/xmmsclient++.h>
#include "MainWindow.h"
#ifdef HAVE_SERVERBROWSER
#include "ServerBrowser.h"
#endif
#include <QSettings>
#include <QIcon>
#include <QPluginLoader>
@ -155,7 +159,6 @@ main (int argc, char **argv)
playlistwin->move (settings.value("playlist/pos").toPoint ());
playlistwin->move (settings.value("playlist/pos").toPoint ());
if (!settings.contains ("playlist/hidden"))
settings.setValue ("playlist/hidden", true);
@ -164,5 +167,10 @@ main (int argc, char **argv)
else
playlistwin->show ();
#ifdef HAVE_SERVERBROWSER
ServerBrowserWindow *browser = new ServerBrowserWindow (mw);
browser->show ();
#endif
return app.exec();
}