mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
fix declaration of Cocoa NSApplicationDelegate methods
This commit is contained in:
parent
7c7f642a6f
commit
bd3643a597
1 changed files with 4 additions and 2 deletions
|
|
@ -1424,11 +1424,13 @@ namespace Gtk {
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface GtkApplicationDelegate : NSObject {}
|
@interface GtkApplicationDelegate : NSObject
|
||||||
|
-(BOOL) application:(NSApplication*) app openFile:(NSString*) file;
|
||||||
|
- (NSApplicationTerminateReply) applicationShouldTerminate:(NSApplication *) app;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation GtkApplicationDelegate
|
@implementation GtkApplicationDelegate
|
||||||
-(BOOL) application:(NSApplication*) app :(NSString*) file
|
-(BOOL) application:(NSApplication*) app openFile:(NSString*) file
|
||||||
{
|
{
|
||||||
UNUSED_PARAMETER(app);
|
UNUSED_PARAMETER(app);
|
||||||
Glib::ustring utf8_path ([file UTF8String]);
|
Glib::ustring utf8_path ([file UTF8String]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue