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
8c64238e
Commit
8c64238e
authored
Jan 19, 2010
by
Jean-Philippe André
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extensions: core function dialog_ExtensionUpdate
parent
83f26349
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
src/interface/dialog.c
src/interface/dialog.c
+21
-0
src/libvlccore.sym
src/libvlccore.sym
+1
-0
No files found.
src/interface/dialog.c
View file @
8c64238e
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_dialog.h>
#include <vlc_dialog.h>
#include <vlc_extensions.h>
#include <assert.h>
#include <assert.h>
#include "libvlc.h"
#include "libvlc.h"
...
@@ -259,3 +260,23 @@ bool dialog_ProgressCancelled (dialog_progress_bar_t *dialog)
...
@@ -259,3 +260,23 @@ bool dialog_ProgressCancelled (dialog_progress_bar_t *dialog)
return
dialog
->
pf_check
(
dialog
->
p_sys
);
return
dialog
->
pf_check
(
dialog
->
p_sys
);
}
}
#undef dialog_ExtensionUpdate
int
dialog_ExtensionUpdate
(
vlc_object_t
*
obj
,
extension_dialog_t
*
dialog
)
{
assert
(
obj
);
assert
(
dialog
);
vlc_object_t
*
dp
=
dialog_GetProvider
(
obj
);
if
(
!
dp
)
{
msg_Warn
(
obj
,
"Dialog provider is not set, can't update dialog '%s'"
,
dialog
->
psz_title
);
return
VLC_EGENERIC
;
}
// Signaling the dialog provider
int
ret
=
var_SetAddress
(
dp
,
"dialog-extension"
,
dialog
);
vlc_object_release
(
dp
);
return
ret
;
}
src/libvlccore.sym
View file @
8c64238e
...
@@ -102,6 +102,7 @@ demux_GetParentInput
...
@@ -102,6 +102,7 @@ demux_GetParentInput
demux_PacketizerDestroy
demux_PacketizerDestroy
demux_PacketizerNew
demux_PacketizerNew
demux_vaControlHelper
demux_vaControlHelper
dialog_ExtensionUpdate
dialog_Login
dialog_Login
dialog_ProgressCancelled
dialog_ProgressCancelled
dialog_ProgressCreate
dialog_ProgressCreate
...
...
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