Clementine-audio-player-Mac.../src/core/mac_delegate.h

29 lines
685 B
C
Raw Normal View History

2011-02-04 16:25:05 +01:00
#import <AppKit/NSApplication.h>
#import <Breakpad/Breakpad.h>
2011-02-04 16:25:05 +01:00
#include "config.h"
class PlatformInterface;
#ifdef SNOW_LEOPARD
@interface AppDelegate :NSObject <NSApplicationDelegate> {
#else
@interface AppDelegate :NSObject {
#endif
PlatformInterface* application_handler_;
NSMenu* dock_menu_;
BreakpadRef breakpad_;
2011-02-04 16:25:05 +01:00
}
- (id) initWithHandler: (PlatformInterface*)handler;
// NSApplicationDelegate
- (BOOL) applicationShouldHandleReopen: (NSApplication*)app hasVisibleWindows:(BOOL)flag;
- (NSMenu*) applicationDockMenu: (NSApplication*)sender;
- (void) setDockMenu: (NSMenu*)menu;
- (NSApplicationTerminateReply) applicationShouldTerminate:(NSApplication*)sender;
2011-02-04 16:25:05 +01:00
@end