Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
fac7e3a2
Commit
fac7e3a2
authored
Dec 19, 2004
by
ipkiss
Browse files
* skins2: handle "item-deleted" variable
parent
27fdfcfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/skins2/src/vlcproc.cpp
View file @
fac7e3a2
...
...
@@ -101,9 +101,14 @@ VlcProc::VlcProc( intf_thread_t *pIntf ): SkinObject( pIntf ),
// Called when the playlist changes
var_AddCallback
(
pIntf
->
p_sys
->
p_playlist
,
"intf-change"
,
onIntfChange
,
this
);
/* FIXME : properly handle item-append*/
// Called when a playlist item is added
// TODO: properly handle item-append
var_AddCallback
(
pIntf
->
p_sys
->
p_playlist
,
"item-append"
,
onIntfChange
,
this
);
// Called when a playlist item is deleted
// TODO: properly handle item-deleted
var_AddCallback
(
pIntf
->
p_sys
->
p_playlist
,
"item-deleted"
,
onIntfChange
,
this
);
// Called when the "interface shower" wants us to show the skin
var_AddCallback
(
pIntf
->
p_sys
->
p_playlist
,
"intf-show"
,
onIntfShow
,
this
);
...
...
@@ -141,6 +146,10 @@ VlcProc::~VlcProc()
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"intf-change"
,
onIntfChange
,
this
);
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"item-append"
,
onIntfShow
,
this
);
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"item-deleted"
,
onIntfShow
,
this
);
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"intf-show"
,
onIntfShow
,
this
);
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"playlist-current"
,
...
...
Write
Preview
Supports
Markdown
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