-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhostmulticast.h
71 lines (64 loc) · 1.27 KB
/
hostmulticast.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#ifndef HOSTMULTICAST_H
#define HOSTMULTICAST_H
#include <QDialog>
#include <QListWidgetItem>
#include <QDebug>
namespace Ui {
class HostMulticast;
}
class HostMulticast : public QDialog
{
Q_OBJECT
public:
explicit HostMulticast(QWidget *parent = 0);
~HostMulticast();
QString findFullPath(QString filename);
QStringList* getPlaylist();
private slots:
/**
* starts multicast
*
* @author Joel Stewart
*/
void on_playButton_clicked();
/**
* loads "*.wav" from library of local
*
* @author Joel Stewart
*/
void loadLibrary(QStringList* library);
/**
* adds item to playlist
*
* @param item, item double-clicked
*
* @author Joel Stewart
*/
void on_localLibraryList_itemDoubleClicked(QListWidgetItem* item);
signals:
/**
* signal of song list
*
* @param songs, playlist of songs
*
* @author Joel Stewart
*/
void startMulticast(QStringList *songs);
/**
* play clicked
*
* @author Joel Stewart
*/
void play();
/**
* pause clicked
*
* @author Joel Stewart
*/
void pause();
private:
Ui::HostMulticast *ui;
QStringList library_;
QStringList *playlist_;
};
#endif // HOSTMULTICAST_H