Commit 068f0943 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Add read-only target

parent ee79bd9d
......@@ -34,6 +34,50 @@
7D0EF55A170885230003ED47 /* CXMLNode_XPathExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF54C170885230003ED47 /* CXMLNode_XPathExtensions.m */; };
7D0EF55B170885230003ED47 /* CTidy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF54F170885230003ED47 /* CTidy.m */; };
7D201AC81B186724009AC64E /* UIImage+MLKit.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D201AC71B186724009AC64E /* UIImage+MLKit.m */; };
7D84E4E71B42BA9900EA7D1F /* MLFileEntityMappingPolicy_2_5_to_2_6.m in Sources */ = {isa = PBXBuildFile; fileRef = DDC57DFA1AFD0B5000DBAEF7 /* MLFileEntityMappingPolicy_2_5_to_2_6.m */; };
7D84E4E81B42BA9900EA7D1F /* MLCrashPreventer.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF518170885130003ED47 /* MLCrashPreventer.m */; };
7D84E4E91B42BA9900EA7D1F /* MLFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF519170885130003ED47 /* MLFile.m */; };
7D84E4EA1B42BA9900EA7D1F /* MLFileParserQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF51B170885130003ED47 /* MLFileParserQueue.m */; };
7D84E4EB1B42BA9900EA7D1F /* MediaLibrary.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = DDC7BFAA1B03825F00160878 /* MediaLibrary.xcdatamodeld */; };
7D84E4EC1B42BA9900EA7D1F /* MLLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF51C170885130003ED47 /* MLLabel.m */; };
7D84E4ED1B42BA9900EA7D1F /* MLMediaLibrary.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF51D170885130003ED47 /* MLMediaLibrary.m */; };
7D84E4EE1B42BA9900EA7D1F /* MLMovieInfoGrabber.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF51E170885130003ED47 /* MLMovieInfoGrabber.m */; };
7D84E4EF1B42BA9900EA7D1F /* MLShow.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF51F170885130003ED47 /* MLShow.m */; };
7D84E4F01B42BA9900EA7D1F /* MLShowEpisode.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF520170885130003ED47 /* MLShowEpisode.m */; };
7D84E4F11B42BA9900EA7D1F /* MappingModel_2_5_to_2_6.xcmappingmodel in Sources */ = {isa = PBXBuildFile; fileRef = DDB959381AFBAD8700BB8CFF /* MappingModel_2_5_to_2_6.xcmappingmodel */; };
7D84E4F21B42BA9900EA7D1F /* MLThumbnailerQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF522170885130003ED47 /* MLThumbnailerQueue.m */; };
7D84E4F31B42BA9900EA7D1F /* MLTitleDecrapifier.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF523170885130003ED47 /* MLTitleDecrapifier.m */; };
7D84E4F41B42BA9900EA7D1F /* MLTVShowEpisodesInfoGrabber.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF524170885130003ED47 /* MLTVShowEpisodesInfoGrabber.m */; };
7D84E4F51B42BA9900EA7D1F /* MLTVShowInfoGrabber.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF525170885130003ED47 /* MLTVShowInfoGrabber.m */; };
7D84E4F61B42BA9900EA7D1F /* MLURLConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF526170885130003ED47 /* MLURLConnection.m */; };
7D84E4F71B42BA9900EA7D1F /* MLAlbumTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D9E238517AEEA13008485E5 /* MLAlbumTrack.m */; };
7D84E4F81B42BA9900EA7D1F /* MLAlbum.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D9E238717AEEA71008485E5 /* MLAlbum.m */; };
7D84E4F91B42BA9900EA7D1F /* NSXMLNode_Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF527170885130003ED47 /* NSXMLNode_Additions.m */; };
7D84E4FA1B42BA9900EA7D1F /* CXMLDocument_CreationExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF53A170885230003ED47 /* CXMLDocument_CreationExtensions.m */; };
7D84E4FB1B42BA9900EA7D1F /* CXMLNode_CreationExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF53C170885230003ED47 /* CXMLNode_CreationExtensions.m */; };
7D84E4FC1B42BA9900EA7D1F /* CXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF53E170885230003ED47 /* CXMLDocument.m */; };
7D84E4FD1B42BA9900EA7D1F /* CXMLDocument_PrivateExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF540170885230003ED47 /* CXMLDocument_PrivateExtensions.m */; };
7D84E4FE1B42BA9900EA7D1F /* UIImage+MLKit.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D201AC71B186724009AC64E /* UIImage+MLKit.m */; };
7D84E4FF1B42BA9900EA7D1F /* CXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF542170885230003ED47 /* CXMLElement.m */; };
7D84E5001B42BA9900EA7D1F /* CXMLElement_CreationExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF544170885230003ED47 /* CXMLElement_CreationExtensions.m */; };
7D84E5011B42BA9900EA7D1F /* CXMLElement_ElementTreeExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF546170885230003ED47 /* CXMLElement_ElementTreeExtensions.m */; };
7D84E5021B42BA9900EA7D1F /* MLMediaLibrary+Migration.m in Sources */ = {isa = PBXBuildFile; fileRef = DDB959361AFB9B2B00BB8CFF /* MLMediaLibrary+Migration.m */; };
7D84E5031B42BA9900EA7D1F /* CXMLNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF548170885230003ED47 /* CXMLNode.m */; };
7D84E5041B42BA9900EA7D1F /* CXMLNode_PrivateExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF54A170885230003ED47 /* CXMLNode_PrivateExtensions.m */; };
7D84E5051B42BA9900EA7D1F /* CXMLNode_XPathExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF54C170885230003ED47 /* CXMLNode_XPathExtensions.m */; };
7D84E5061B42BA9900EA7D1F /* CTidy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D0EF54F170885230003ED47 /* CTidy.m */; };
7D84E5071B42BA9900EA7D1F /* CXHTMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D8ECFE11708FEAE00A989E9 /* CXHTMLDocument.m */; };
7D84E5081B42BA9900EA7D1F /* CXMLNamespaceNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D8ECFE41708FEC000A989E9 /* CXMLNamespaceNode.m */; };
7D84E50A1B42BA9900EA7D1F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7D0EF4A1170883940003ED47 /* Foundation.framework */; };
7D84E50C1B42BA9900EA7D1F /* MLAlbum.h in Copy Files */ = {isa = PBXBuildFile; fileRef = 7D9E238117AEE9F2008485E5 /* MLAlbum.h */; };
7D84E50D1B42BA9900EA7D1F /* MLAlbumTrack.h in Copy Files */ = {isa = PBXBuildFile; fileRef = 7D9E238417AEEA13008485E5 /* MLAlbumTrack.h */; };
7D84E50E1B42BA9900EA7D1F /* MediaLibraryKit.h in Copy Files */ = {isa = PBXBuildFile; fileRef = 7D0EF510170885130003ED47 /* MediaLibraryKit.h */; };
7D84E50F1B42BA9900EA7D1F /* MLFile.h in Copy Files */ = {isa = PBXBuildFile; fileRef = 7D0EF511170885130003ED47 /* MLFile.h */; };
7D84E5101B42BA9900EA7D1F /* MLLabel.h in Copy Files */ = {isa = PBXBuildFile; fileRef = 7D0EF512170885130003ED47 /* MLLabel.h */; };
7D84E5111B42BA9900EA7D1F /* MLMediaLibrary.h in Copy Files */ = {isa = PBXBuildFile; fileRef = 7D0EF513170885130003ED47 /* MLMediaLibrary.h */; };
7D84E5121B42BA9900EA7D1F /* MLShow.h in Copy Files */ = {isa = PBXBuildFile; fileRef = 7D0EF514170885130003ED47 /* MLShow.h */; };
7D84E5131B42BA9900EA7D1F /* MLShowEpisode.h in Copy Files */ = {isa = PBXBuildFile; fileRef = 7D0EF515170885130003ED47 /* MLShowEpisode.h */; };
7D84E5141B42BA9900EA7D1F /* MLThumbnailerQueue.h in Copy Files */ = {isa = PBXBuildFile; fileRef = 7D0EF521170885130003ED47 /* MLThumbnailerQueue.h */; };
7D8ECFE21708FEAE00A989E9 /* CXHTMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D8ECFE11708FEAE00A989E9 /* CXHTMLDocument.m */; };
7D8ECFE51708FEC000A989E9 /* CXMLNamespaceNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D8ECFE41708FEC000A989E9 /* CXMLNamespaceNode.m */; };
7D9E238617AEEA13008485E5 /* MLAlbumTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D9E238517AEEA13008485E5 /* MLAlbumTrack.m */; };
......@@ -73,6 +117,25 @@
name = "Copy Files";
runOnlyForDeploymentPostprocessing = 0;
};
7D84E50B1B42BA9900EA7D1F /* Copy Files */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "include/${PRODUCT_NAME}";
dstSubfolderSpec = 16;
files = (
7D84E50C1B42BA9900EA7D1F /* MLAlbum.h in Copy Files */,
7D84E50D1B42BA9900EA7D1F /* MLAlbumTrack.h in Copy Files */,
7D84E50E1B42BA9900EA7D1F /* MediaLibraryKit.h in Copy Files */,
7D84E50F1B42BA9900EA7D1F /* MLFile.h in Copy Files */,
7D84E5101B42BA9900EA7D1F /* MLLabel.h in Copy Files */,
7D84E5111B42BA9900EA7D1F /* MLMediaLibrary.h in Copy Files */,
7D84E5121B42BA9900EA7D1F /* MLShow.h in Copy Files */,
7D84E5131B42BA9900EA7D1F /* MLShowEpisode.h in Copy Files */,
7D84E5141B42BA9900EA7D1F /* MLThumbnailerQueue.h in Copy Files */,
);
name = "Copy Files";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
......@@ -135,6 +198,7 @@
7D0EF550170885230003ED47 /* TouchXML.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TouchXML.h; sourceTree = "<group>"; };
7D201AC61B186724009AC64E /* UIImage+MLKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+MLKit.h"; sourceTree = "<group>"; };
7D201AC71B186724009AC64E /* UIImage+MLKit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+MLKit.m"; sourceTree = "<group>"; };
7D84E5181B42BA9900EA7D1F /* libMediaLibraryKit-readonly.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libMediaLibraryKit-readonly.a"; sourceTree = BUILT_PRODUCTS_DIR; };
7D8ECFE01708FEAE00A989E9 /* CXHTMLDocument.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CXHTMLDocument.h; sourceTree = "<group>"; };
7D8ECFE11708FEAE00A989E9 /* CXHTMLDocument.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CXHTMLDocument.m; sourceTree = "<group>"; };
7D8ECFE31708FEC000A989E9 /* CXMLNamespaceNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CXMLNamespaceNode.h; sourceTree = "<group>"; };
......@@ -162,6 +226,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
7D84E5091B42BA9900EA7D1F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
7D84E50A1B42BA9900EA7D1F /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
......@@ -184,6 +256,7 @@
isa = PBXGroup;
children = (
7D0EF49E170883940003ED47 /* libMediaLibraryKit.a */,
7D84E5181B42BA9900EA7D1F /* libMediaLibraryKit-readonly.a */,
);
name = Products;
sourceTree = "<group>";
......@@ -354,6 +427,23 @@
productReference = 7D0EF49E170883940003ED47 /* libMediaLibraryKit.a */;
productType = "com.apple.product-type.library.static";
};
7D84E4E51B42BA9900EA7D1F /* MediaLibraryKit-readonly */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7D84E5151B42BA9900EA7D1F /* Build configuration list for PBXNativeTarget "MediaLibraryKit-readonly" */;
buildPhases = (
7D84E4E61B42BA9900EA7D1F /* Sources */,
7D84E5091B42BA9900EA7D1F /* Frameworks */,
7D84E50B1B42BA9900EA7D1F /* Copy Files */,
);
buildRules = (
);
dependencies = (
);
name = "MediaLibraryKit-readonly";
productName = MediaLibraryKit;
productReference = 7D84E5181B42BA9900EA7D1F /* libMediaLibraryKit-readonly.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
......@@ -376,6 +466,7 @@
projectRoot = "";
targets = (
7D0EF49D170883940003ED47 /* MediaLibraryKit */,
7D84E4E51B42BA9900EA7D1F /* MediaLibraryKit-readonly */,
);
};
/* End PBXProject section */
......@@ -422,6 +513,47 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
7D84E4E61B42BA9900EA7D1F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7D84E4E71B42BA9900EA7D1F /* MLFileEntityMappingPolicy_2_5_to_2_6.m in Sources */,
7D84E4E81B42BA9900EA7D1F /* MLCrashPreventer.m in Sources */,
7D84E4E91B42BA9900EA7D1F /* MLFile.m in Sources */,
7D84E4EA1B42BA9900EA7D1F /* MLFileParserQueue.m in Sources */,
7D84E4EB1B42BA9900EA7D1F /* MediaLibrary.xcdatamodeld in Sources */,
7D84E4EC1B42BA9900EA7D1F /* MLLabel.m in Sources */,
7D84E4ED1B42BA9900EA7D1F /* MLMediaLibrary.m in Sources */,
7D84E4EE1B42BA9900EA7D1F /* MLMovieInfoGrabber.m in Sources */,
7D84E4EF1B42BA9900EA7D1F /* MLShow.m in Sources */,
7D84E4F01B42BA9900EA7D1F /* MLShowEpisode.m in Sources */,
7D84E4F11B42BA9900EA7D1F /* MappingModel_2_5_to_2_6.xcmappingmodel in Sources */,
7D84E4F21B42BA9900EA7D1F /* MLThumbnailerQueue.m in Sources */,
7D84E4F31B42BA9900EA7D1F /* MLTitleDecrapifier.m in Sources */,
7D84E4F41B42BA9900EA7D1F /* MLTVShowEpisodesInfoGrabber.m in Sources */,
7D84E4F51B42BA9900EA7D1F /* MLTVShowInfoGrabber.m in Sources */,
7D84E4F61B42BA9900EA7D1F /* MLURLConnection.m in Sources */,
7D84E4F71B42BA9900EA7D1F /* MLAlbumTrack.m in Sources */,
7D84E4F81B42BA9900EA7D1F /* MLAlbum.m in Sources */,
7D84E4F91B42BA9900EA7D1F /* NSXMLNode_Additions.m in Sources */,
7D84E4FA1B42BA9900EA7D1F /* CXMLDocument_CreationExtensions.m in Sources */,
7D84E4FB1B42BA9900EA7D1F /* CXMLNode_CreationExtensions.m in Sources */,
7D84E4FC1B42BA9900EA7D1F /* CXMLDocument.m in Sources */,
7D84E4FD1B42BA9900EA7D1F /* CXMLDocument_PrivateExtensions.m in Sources */,
7D84E4FE1B42BA9900EA7D1F /* UIImage+MLKit.m in Sources */,
7D84E4FF1B42BA9900EA7D1F /* CXMLElement.m in Sources */,
7D84E5001B42BA9900EA7D1F /* CXMLElement_CreationExtensions.m in Sources */,
7D84E5011B42BA9900EA7D1F /* CXMLElement_ElementTreeExtensions.m in Sources */,
7D84E5021B42BA9900EA7D1F /* MLMediaLibrary+Migration.m in Sources */,
7D84E5031B42BA9900EA7D1F /* CXMLNode.m in Sources */,
7D84E5041B42BA9900EA7D1F /* CXMLNode_PrivateExtensions.m in Sources */,
7D84E5051B42BA9900EA7D1F /* CXMLNode_XPathExtensions.m in Sources */,
7D84E5061B42BA9900EA7D1F /* CTidy.m in Sources */,
7D84E5071B42BA9900EA7D1F /* CXHTMLDocument.m in Sources */,
7D84E5081B42BA9900EA7D1F /* CXMLNamespaceNode.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
......@@ -533,6 +665,59 @@
};
name = Release;
};
7D84E5161B42BA9900EA7D1F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
"$(ARCHS_STANDARD)",
armv7s,
);
CLANG_ENABLE_OBJC_ARC = YES;
DSTROOT = /tmp/MediaLibraryKit.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = MediaLibraryKit_Prefix.pch;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
MLKIT_READONLY_TARGET,
);
HEADER_SEARCH_PATHS = (
"\"$(SRCROOT)/External/MobileVLCKit/include\"",
/usr/include/libxml2,
);
IPHONEOS_DEPLOYMENT_TARGET = 5.1.1;
LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/External/MobileVLCKit\"";
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "MediaLibraryKit-readonly";
SKIP_INSTALL = YES;
};
name = Debug;
};
7D84E5171B42BA9900EA7D1F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
"$(ARCHS_STANDARD)",
armv7s,
);
CLANG_ENABLE_OBJC_ARC = YES;
DSTROOT = /tmp/MediaLibraryKit.dst;
ENABLE_NS_ASSERTIONS = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = MediaLibraryKit_Prefix.pch;
GCC_PREPROCESSOR_DEFINITIONS = MLKIT_READONLY_TARGET;
HEADER_SEARCH_PATHS = (
"\"$(SRCROOT)/External/MobileVLCKit/include\"",
/usr/include/libxml2,
);
IPHONEOS_DEPLOYMENT_TARGET = 5.1.1;
LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/External/MobileVLCKit\"";
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "MediaLibraryKit-readonly";
SKIP_INSTALL = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
......@@ -554,6 +739,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
7D84E5151B42BA9900EA7D1F /* Build configuration list for PBXNativeTarget "MediaLibraryKit-readonly" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7D84E5161B42BA9900EA7D1F /* Debug */,
7D84E5171B42BA9900EA7D1F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
/* Begin XCVersionGroup section */
......
......@@ -34,6 +34,45 @@
#import <CommonCrypto/CommonDigest.h> // for MD5
#import "MLThumbnailerQueue.h"
#ifdef MLKIT_READONLY_TARGET
#warning MLKIT_READONLY_TARGET
@implementation MLFileParserQueue
+ (MLFileParserQueue *)sharedFileParserQueue
{
static MLFileParserQueue *shared = nil;
if (!shared) {
shared = [[MLFileParserQueue alloc] init];
}
return shared;
}
- (void)addFile:(MLFile *)file
{
}
- (void)setHighPriorityForFile:(MLFile *)file
{
}
- (void)setDefaultPriorityForFile:(MLFile *)file
{
}
- (void)stop
{
}
- (void)resume
{
}
@end
#else
@interface MLFileParserQueue ()
{
NSDictionary *_fileDescriptionToOperation;
......@@ -361,3 +400,5 @@ static inline NSString *hashFromFile(MLFile *file)
}
@end
#endif
......@@ -30,6 +30,43 @@
#import "MLMediaLibrary.h"
#import "MLFileParserQueue.h"
#ifdef MLKIT_READONLY_TARGET
@implementation MLThumbnailerQueue
+ (MLThumbnailerQueue *)sharedThumbnailerQueue
{
static MLThumbnailerQueue *shared = nil;
if (!shared) {
shared = [[MLThumbnailerQueue alloc] init];
}
return shared;
}
- (void)addFile:(MLFile *)file
{
}
- (void)setHighPriorityForFile:(MLFile *)file
{
}
- (void)setDefaultPriorityForFile:(MLFile *)file
{
}
- (void)stop
{
}
- (void)resume
{
}
@end
#else
@interface ThumbnailOperation : NSOperation <VLCMediaThumbnailerDelegate>
{
MLFile *_file;
......@@ -200,3 +237,5 @@ static inline NSString *hashFromFile(MLFile *file)
}
@end
#endif
......@@ -26,6 +26,34 @@
#import "MLTitleDecrapifier.h"
#ifdef MLKIT_READONLY_TARGET
@implementation MLTitleDecrapifier
+ (NSString *)decrapify:(NSString *)string;
{
return @"";
}
+ (BOOL)isTVShowEpisodeTitle:(NSString *)string
{
return NO;
}
+ (NSDictionary *)tvShowEpisodeInfoFromString:(NSString *)string
{
return @{};
}
+ (NSDictionary *)audioContentInfoFromFile:(MLFile *)file
{
return @{};
}
@end
#else
@implementation MLTitleDecrapifier
+ (NSString *)decrapify:(NSString *)string
{
......@@ -241,3 +269,5 @@ returnThings:
}
@end
#endif
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