diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-01-09 15:05:33 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-01-09 15:05:33 +0000 |
commit | 07197b0c4a8153ad65daecf920d0e0d51b1bebbc (patch) | |
tree | 52b20e6ecd1ea961f5581cbdfaadc0da1838fef1 /src/mpris2-interfaces.vala | |
parent | d34f1878510f6f23a0e238e359d0e057f2991908 (diff) | |
download | ayatana-indicator-sound-07197b0c4a8153ad65daecf920d0e0d51b1bebbc.tar.gz ayatana-indicator-sound-07197b0c4a8153ad65daecf920d0e0d51b1bebbc.tar.bz2 ayatana-indicator-sound-07197b0c4a8153ad65daecf920d0e0d51b1bebbc.zip |
nice refactor or mpris code
Diffstat (limited to 'src/mpris2-interfaces.vala')
-rw-r--r-- | src/mpris2-interfaces.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mpris2-interfaces.vala b/src/mpris2-interfaces.vala index 88610e6..9d0b8c9 100644 --- a/src/mpris2-interfaces.vala +++ b/src/mpris2-interfaces.vala @@ -16,6 +16,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +const string MPRIS_PREFIX = "org.mpris.MediaPlayer2."; +const string MPRIS_MEDIA_PLAYER_PATH = "/org/mpris/MediaPlayer2"; [DBus (name = "org.mpris.MediaPlayer2")] public interface MprisRoot : Object { @@ -24,7 +26,7 @@ public interface MprisRoot : Object { public abstract bool CanQuit{owned get; set;} public abstract bool CanRaise{owned get; set;} public abstract string Identity{owned get; set;} - public abstract string DesktopEntry{owned get; set;} + public abstract string DesktopEntry{owned get; set;} // methods public abstract async void Quit() throws IOError; public abstract async void Raise() throws IOError; |