Mercurial > audlegacy
comparison src/audacious/main.c @ 3753:22d71f986b86
export AudDRCT API.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 14 Oct 2007 17:47:13 -0500 |
parents | 259b7d3e0976 |
children | 6aaf5476b765 |
comparison
equal
deleted
inserted
replaced
3752:21a86c4ad40c | 3753:22d71f986b86 |
---|---|
1182 | 1182 |
1183 if (options->activate) | 1183 if (options->activate) |
1184 audacious_remote_activate(session); | 1184 audacious_remote_activate(session); |
1185 } else { | 1185 } else { |
1186 if (options->rew) | 1186 if (options->rew) |
1187 audacious_drct_playlist_prev(); | 1187 drct_pl_prev(); |
1188 | 1188 |
1189 if (options->play) | 1189 if (options->play) |
1190 audacious_drct_play(); | 1190 drct_play(); |
1191 | 1191 |
1192 if (options->pause) | 1192 if (options->pause) |
1193 audacious_drct_pause(); | 1193 drct_pause(); |
1194 | 1194 |
1195 if (options->stop) | 1195 if (options->stop) |
1196 audacious_drct_stop(); | 1196 drct_stop(); |
1197 | 1197 |
1198 if (options->fwd) | 1198 if (options->fwd) |
1199 audacious_drct_playlist_next(); | 1199 drct_pl_next(); |
1200 | 1200 |
1201 if (options->play_pause) { | 1201 if (options->play_pause) { |
1202 if (audacious_drct_get_paused()) | 1202 if (drct_get_paused()) |
1203 audacious_drct_play(); | 1203 drct_play(); |
1204 else | 1204 else |
1205 audacious_drct_pause(); | 1205 drct_pause(); |
1206 } | 1206 } |
1207 | 1207 |
1208 if (options->show_jump_box) | 1208 if (options->show_jump_box) |
1209 audacious_drct_show_jtf_box(); | 1209 drct_jtf_show(); |
1210 | 1210 |
1211 if (options->mainwin) | 1211 if (options->mainwin) |
1212 audacious_drct_main_win_toggle(TRUE); | 1212 drct_main_win_toggle(TRUE); |
1213 | 1213 |
1214 if (options->activate) | 1214 if (options->activate) |
1215 audacious_drct_activate(); | 1215 drct_activate(); |
1216 } | 1216 } |
1217 | 1217 |
1218 if(remote) { | 1218 if(remote) { |
1219 gboolean is_running = audacious_remote_is_running(session); | 1219 gboolean is_running = audacious_remote_is_running(session); |
1220 if (is_running) | 1220 if (is_running) |