21 #ifndef REMOTECONTROL_H 22 #define REMOTECONTROL_H 24 #include "Components/PlayManager/PlayState.h" 25 #include "Utils/Playlist/PlaylistFwd.h" 29 #include "Utils/Pimpl.h" 82 bool is_connected()
const;
85 void new_connection();
86 void socket_disconnected();
89 void pos_changed_ms(MilliSeconds pos);
90 void track_changed(
const MetaData& md);
91 void volume_changed(
int vol);
92 void playstate_changed(
PlayState playstate);
95 void _sl_active_changed();
96 void _sl_port_changed();
97 void _sl_broadcast_changed();
104 void set_volume(
int vol);
105 void seek_rel(
int pos_percent);
106 void seek_rel_ms(
int pos_ms);
107 void change_track(
int idx);
110 void request_state();
112 int extract_parameter_int(
const QByteArray& arr,
int cmd_len);
114 void write_playstate();
115 void write_broadcast_info();
116 void write_cur_track();
118 void write_cur_pos();
119 void write_playlist();
122 void write_cover(
const MetaData& md);
124 void write(
const QByteArray& arr);
126 void active_changed();
129 #endif // REMOTECONTROL_H PlayState
The PlayState enum.
Definition: PlayState.h:28
Remote control allows to control Sayonara from an external application via network. Various commands are implemented. Sayonara also delivers information about state changes,The current implemented commands are: .
Definition: RemoteControl.h:72
std::shared_ptr< const Playlist::Base > PlaylistConstPtr
PlaylistConstPtr read only Playlist Pointer.
Definition: PlaylistFwd.h:45