Commit 9103b7e7 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Cosmetics

parent 93ef1d1f
......@@ -29,8 +29,7 @@
@class MLFile;
@interface MLLabel : NSManagedObject
{
}
+ (NSArray *)allLabels;
- (NSArray *)sortedFolderItems;
......
......@@ -28,8 +28,6 @@
@class MLShowEpisode;
@interface MLShow : NSManagedObject
{
}
+ (NSArray *)allShows;
+ (MLShow *)showWithName:(NSString *)name;
......
......@@ -25,9 +25,7 @@
@class MLFile;
@interface MLCrashPreventer : NSObject {
NSMutableArray *_parsedFiles;
}
@interface MLCrashPreventer : NSObject
+ (id)sharedPreventer;
......
......@@ -30,6 +30,12 @@
#import "MLFile.h"
#import "MLMediaLibrary.h"
@interface MLCrashPreventer ()
{
NSMutableArray *_parsedFiles;
}
@end
@implementation MLCrashPreventer
+ (id)sharedPreventer
{
......
......@@ -25,10 +25,8 @@
@class MLFile;
@interface MLFileParserQueue : NSObject {
NSDictionary *_fileDescriptionToOperation;
NSOperationQueue *_queue;
}
@interface MLFileParserQueue : NSObject
+ (MLFileParserQueue *)sharedFileParserQueue;
- (void)addFile:(MLFile *)file;
- (void)setHighPriorityForFile:(MLFile *)file;
......
......@@ -32,6 +32,13 @@
#import "MLAlbum.h"
#import "MLTitleDecrapifier.h"
@interface MLFileParserQueue ()
{
NSDictionary *_fileDescriptionToOperation;
NSOperationQueue *_queue;
}
@end
@interface MLParsingOperation : NSOperation
{
MLFile *_file;
......
......@@ -27,10 +27,8 @@
@class MLFile;
@interface MLThumbnailerQueue : NSObject {
NSDictionary *_fileDescriptionToOperation;
NSOperationQueue *_queue;
}
@interface MLThumbnailerQueue : NSObject
+ (MLThumbnailerQueue *)sharedThumbnailerQueue;
- (void)addFile:(MLFile *)file;
......
......@@ -41,6 +41,8 @@
@interface MLThumbnailerQueue ()
{
VLCLibrary *_internalLibrary;
NSDictionary *_fileDescriptionToOperation;
NSOperationQueue *_queue;
}
- (void)didFinishOperation:(ThumbnailOperation *)op;
@end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment