mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +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
|
||||
|
||||
@interface GtkApplicationDelegate : NSObject {}
|
||||
@interface GtkApplicationDelegate : NSObject
|
||||
-(BOOL) application:(NSApplication*) app openFile:(NSString*) file;
|
||||
- (NSApplicationTerminateReply) applicationShouldTerminate:(NSApplication *) app;
|
||||
@end
|
||||
|
||||
@implementation GtkApplicationDelegate
|
||||
-(BOOL) application:(NSApplication*) app :(NSString*) file
|
||||
-(BOOL) application:(NSApplication*) app openFile:(NSString*) file
|
||||
{
|
||||
UNUSED_PARAMETER(app);
|
||||
Glib::ustring utf8_path ([file UTF8String]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue