Sayonara Player
src
Gui
Plugins
Stream
GUI_ConfigureStreams.h
1
/* GUI_ConfigureStreams.h */
2
3
/* Copyright (C) 2011-2019 Lucio Carreras
4
*
5
* This file is part of sayonara player
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
22
23
#ifndef GUI_CONFIGURESTREAMS_H
24
#define GUI_CONFIGURESTREAMS_H
25
26
#include <QObject>
27
#include "Gui/Utils/Widgets/Dialog.h"
28
#include "Utils/Pimpl.h"
29
30
UI_FWD(
GUI_ConfigureStreams
)
31
32
class
GUI_ConfigureStreams
:
33
public Gui::Dialog
34
{
35
Q_OBJECT
36
UI_CLASS(
GUI_ConfigureStreams
)
37
38
public
:
39
40
enum
Mode
41
{New, Edit};
42
43
GUI_ConfigureStreams
(
const
QString& type, Mode mode, QWidget* parent=
nullptr
);
44
~
GUI_ConfigureStreams
();
45
46
QString url()
const
;
47
QString name()
const
;
48
49
void
set_url(
const
QString& url);
50
void
set_name(
const
QString& name);
51
void
set_error_message(
const
QString& message);
52
53
void
set_mode(
const
QString& trype, Mode mode);
54
bool
was_accepted()
const
;
55
};
56
57
#endif // GUI_CONFIGURESTREAMS_H
GUI_ConfigureStreams
Definition:
GUI_ConfigureStreams.h:32
Generated on Sun Nov 17 2019 00:00:00 for Sayonara Player by
1.8.16