Commit f312e267 authored by David Fuhrmann's avatar David Fuhrmann

macosx: improve logging for startup and shutdown

parent d405bfb6
......@@ -155,6 +155,8 @@ static int InputEvent(vlc_object_t *p_this, const char *psz_var,
self = [super init];
if(self) {
msg_Dbg(VLCIntf, "Initializing input manager");
o_main = o_mainObj;
var_AddCallback(pl_Get(VLCIntf), "input-current", InputThreadChanged, (__bridge void *)self);
......@@ -126,6 +126,7 @@ static int VolumeUpdated(vlc_object_t *p_this, const char *psz_var,
_outlineView = outlineView;
_playlist = plObj;
msg_Dbg(VLCIntf, "Initializing playlist model");
var_AddCallback(p_playlist, "item-change", PLItemUpdated, (__bridge void *)self);
var_AddCallback(p_playlist, "playlist-item-append", PLItemAppended, (__bridge void *)self);
var_AddCallback(p_playlist, "playlist-item-deleted", PLItemRemoved, (__bridge void *)self);
......@@ -146,6 +147,7 @@ static int VolumeUpdated(vlc_object_t *p_this, const char *psz_var,
- (void)dealloc
msg_Dbg(VLCIntf, "Deinitializing playlist model");
var_DelCallback(p_playlist, "item-change", PLItemUpdated, (__bridge void *)self);
var_DelCallback(p_playlist, "playlist-item-append", PLItemAppended, (__bridge void *)self);
var_DelCallback(p_playlist, "playlist-item-deleted", PLItemRemoved, (__bridge void *)self);
......@@ -96,6 +96,7 @@ int OpenIntf (vlc_object_t *p_this)
[NSBundle loadNibNamed:@"MainMenu" owner:[[VLCMain sharedInstance] mainMenu]];
[[[VLCMain sharedInstance] mainWindow] makeKeyAndOrderFront:nil];
msg_Dbg(p_intf, "Finished loading macosx interface");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment