Modernize MP4Dump

This commit is contained in:
Damiano Galassi committed 2025-03-10 10:00:05 +01:00
1 parent f3226469d7
commit e07c39b039
3 files changed
+11 -1

No files matched your search

+1 -1
View File
@@ -9,5 +9,5 @@
#import <Cocoa/Cocoa.h> #import <Cocoa/Cocoa.h>
@interface AppDelegate : NSObject @interface AppDelegate : NSObject<NSApplicationDelegate>
@end @end
+5
View File
@@ -52,4 +52,9 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap)
return NO; return NO;
} }
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app
{
return YES;
}
@end @end
+5
View File
@@ -52,6 +52,11 @@ extern NSString *libraryPath;
} }
} }
+ (BOOL)autosavesInPlace
{
return NO;
}
- (void)_resetTextView - (void)_resetTextView
{ {
textView.string = @""; textView.string = @"";