diff --git a/MP42/MP42File.h b/MP42/MP42File.h index 7671c59..dc84de7 100644 --- a/MP42/MP42File.h +++ b/MP42/MP42File.h @@ -30,7 +30,23 @@ extern NSString * const MP42OrganizeAlternateGroups; - (void)endSave:(id)sender; @end -@interface MP42File : NSObject +@class MP42Muxer; + +@interface MP42File : NSObject { + MP42FileHandle _fileHandle; + NSURL *_fileURL; + id _delegate; + + NSMutableArray *_tracksToBeDeleted; + NSMutableDictionary *_importers; + + BOOL _hasFileRepresentation; + BOOL _cancelled; + + NSMutableArray *_tracks; + MP42Metadata *_metadata; + MP42Muxer *_muxer; +} @property(readwrite, assign) id delegate; diff --git a/MP42/MP42File.m b/MP42/MP42File.m index 23c1212..9d6673a 100644 --- a/MP42/MP42File.m +++ b/MP42/MP42File.m @@ -68,21 +68,7 @@ static void logCallback(MP4LogLevel loglevel, const char* fmt, va_list ap) } } -@interface MP42File () { - MP4FileHandle _fileHandle; - NSURL *_fileURL; - id _delegate; - - NSMutableArray *_tracksToBeDeleted; - NSMutableDictionary *_importers; - - BOOL _hasFileRepresentation; - BOOL _cancelled; - - NSMutableArray *_tracks; - MP42Metadata *_metadata; - MP42Muxer *_muxer; -} +@interface MP42File (MP42FilePrivate) - (void)reconnectReferences; - (void)removeMuxedTrack:(MP42Track *)track; @@ -546,7 +532,7 @@ static void logCallback(MP4LogLevel loglevel, const char* fmt, va_list ap) [self removeMuxedTrack:track]; // Init the muxer and prepare the work - _muxer = [[MP42Muxer alloc] initWithDelegate:self]; + _muxer = [[MP42Muxer alloc] initWithDelegate:(id )self]; for (MP42Track *track in _tracks) { if (!track.muxed) { diff --git a/MP42Foundation.xcodeproj/project.xcworkspace/xcuserdata/damians.xcuserdatad/UserInterfaceState.xcuserstate b/MP42Foundation.xcodeproj/project.xcworkspace/xcuserdata/damians.xcuserdatad/UserInterfaceState.xcuserstate index 3677a67..a38d0bb 100644 Binary files a/MP42Foundation.xcodeproj/project.xcworkspace/xcuserdata/damians.xcuserdatad/UserInterfaceState.xcuserstate and b/MP42Foundation.xcodeproj/project.xcworkspace/xcuserdata/damians.xcuserdatad/UserInterfaceState.xcuserstate differ