Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
7ef8f73c
Commit
7ef8f73c
authored
Aug 07, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
control/libvlc_internal.h: Comment fix.
parent
664fa731
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
25 deletions
+26
-25
src/control/libvlc_internal.h
src/control/libvlc_internal.h
+26
-25
No files found.
src/control/libvlc_internal.h
View file @
7ef8f73c
...
@@ -78,6 +78,7 @@ struct libvlc_media_instance_t
...
@@ -78,6 +78,7 @@ struct libvlc_media_instance_t
avoid any crash */
avoid any crash */
struct
libvlc_instance_t
*
p_libvlc_instance
;
/* Parent instance */
struct
libvlc_instance_t
*
p_libvlc_instance
;
/* Parent instance */
libvlc_media_descriptor_t
*
p_md
;
/* current media descriptor */
libvlc_media_descriptor_t
*
p_md
;
/* current media descriptor */
libvlc_event_manager_t
*
p_event_manager
;
};
};
...
@@ -88,56 +89,56 @@ struct libvlc_media_instance_t
...
@@ -88,56 +89,56 @@ struct libvlc_media_instance_t
*
*
* struct libvlc_cool_object_t
* struct libvlc_cool_object_t
* {
* {
*
...
*
...
*
libvlc_event_manager_t * p_event_manager;
*
libvlc_event_manager_t * p_event_manager;
*
...
*
...
* }
* }
*
*
* libvlc_my_cool_object_new()
* libvlc_my_cool_object_new()
* {
* {
*
...
*
...
*
p_self->p_event_manager = libvlc_event_manager_init( p_self,
*
p_self->p_event_manager = libvlc_event_manager_init( p_self,
*
p_self->p_libvlc_instance, p_e);
*
p_self->p_libvlc_instance, p_e);
*
libvlc_event_manager_register_event_type(p_self->p_event_manager,
*
libvlc_event_manager_register_event_type(p_self->p_event_manager,
*
libvlc_MyCoolObjectDidSomething, p_e)
*
libvlc_MyCoolObjectDidSomething, p_e)
*
...
*
...
* }
* }
*
*
* libvlc_my_cool_object_release()
* libvlc_my_cool_object_release()
* {
* {
*
...
*
...
*
libvlc_event_manager_release( p_self->p_event_manager );
*
libvlc_event_manager_release( p_self->p_event_manager );
*
...
*
...
* }
* }
*
*
* libvlc_my_cool_object_do_something()
* libvlc_my_cool_object_do_something()
* {
* {
*
...
*
...
*
libvlc_event_t event;
*
libvlc_event_t event;
*
event.type = libvlc_MyCoolObjectDidSomething;
*
event.type = libvlc_MyCoolObjectDidSomething;
*
event
.my_cool_object_did_something.what_it_did = kSomething;
*
event.u
.my_cool_object_did_something.what_it_did = kSomething;
*
libvlc_event_send( p_self->p_event_manager, &event );
*
libvlc_event_send( p_self->p_event_manager, &event );
* }
* }
* */
* */
typedef
struct
libvlc_event_listener_t
typedef
struct
libvlc_event_listener_t
{
{
libvlc_event_type_t
event_type
;
libvlc_event_type_t
event_type
;
void
*
p_user_data
;
void
*
p_user_data
;
libvlc_callback_t
pf_callback
;
libvlc_callback_t
pf_callback
;
}
libvlc_event_listener_t
;
}
libvlc_event_listener_t
;
typedef
struct
libvlc_event_listeners_group_t
typedef
struct
libvlc_event_listeners_group_t
{
{
libvlc_event_type_t
event_type
;
libvlc_event_type_t
event_type
;
DECL_ARRAY
(
libvlc_event_listener_t
*
)
listeners
;
DECL_ARRAY
(
libvlc_event_listener_t
*
)
listeners
;
}
libvlc_event_listeners_group_t
;
}
libvlc_event_listeners_group_t
;
typedef
struct
libvlc_event_manager_t
typedef
struct
libvlc_event_manager_t
{
{
void
*
p_obj
;
void
*
p_obj
;
struct
libvlc_instance_t
*
p_libvlc_instance
;
struct
libvlc_instance_t
*
p_libvlc_instance
;
DECL_ARRAY
(
libvlc_event_listeners_group_t
*
)
listeners_groups
;
DECL_ARRAY
(
libvlc_event_listeners_group_t
*
)
listeners_groups
;
}
libvlc_event_sender_t
;
}
libvlc_event_sender_t
;
...
...
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