/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef WIDGET_GTK_MPRIS_INTERFACE_DESCRIPTION_H_
#define WIDGET_GTK_MPRIS_INTERFACE_DESCRIPTION_H_
#include <gio/gio.h>
extern const gchar introspection_xml[] =
// adopted from https://github.com/freedesktop/mpris-spec/blob/master/spec/org.mpris.MediaPlayer2.xml
// everything starting with tp can be removed, as it is used for HTML Spec Documentation Generation
""
"org.mpris.MediaPlayer2\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
"Raise\"/>"
"Quit\"/>"
"CanQuit\" type=\" b\" access=\" read\"/>"
"CanRaise\" type=\" b\" access=\" read\"/>"
"HasTrackList\" type=\" b\" access=\" read\"/>"
"Identity\" type=\" s\" access=\" read\"/>"
"DesktopEntry\" type=\" s\" access=\" read\"/>"
"SupportedUriSchemes\" type=\" as\" access=\" read\"/>"
"SupportedMimeTypes\" type=\" as\" access=\" read\"/>"
" "
// Note that every property emits a changed signal (which is default) apart from Position.
"org.mpris.MediaPlayer2.Player\">"
"Next\"/>"
"Previous\"/>"
"Pause\"/>"
"PlayPause\"/>"
"Stop\"/>"
"Play\"/>"
"Seek\">"
"in\" type=\" x\" name=\" Offset\"/>"
" "
"SetPosition\">"
"in\" type=\" o\" name=\" TrackId\"/>"
"in\" type=\" x\" name=\" Position\"/>"
" "
"OpenUri\">"
"in\" type=\" s\" name=\" Uri\"/>"
" "
"PlaybackStatus\" type=\" s\" access=\" read\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
" "
"Rate\" type=\" d\" access=\" readwrite\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
" "
"Metadata\" type=\" a{sv}\" access=\" read\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
" "
"Volume\" type=\" d\" access=\" readwrite\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
" "
"Position\" type=\" x\" access=\" read\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" false \"/>"
" "
"MinimumRate\" type=\" d\" access=\" read\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
" "
"MaximumRate\" type=\" d\" access=\" read\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
" "
"CanGoNext\" type=\" b\" access=\" read\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
" "
"CanGoPrevious\" type=\" b\" access=\" read\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
" "
"CanPlay\" type=\" b\" access=\" read\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
" "
"CanPause\" type=\" b\" access=\" read\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
" "
"CanSeek\" type=\" b\" access=\" read\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" true \"/>"
" "
"CanControl\" type=\" b\" access=\" read\">"
"org.freedesktop.DBus.Property.EmitsChangedSignal\" value=\" false \"/>"
" "
"Seeked\">"
"Position\" type=\" x\"/>"
" "
" "
"" ;
#endif // WIDGET_GTK_MPRIS_INTERFACE_DESCRIPTION_H_
quality 100%
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet)
¤
*© Formatika GbR, Deutschland