aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-interfaces.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-09 16:31:12 +0000
committerConor Curran <conor.curran@canonical.com>2011-01-09 16:31:12 +0000
commitc49d87b94dc4a8fe3ccb2c150ad1cd34404630f2 (patch)
tree8824cfe53ae0fea3a90f6489e3eed8610e74da86 /src/mpris2-interfaces.vala
parentce996a8b02131d9711cc3dee67f6c3844e55b8e8 (diff)
parent33e8e6c2ac125ba3806032ea3ef730bd5c782ac8 (diff)
downloadayatana-indicator-sound-c49d87b94dc4a8fe3ccb2c150ad1cd34404630f2.tar.gz
ayatana-indicator-sound-c49d87b94dc4a8fe3ccb2c150ad1cd34404630f2.tar.bz2
ayatana-indicator-sound-c49d87b94dc4a8fe3ccb2c150ad1cd34404630f2.zip
mpris interface introspection working nicel to determine playlist support
Diffstat (limited to 'src/mpris2-interfaces.vala')
-rw-r--r--src/mpris2-interfaces.vala4
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;