Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/dlgprefshoutcast.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           dlgprefshoutcast.h  -  description
00003                              -------------------
00004     begin                : Thu Jun 7 2007
00005     copyright            : (C) 2008 by Wesley Stessens
00006                            (C) 2007 by John Sully
00007                            (C) 2008 by Albert Santoni
00008     email                : 
00009  ***************************************************************************/
00010 
00011 /***************************************************************************
00012  *                                                                         *
00013  *   This program is free software; you can redistribute it and/or modify  *
00014  *   it under the terms of the GNU General Public License as published by  *
00015  *   the Free Software Foundation; either version 2 of the License, or     *
00016  *   (at your option) any later version.                                   *
00017  *                                                                         *
00018  ***************************************************************************/
00019 
00020 #ifndef DLGPREFSHOUTCAST_H
00021 #define DLGPREFSHOUTCAST_H
00022 
00023 #include "ui_dlgprefshoutcastdlg.h"
00024 #include "controlobject.h"
00025 #include "configobject.h"
00026 #include "controlobjectthreadmain.h"
00027 
00028 #define SHOUTCAST_PREF_KEY "[Shoutcast]"
00029 #define SHOUTCAST_DEFAULT_PORT "8000"
00030 
00031 class QWidget;
00036 class DlgPrefShoutcast : public QWidget, public Ui::DlgPrefShoutcastDlg  {
00037     Q_OBJECT
00038 public: 
00039     DlgPrefShoutcast(QWidget *parent, ConfigObject<ConfigValue> *_config);
00040     ~DlgPrefShoutcast();
00041 public slots:
00043     void slotApply();
00044     void slotUpdate(); //Does nothing but keep convention (and DlgPreferences happy)
00045 
00046 signals:
00047     void apply(const QString &);
00048 private:
00050     ConfigObject<ConfigValue> *m_pConfig;
00051     ControlObjectThreadMain* m_pUpdateShoutcastFromPrefs; //If set to 1, EngineShoutcast will update it's settings.
00052 
00053 };
00054 
00055 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines