/* */
/* =============================================================*/
-@interface GstGLNSWindow: NSWindow <NSApplicationDelegate> {
+@interface GstGLNSWindow: NSWindow {
BOOL m_isClosed;
GstGLWindowCocoa *window_cocoa;
}
GST_DEBUG ("NSWindow id: %"G_GUINTPTR_FORMAT, (guintptr) priv->internal_win_id);
- [[NSApplication sharedApplication] setDelegate: priv->internal_win_id];
-
return TRUE;
}
return YES;
}
-- (void) applicationDidFinishLaunching: (NSNotification *) not {
-}
-
-- (void) applicationWillFinishLaunching: (NSNotification *) not {
-}
-
-- (BOOL) applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)app {
- /* the application is manually stopped by calling stopApp on the AppThreadPerformer */
- return NO;
-}
-
-- (void) applicationWillTerminate:(NSNotification *)aNotification {
-}
-
@end