aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-04-21 08:33:11 -0400
committerKen Moore <ken@ixsystems.com>2017-04-21 08:33:11 -0400
commit2554f98e2d74362d0ed8da6b6a813bacf05c6af2 (patch)
tree72da8d47c5bf225af3bf4b3cc5989b2d43a368be /src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h
parentMake the RSS reader a bit more relaxed about the RSS return format (make feed... (diff)
parentGet more of the "local" file playback functional. Now it seems almost full-fe... (diff)
downloadlumina-2554f98e2d74362d0ed8da6b6a813bacf05c6af2.tar.gz
lumina-2554f98e2d74362d0ed8da6b6a813bacf05c6af2.tar.bz2
lumina-2554f98e2d74362d0ed8da6b6a813bacf05c6af2.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h')
-rw-r--r--src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h b/src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h
index f250c964..eadd314d 100644
--- a/src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h
+++ b/src-qt5/desktop-utils/lumina-mediaplayer/PianoBarProcess.h
@@ -40,6 +40,8 @@ public:
QStringList stations();
void setCurrentStation(QString station);
+ void answerQuestion(int selection = -1); //-1 = cancel
+
//Settings Manipulation
QString audioQuality(); // "audio_quality" = [low, medium, high]
void setAudioQuality(QString); // [low, medium, high]
@@ -50,6 +52,11 @@ public:
QString controlProxy(); //"control_proxy" = URL (example: "http://USER:PASSWORD@HOST:PORT/" )
void setControlProxy(QString);
+ //libao audio driver control
+ QString currentAudioDriver();
+ QStringList availableAudioDrivers();
+ void setAudioDriver(QString driver);
+
private:
//Process
QProcess *PROC;
@@ -71,6 +78,7 @@ private:
//Cached Info
QString cstation; //current station
QStringList stationList;
+ bool makingStation;
public slots:
void play(); // "P"
@@ -87,7 +95,7 @@ public slots:
void bookmarkArtist(){ sendToProcess("b"); sendToProcess("a",true); } //"b"->"a"
void deleteCurrentStation(); //"d"
- //void createNewStation(); //"c"
+ void createNewStation(QString searchterm); //"c"
void createStationFromCurrentSong(); //"v" -> "s"
void createStationFromCurrentArtist(); //"v" -> "a"
@@ -107,8 +115,9 @@ signals:
void NowPlayingStation(QString, QString); //[name, id]
void NowPlayingSong(bool, QString,QString,QString, QString, QString); //[isLoved, title, artist, album, detailsURL, fromStation]
void TimeUpdate(int, int); //[current secs, total secs];
- void NewList(QStringList); //arranged in order: 0-end
+ void NewQuestion(QString, QStringList); //text, options arranged in order: 0-end
void StationListChanged(QStringList);
void currentStateChanged(PianoBarProcess::State);
+ void showError(QString); //important error message to show the user
};
#endif
bgstack15