Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
e9075349
Commit
e9075349
authored
Aug 13, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Returns object hierarchy with root object introspection data. Thanks to eean.
Uses correct interface name.
parent
4a0090f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
modules/control/dbus.c
modules/control/dbus.c
+1
-1
modules/control/dbus.h
modules/control/dbus.h
+5
-3
No files found.
modules/control/dbus.c
View file @
e9075349
...
@@ -615,7 +615,7 @@ DBUS_METHOD( Random )
...
@@ -615,7 +615,7 @@ DBUS_METHOD( Random )
*****************************************************************************/
*****************************************************************************/
DBUS_METHOD
(
handle_introspect_root
)
DBUS_METHOD
(
handle_introspect_root
)
{
/* handles introspection of
/org/videolan/vlc
*/
{
/* handles introspection of
root object
*/
REPLY_INIT
;
REPLY_INIT
;
OUT_ARGUMENTS
;
OUT_ARGUMENTS
;
ADD_STRING
(
&
psz_introspection_xml_data_root
);
ADD_STRING
(
&
psz_introspection_xml_data_root
);
...
...
modules/control/dbus.h
View file @
e9075349
...
@@ -88,7 +88,9 @@
...
@@ -88,7 +88,9 @@
const
char
*
psz_introspection_xml_data_root
=
const
char
*
psz_introspection_xml_data_root
=
"<!DOCTYPE node PUBLIC
\"
-//freedesktop//DTD D-BUS Object Introspection 1.0//EN
\"\n
"
"<!DOCTYPE node PUBLIC
\"
-//freedesktop//DTD D-BUS Object Introspection 1.0//EN
\"\n
"
"
\"
http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd
\"
>
\n
"
"
\"
http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd
\"
>
\n
"
"<node>"
"<node>
\n
"
" <node name=
\"
Player
\"
/>
\n
"
" <node name=
\"
TrackList
\"
/>
\n
"
" <interface name=
\"
org.freedesktop.DBus.Introspectable
\"
>
\n
"
" <interface name=
\"
org.freedesktop.DBus.Introspectable
\"
>
\n
"
" <method name=
\"
Introspect
\"
>
\n
"
" <method name=
\"
Introspect
\"
>
\n
"
" <arg name=
\"
data
\"
direction=
\"
out
\"
type=
\"
s
\"
/>
\n
"
" <arg name=
\"
data
\"
direction=
\"
out
\"
type=
\"
s
\"
/>
\n
"
...
@@ -111,7 +113,7 @@ const char* psz_introspection_xml_data_player =
...
@@ -111,7 +113,7 @@ const char* psz_introspection_xml_data_player =
" <arg name=
\"
data
\"
direction=
\"
out
\"
type=
\"
s
\"
/>
\n
"
" <arg name=
\"
data
\"
direction=
\"
out
\"
type=
\"
s
\"
/>
\n
"
" </method>
\n
"
" </method>
\n
"
" </interface>
\n
"
" </interface>
\n
"
" <interface name=
\"
org.
videolan.vlc
\"
>
\n
"
" <interface name=
\"
org.
freedesktop.MediaPlayer
\"
>
\n
"
" <method name=
\"
GetStatus
\"
>
\n
"
" <method name=
\"
GetStatus
\"
>
\n
"
" <arg type=
\"
i
\"
direction=
\"
out
\"
/>
\n
"
" <arg type=
\"
i
\"
direction=
\"
out
\"
/>
\n
"
" </method>
\n
"
" </method>
\n
"
...
@@ -160,7 +162,7 @@ const char* psz_introspection_xml_data_tracklist =
...
@@ -160,7 +162,7 @@ const char* psz_introspection_xml_data_tracklist =
" <arg name=
\"
data
\"
direction=
\"
out
\"
type=
\"
s
\"
/>
\n
"
" <arg name=
\"
data
\"
direction=
\"
out
\"
type=
\"
s
\"
/>
\n
"
" </method>
\n
"
" </method>
\n
"
" </interface>
\n
"
" </interface>
\n
"
" <interface name=
\"
org.
videolan.vlc
\"
>
\n
"
" <interface name=
\"
org.
freedesktop.MediaPlayer
\"
>
\n
"
" <method name=
\"
AddTrack
\"
>
\n
"
" <method name=
\"
AddTrack
\"
>
\n
"
" <arg type=
\"
s
\"
direction=
\"
in
\"
/>
\n
"
" <arg type=
\"
s
\"
direction=
\"
in
\"
/>
\n
"
" <arg type=
\"
b
\"
direction=
\"
in
\"
/>
\n
"
" <arg type=
\"
b
\"
direction=
\"
in
\"
/>
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment