diff options
author | Alessio Treglia <alessio@debian.org> | 2012-02-16 11:06:56 +0100 |
---|---|---|
committer | Alessio Treglia <alessio@debian.org> | 2012-02-16 11:06:56 +0100 |
commit | 1d323e54ee434609cf035598486075c9a918a2d3 (patch) | |
tree | 929ad92f19dfbb5492471449f1a6a918ea99c6b8 /src/myserver.h | |
parent | 99b53d44a60e3e934fc664152c115ae0d6e19920 (diff) |
Imported Upstream version 0.6.10
Diffstat (limited to 'src/myserver.h')
-rw-r--r-- | src/myserver.h | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/src/myserver.h b/src/myserver.h index 77406b6..bbbae63 100644 --- a/src/myserver.h +++ b/src/myserver.h @@ -1,5 +1,5 @@ /* smplayer, GUI front-end for mplayer. - Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.org> + Copyright (C) 2006-2011 Ricardo Villalba <rvm@escomposlinux.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -45,11 +45,21 @@ public: QStringList actionsList() { return actions_list; }; signals: + void receivedPlayItem(int); + void receivedRemoveItem(int); + void receivedMoveItem(int, int); void receivedOpen(QString); void receivedOpenFiles(QStringList); void receivedAddFiles(QStringList); void receivedFunction(QString); void receivedLoadSubtitle(QString); + void receivedViewPlaylist(QString*); + void receivedViewStatus(QString*); + void receivedViewClipInfo(QString*); + void receivedSeek(double); + void receivedGetChecked(QString, QString*); + void receivedGetVolume(int*); + void receivedSetVolume(int); protected slots: void readData(); @@ -89,6 +99,15 @@ public: QStringList actionsList() { return actions_list; }; signals: + //! Emitted when the client requests that a certain file in the playlist is played. + void receivedPlayItem(int); + + //! Emitted when the client requests that a certain file in the playlist is removed. + void receivedRemoveItem(int); + + //! Emitted when the client requests that a certain file in the playlist is moved. + void receivedMoveItem(int, int); + //! Emitted when the client request to open a new file. void receivedOpen(QString); @@ -104,6 +123,26 @@ signals: //! Emitted when the client requests to load an external subtitle file. void receivedLoadSubtitle(QString); + //! Emitted when the client requests the current playlist + //output is tab seperated, with each line containing filename, name, duration (sec) + void receivedViewPlaylist(QString*); + + //! Emitted when the client requests the current status + void receivedViewStatus(QString*); + + //! Emitted when the client requests a seek to the specified second + void receivedSeek(double); + + //! Emitted when the client requests the clip info for the current track + void receivedViewClipInfo(QString*); + + //! Emitted when the client request the state of a checkable action + void receivedGetChecked(QString, QString*); + + //! Emitted when the client requests the current volume (be changed). + void receivedGetVolume(int*); + void receivedSetVolume(int); + protected slots: void newConnection_slot(); |