You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.0 KiB

#import <Foundation/Foundation.h>
@implementation TestClass
- (NSDictionary *)constructUploadHeaders {
NSDictionary *headers;
headers = @{
@"Content-Length": [@(contentLength) stringValue],
@"Content-Length2": [contentLength stringValue],
@"Content-Disposition": [NSString stringWithFormat:@"name=\"%@\"; filename=\"%@\"", @"asset_data", identifier],
@"Content-Type": @"application/octet-stream",
@"ETag": uploadEtag
};
return headers;
}
- (BOOL)isStrimmed {
if ([(TestClassVideoEditorView *) (self.parentComponentsView.superview) isTrimmed]) {
return YES;
}
if ([((TestClassVideoEditorView *) self.parentComponentsView.superview) isTrimmed]) {
return YES;
}
return NO;
}
- (void)session {
TestCaseSessionInstance *session = ((TestClassVideoEditorView *) self.parentComponentsView.superview).session;
[(TestClassVideoEditorView *) (self.parentComponentsView.superview) closeEditor];
[menubutton.badge setBadgeText:[@(count + 1) stringValue]];
}
@end