ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/SteeringWheelRemote/Audacious.cpp
Revision: 6
Committed: 2007-05-06T21:04:16-07:00 (15 years, 4 months ago) by douglas
File size: 802 byte(s)
Log Message:
Worky with Audacious (BMP's true successor?)!

File Contents

# Content
1 // Beep Remote
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #include <audacious/beepctrl.h>
8
9 #include "Audacious.hpp"
10
11 void Audacious::Playlist(char **list, int size, bool enqueue)
12 {
13 ::xmms_remote_playlist(session, list, size, enqueue);
14 }
15
16 int Audacious::GetVersion() const
17 {
18 return ::xmms_remote_get_version(session);
19 }
20
21 int Audacious::GetMainVolume() const
22 {
23 return ::xmms_remote_get_main_volume(session);
24 }
25
26 void Audacious::SetMainVolume(int volume)
27 {
28 ::xmms_remote_set_main_volume(session, volume);
29 }
30
31 void Audacious::PlaylistPrevious()
32 {
33 ::xmms_remote_playlist_prev(session);
34 }
35
36 void Audacious::PlaylistNext()
37 {
38 ::xmms_remote_playlist_next(session);
39 }
40
41 bool Audacious::IsRunning() const
42 {
43 return ::xmms_remote_is_running(session);
44 }
45
46 void Audacious::PlayPause()
47 {
48 ::xmms_remote_play_pause(session);
49 }

Properties

Name Value
svn:keywords Id