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

34 lines
742 B
C
Raw Normal View History

2011-02-04 16:25:05 +01:00
#import <AppKit/NSApplication.h>
#include "config.h"
#ifdef HAVE_BREAKPAD
#import <Breakpad/Breakpad.h>
#endif
2011-02-04 16:25:05 +01:00
class PlatformInterface;
#ifdef SNOW_LEOPARD
@interface AppDelegate :NSObject <NSApplicationDelegate> {
#else
@interface AppDelegate :NSObject {
#endif
PlatformInterface* application_handler_;
NSMenu* dock_menu_;
#ifdef HAVE_BREAKPAD
BreakpadRef breakpad_;
#endif
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