├── SPSearchResult-ResultQuality.h ├── SPSearchResult-NormalizedScore.h ├── SDEventHandlerProvider-Protocol.h ├── PRSResultFactory-Protocol.h ├── PRSInstalledAppsDataSourceDelegate-Protocol.h ├── CDStructures.h ├── SPParsecPattern.h ├── SDSearchToken-Protocol.h ├── PRSSearchQueryHandler-Protocol.h ├── SPCoreSpotlightTask.h ├── SPSearchResultsPipe-Protocol.h ├── _SPPtrDict.h ├── SDBundleTracker.h ├── _SPBucketSet.h ├── SPDefaultSearchToken.h ├── SDBundleTrackingInfo.h ├── SDAppUninstallMonitor.h ├── SPSafariDatastoreToken.h ├── SPCalculationDatastoreToken.h ├── SDMigrationMonitor.h ├── NSObject-Protocol.h ├── SDEventMonitor.h ├── SPSafariDatastore.h ├── MDIndexer-Protocol.h ├── SPCalculationDatastore.h ├── PRSSessionController-Protocol.h ├── SPCoreSpotlightIndexerTask.h ├── SPApplication.h ├── SPDefaultSearchDatastore.h ├── SDClient.h ├── SDModernSearchDatastore-Protocol.h ├── SPCoreSpotlightResult.h ├── SPCoreSpotlightContentResult.h ├── SDController.h ├── SPCoreSpotlightQueryTask.h ├── CSSearchableIndexInterface-Protocol.h ├── SPParsecQueryTask.h ├── SPParsecDatastore.h ├── SDSearchQuery.h ├── SPCoreSpotlightDatastore.h ├── SPConcreteCoreSpotlightIndexer.h └── SPCoreSpotlightIndexer.h /SPSearchResult-ResultQuality.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "SPSearchResult.h" 8 | 9 | @interface SPSearchResult (ResultQuality) 10 | - (_Bool)hasDetail; 11 | @end 12 | 13 | -------------------------------------------------------------------------------- /SPSearchResult-NormalizedScore.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "SPSearchResult.h" 8 | 9 | @interface SPSearchResult (NormalizedScore) 10 | - (double)normalizedScore:(id)arg1; 11 | @end 12 | 13 | -------------------------------------------------------------------------------- /SDEventHandlerProvider-Protocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | @class SDEventMonitor; 8 | 9 | @protocol SDEventHandlerProvider 10 | - (void)registerHandlerWithEventMonitor:(SDEventMonitor *)arg1; 11 | @end 12 | 13 | -------------------------------------------------------------------------------- /PRSResultFactory-Protocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class Protocol; 10 | 11 | @protocol PRSResultFactory 12 | - (id )createObjectForProtocol:(Protocol *)arg1; 13 | @end 14 | 15 | -------------------------------------------------------------------------------- /PRSInstalledAppsDataSourceDelegate-Protocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSDictionary; 10 | 11 | @protocol PRSInstalledAppsDataSourceDelegate 12 | - (NSDictionary *)installedApps; 13 | @end 14 | 15 | -------------------------------------------------------------------------------- /CDStructures.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #pragma mark Blocks 8 | 9 | typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown 10 | 11 | #pragma mark Named Structures 12 | 13 | struct CGSize { 14 | double _field1; 15 | double _field2; 16 | }; 17 | 18 | -------------------------------------------------------------------------------- /SPParsecPattern.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @interface SPParsecPattern : NSObject 10 | { 11 | struct __MDSimpleQueryEvaluator *_queryEval; 12 | } 13 | 14 | - (void)dealloc; 15 | - (_Bool)matches:(id)arg1; 16 | - (id)initWithQuery:(id)arg1; 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /SDSearchToken-Protocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSDictionary; 10 | 11 | @protocol SDSearchToken 12 | @property(readonly) id store; 13 | - (void)cancel; 14 | 15 | @optional 16 | @property(retain, nonatomic) NSDictionary *category_stats; 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /PRSSearchQueryHandler-Protocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "PRSResultFactory.h" 8 | 9 | @class NSArray, PRSQueryTask; 10 | 11 | @protocol PRSSearchQueryHandler 12 | - (void)query:(PRSQueryTask *)arg1 didFinishWithResults:(NSArray *)arg2; 13 | 14 | @optional 15 | - (double)scaleFactor; 16 | - (void)queryDidFinishLoading:(PRSQueryTask *)arg1; 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /SPCoreSpotlightTask.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSMutableArray; 10 | 11 | @interface SPCoreSpotlightTask : NSObject 12 | { 13 | struct __CFArray *_jobs; 14 | NSMutableArray *_indexes; 15 | } 16 | 17 | - (void).cxx_destruct; 18 | - (void)removeJob:(struct __SIJobRef *)arg1; 19 | - (void)addJob:(struct __SIJobRef *)arg1 forIndex:(id)arg2; 20 | - (void)cancel; 21 | - (void)dealloc; 22 | - (id)init; 23 | 24 | @end 25 | 26 | -------------------------------------------------------------------------------- /SPSearchResultsPipe-Protocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | @class NSArray, NSError, SPSearchResultDeserializer, SPSearchResultSection; 8 | 9 | @protocol SPSearchResultsPipe 10 | - (void)appendSerializer:(SPSearchResultDeserializer *)arg1 toSerializerDomain:(unsigned int)arg2; 11 | - (void)appendSection:(SPSearchResultSection *)arg1 toSerializerDomain:(unsigned int)arg2; 12 | - (void)queryFinishedWithError:(NSError *)arg1; 13 | - (void)appendResults:(NSArray *)arg1 toSerializerDomain:(unsigned int)arg2; 14 | - (void)appendResults:(NSArray *)arg1; 15 | @end 16 | 17 | -------------------------------------------------------------------------------- /_SPPtrDict.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSObject; 10 | 11 | @interface _SPPtrDict : NSObject 12 | { 13 | struct __CFDictionary *_tagSet; 14 | NSObject *_queue; 15 | } 16 | 17 | @property(retain, nonatomic) NSObject *queue; // @synthesize queue=_queue; 18 | - (void).cxx_destruct; 19 | - (void)setObject:(id)arg1 forKey:(void *)arg2; 20 | - (void)removeObjectForKey:(void *)arg1; 21 | - (id)objectForKey:(void *)arg1; 22 | - (void)dealloc; 23 | - (id)init; 24 | 25 | @end 26 | 27 | -------------------------------------------------------------------------------- /SDBundleTracker.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSMutableDictionary; 10 | 11 | @interface SDBundleTracker : NSObject 12 | { 13 | NSMutableDictionary *_trackingInfos; 14 | } 15 | 16 | + (id)trackerKeyForBundleIdentifier:(id)arg1 category:(id)arg2; 17 | + (id)sharedBundleTracker; 18 | - (void).cxx_destruct; 19 | - (void)recordEvent:(int)arg1 info:(id)arg2 forBundleWithKey:(id)arg3 inState:(int)arg4; 20 | - (_Bool)shouldContinueIndexingBundleWithKey:(id)arg1 transitionedToState:(int)arg2; 21 | - (_Bool)shouldRunIndexerForBundleWithKey:(id)arg1; 22 | - (void)_saveInfoForBundleWithKey:(id)arg1; 23 | - (id)_infoForKey:(id)arg1; 24 | - (id)init; 25 | 26 | @end 27 | 28 | -------------------------------------------------------------------------------- /_SPBucketSet.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSObject; 10 | 11 | @interface _SPBucketSet : NSObject 12 | { 13 | struct __CFDictionary *_members; 14 | NSObject *_queue; 15 | long long _count; 16 | } 17 | 18 | @property long long count; // @synthesize count=_count; 19 | @property(retain, nonatomic) NSObject *queue; // @synthesize queue=_queue; 20 | - (void).cxx_destruct; 21 | - (void)decay:(long long)arg1; 22 | - (void)addValue:(long long)arg1 forKey:(id)arg2; 23 | - (void)removeValueForKey:(id)arg1; 24 | - (long long)valueForKey:(id)arg1; 25 | - (void)dealloc; 26 | - (id)init; 27 | 28 | @end 29 | 30 | -------------------------------------------------------------------------------- /SPDefaultSearchToken.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "SDSearchToken.h" 10 | 11 | @class NSDictionary, NSString, SPDefaultSearchDatastore; 12 | 13 | @interface SPDefaultSearchToken : NSObject 14 | { 15 | SPDefaultSearchDatastore *_store; 16 | } 17 | 18 | @property(readonly) SPDefaultSearchDatastore *store; // @synthesize store=_store; 19 | - (void).cxx_destruct; 20 | - (void)cancel; 21 | - (id)initWithStore:(id)arg1; 22 | 23 | // Remaining properties 24 | @property(retain, nonatomic) NSDictionary *category_stats; 25 | @property(readonly, copy) NSString *debugDescription; 26 | @property(readonly, copy) NSString *description; 27 | @property(readonly) unsigned long long hash; 28 | @property(readonly) Class superclass; 29 | 30 | @end 31 | 32 | -------------------------------------------------------------------------------- /SDBundleTrackingInfo.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSString; 10 | 11 | @interface SDBundleTrackingInfo : NSObject 12 | { 13 | NSString *_compositeIdentifier; 14 | _Bool _shouldRun; 15 | _Bool _isDirty; 16 | int _state; 17 | _Bool _lastRunWasSuccessful; 18 | } 19 | 20 | + (id)_trackingInfoDir; 21 | - (void).cxx_destruct; 22 | - (void)recordEvent:(int)arg1 info:(id)arg2 forBundleWithKey:(id)arg3 inState:(int)arg4; 23 | - (_Bool)shouldContinueIndexingAfterTransitioToState:(int)arg1; 24 | - (_Bool)shouldRunIndexer; 25 | - (void)save; 26 | - (id)initWithCompositeIdentifier:(id)arg1; 27 | - (void)_loadFromPlist; 28 | - (void)_saveToPlist; 29 | - (id)_filename; 30 | - (void)_copyInfoFromDictionary:(id)arg1; 31 | - (id)_dictionaryRepresentation; 32 | 33 | @end 34 | 35 | -------------------------------------------------------------------------------- /SDAppUninstallMonitor.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "SDEventHandlerProvider.h" 10 | 11 | @interface SDAppUninstallMonitor : NSObject 12 | { 13 | id _indexer; 14 | } 15 | 16 | + (void)_writeAppsListToDisk:(id)arg1; 17 | + (id)_installedAppsListFromDisk; 18 | + (id)_installedAppsBundleIDsListFilePath; 19 | + (id)_trackingInfoDir; 20 | + (id)_filename; 21 | @property(nonatomic) __weak id indexer; // @synthesize indexer=_indexer; 22 | - (void).cxx_destruct; 23 | - (id)_allInstalledApplicationsIdentifiers; 24 | - (void)_purgeAppsWithBundleIDs:(id)arg1 completionBlock:(CDUnknownBlockType)arg2; 25 | - (void)_purgeUninstalledApplicationsFromIndex; 26 | - (void)registerHandlerWithEventMonitor:(id)arg1; 27 | - (id)initWithIndexer:(id)arg1; 28 | - (id)init; 29 | 30 | @end 31 | 32 | -------------------------------------------------------------------------------- /SPSafariDatastoreToken.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "SDSearchToken.h" 10 | 11 | @class NSDictionary, NSString, SPSafariDatastore; 12 | 13 | @interface SPSafariDatastoreToken : NSObject 14 | { 15 | _Bool _canceled; 16 | SPSafariDatastore *_store; 17 | } 18 | 19 | @property _Bool canceled; // @synthesize canceled=_canceled; 20 | @property(readonly) SPSafariDatastore *store; // @synthesize store=_store; 21 | - (void).cxx_destruct; 22 | - (void)cancel; 23 | - (id)initWithStore:(id)arg1; 24 | 25 | // Remaining properties 26 | @property(retain, nonatomic) NSDictionary *category_stats; 27 | @property(readonly, copy) NSString *debugDescription; 28 | @property(readonly, copy) NSString *description; 29 | @property(readonly) unsigned long long hash; 30 | @property(readonly) Class superclass; 31 | 32 | @end 33 | 34 | -------------------------------------------------------------------------------- /SPCalculationDatastoreToken.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "SDSearchToken.h" 10 | 11 | @class NSDictionary, NSString, SPCalculationDatastore; 12 | 13 | @interface SPCalculationDatastoreToken : NSObject 14 | { 15 | _Bool _canceled; 16 | SPCalculationDatastore *_store; 17 | } 18 | 19 | @property _Bool canceled; // @synthesize canceled=_canceled; 20 | @property(readonly) SPCalculationDatastore *store; // @synthesize store=_store; 21 | - (void).cxx_destruct; 22 | - (void)cancel; 23 | - (id)initWithStore:(id)arg1; 24 | 25 | // Remaining properties 26 | @property(retain, nonatomic) NSDictionary *category_stats; 27 | @property(readonly, copy) NSString *debugDescription; 28 | @property(readonly, copy) NSString *description; 29 | @property(readonly) unsigned long long hash; 30 | @property(readonly) Class superclass; 31 | 32 | @end 33 | 34 | -------------------------------------------------------------------------------- /SDMigrationMonitor.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "SDEventHandlerProvider.h" 10 | 11 | @class NSObject; 12 | 13 | @interface SDMigrationMonitor : NSObject 14 | { 15 | _Bool _extensionsLoaded; 16 | _Bool _reindexNeeded; 17 | NSObject *_synchronizationQueue; 18 | } 19 | 20 | @property(retain, nonatomic) NSObject *synchronizationQueue; // @synthesize synchronizationQueue=_synchronizationQueue; 21 | @property _Bool reindexNeeded; // @synthesize reindexNeeded=_reindexNeeded; 22 | @property _Bool extensionsLoaded; // @synthesize extensionsLoaded=_extensionsLoaded; 23 | - (void).cxx_destruct; 24 | - (void)_makeExtensionsReindex; 25 | - (void)registerHandlerWithEventMonitor:(id)arg1; 26 | - (void)extensionsLoaded:(id)arg1; 27 | - (void)dealloc; 28 | - (id)init; 29 | 30 | @end 31 | 32 | -------------------------------------------------------------------------------- /NSObject-Protocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | @class NSString, Protocol; 8 | 9 | @protocol NSObject 10 | @property(readonly, copy) NSString *description; 11 | @property(readonly) Class superclass; 12 | @property(readonly) unsigned long long hash; 13 | - (struct _NSZone *)zone; 14 | - (unsigned long long)retainCount; 15 | - (id)autorelease; 16 | - (oneway void)release; 17 | - (id)retain; 18 | - (_Bool)respondsToSelector:(SEL)arg1; 19 | - (_Bool)conformsToProtocol:(Protocol *)arg1; 20 | - (_Bool)isMemberOfClass:(Class)arg1; 21 | - (_Bool)isKindOfClass:(Class)arg1; 22 | - (_Bool)isProxy; 23 | - (id)performSelector:(SEL)arg1 withObject:(id)arg2 withObject:(id)arg3; 24 | - (id)performSelector:(SEL)arg1 withObject:(id)arg2; 25 | - (id)performSelector:(SEL)arg1; 26 | - (id)self; 27 | - (Class)class; 28 | - (_Bool)isEqual:(id)arg1; 29 | 30 | @optional 31 | @property(readonly, copy) NSString *debugDescription; 32 | @end 33 | 34 | -------------------------------------------------------------------------------- /SDEventMonitor.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSMutableDictionary, NSObject; 10 | 11 | @interface SDEventMonitor : NSObject 12 | { 13 | NSObject *_synchronizationQueue; 14 | NSMutableDictionary *_eventHandlers; 15 | } 16 | 17 | + (id)sharedInstance; 18 | @property(retain, nonatomic) NSMutableDictionary *eventHandlers; // @synthesize eventHandlers=_eventHandlers; 19 | @property(retain, nonatomic) NSObject *synchronizationQueue; // @synthesize synchronizationQueue=_synchronizationQueue; 20 | - (void).cxx_destruct; 21 | - (void)removeHandler:(CDUnknownBlockType)arg1 forEventName:(id)arg2; 22 | - (void)registerHandler:(CDUnknownBlockType)arg1 forEventName:(id)arg2; 23 | - (void)_startMonitoringEventsForStream:(unsigned long long)arg1; 24 | - (void)startMonitoringEvents; 25 | - (id)_init; 26 | - (id)init; 27 | 28 | @end 29 | 30 | -------------------------------------------------------------------------------- /SPSafariDatastore.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "SDModernSearchDatastore.h" 10 | 11 | @class NSDictionary, NSString, _SSURLCompletionSession; 12 | 13 | @interface SPSafariDatastore : NSObject 14 | { 15 | _SSURLCompletionSession *_safariSession; 16 | } 17 | 18 | - (void).cxx_destruct; 19 | - (_Bool)onlyDefaultSearch; 20 | - (_Bool)offersDefaultSearch; 21 | - (void)sendFeedback:(id)arg1; 22 | - (id)performQuery:(id)arg1; 23 | - (void)activate; 24 | - (id)displayIdentifierForDomain:(unsigned int)arg1; 25 | - (id)searchDomains; 26 | - (id)init; 27 | 28 | // Remaining properties 29 | @property(retain, nonatomic) NSDictionary *category_stats; 30 | @property(readonly, copy) NSString *debugDescription; 31 | @property(readonly, copy) NSString *description; 32 | @property(readonly) unsigned long long hash; 33 | @property(readonly) Class superclass; 34 | 35 | @end 36 | 37 | -------------------------------------------------------------------------------- /MDIndexer-Protocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "CSSearchableIndexInterface.h" 8 | 9 | @class CSSearchableItem, CSUserAction, NSDictionary, NSString, SPCoreSpotlightTask; 10 | 11 | @protocol MDIndexer 12 | - (void)runMigration; 13 | - (double)lastUpdateTime; 14 | - (void)userPerformedAction:(CSUserAction *)arg1 withItem:(CSSearchableItem *)arg2 protectionClass:(NSString *)arg3 forBundleID:(NSString *)arg4; 15 | - (void)clientDidCheckin:(NSString *)arg1 protectionClass:(NSString *)arg2 service:(id )arg3 completionHandler:(void (^)(CSIndexJob *, NSError *))arg4; 16 | - (SPCoreSpotlightTask *)startQuery:(NSString *)arg1 options:(NSDictionary *)arg2 handler:(void (^)(int, unsigned long long, struct __MDStoreOIDArray *, struct __MDPlistBytes *, NSString *))arg3; 17 | 18 | @optional 19 | @property __weak id extensionDelegate; 20 | @end 21 | 22 | -------------------------------------------------------------------------------- /SPCalculationDatastore.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "SDModernSearchDatastore.h" 10 | 11 | @class NSDictionary, NSString; 12 | 13 | @interface SPCalculationDatastore : NSObject 14 | { 15 | } 16 | 17 | + (void)initialize; 18 | - (_Bool)onlyDefaultSearch; 19 | - (_Bool)offersDefaultSearch; 20 | - (id)searchDomains; 21 | - (id)displayIdentifierForDomain:(unsigned int)arg1; 22 | - (void)doUnitConversionWithQuery:(id)arg1 reply:(CDUnknownBlockType)arg2; 23 | - (void)doCalculationWithQuery:(id)arg1 reply:(CDUnknownBlockType)arg2; 24 | - (id)performQuery:(id)arg1; 25 | 26 | // Remaining properties 27 | @property(retain, nonatomic) NSDictionary *category_stats; 28 | @property(readonly, copy) NSString *debugDescription; 29 | @property(readonly, copy) NSString *description; 30 | @property(readonly) unsigned long long hash; 31 | @property(readonly) Class superclass; 32 | 33 | @end 34 | 35 | -------------------------------------------------------------------------------- /PRSSessionController-Protocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSArray, NSDictionary, NSString, NSURLSessionConfiguration; 10 | 11 | @protocol PRSSessionController 12 | @property(readonly, nonatomic) long long useSprite; 13 | @property(readonly, nonatomic) long long useLedBelly; 14 | @property(readonly, nonatomic) NSURLSessionConfiguration *urlSessionConfiguration; 15 | @property(readonly, nonatomic) NSArray *supportedDomainIdentifiers; 16 | @property(readonly, nonatomic, getter=isEnabled) _Bool enabled; 17 | @property(readonly, nonatomic) double sessionStartTime; 18 | 19 | @optional 20 | @property(retain, nonatomic) NSString *userId; 21 | @property(readonly, nonatomic) _Bool useGUID; 22 | @property(readonly, nonatomic) NSString *parsecBaseURL; 23 | @property(readonly, nonatomic) NSArray *excludedDomainIdentifiers; 24 | @property(readonly, nonatomic) NSString *applicationNameForUserAgent; 25 | - (void)setCepServerValues:(NSDictionary *)arg1; 26 | - (void)sessionReceivedBagWithEnabledDomains:(NSArray *)arg1; 27 | @end 28 | 29 | -------------------------------------------------------------------------------- /SPCoreSpotlightIndexerTask.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class CSIndexJob, NSArray; 10 | 11 | @interface SPCoreSpotlightIndexerTask : NSObject 12 | { 13 | _Bool _shouldResumeOnFailure; 14 | CSIndexJob *_job; 15 | NSArray *_indexers; 16 | NSArray *_bundleIDs; 17 | NSArray *_completedBundleIDs; 18 | unsigned long long _dataMigrationStage; 19 | } 20 | 21 | @property(nonatomic) _Bool shouldResumeOnFailure; // @synthesize shouldResumeOnFailure=_shouldResumeOnFailure; 22 | @property(nonatomic) unsigned long long dataMigrationStage; // @synthesize dataMigrationStage=_dataMigrationStage; 23 | @property(retain, nonatomic) NSArray *completedBundleIDs; // @synthesize completedBundleIDs=_completedBundleIDs; 24 | @property(retain, nonatomic) NSArray *bundleIDs; // @synthesize bundleIDs=_bundleIDs; 25 | @property(readonly, nonatomic) NSArray *indexers; // @synthesize indexers=_indexers; 26 | @property(readonly, nonatomic) CSIndexJob *job; // @synthesize job=_job; 27 | - (void).cxx_destruct; 28 | - (id)initWithIndexJob:(id)arg1 indexers:(id)arg2; 29 | 30 | @end 31 | 32 | -------------------------------------------------------------------------------- /SPApplication.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSMutableArray, NSString, SPSearchResult; 10 | 11 | @interface SPApplication : NSObject 12 | { 13 | NSString *_displayIdentifier; 14 | NSString *_displayName; 15 | NSString *_longDisplayName; 16 | NSMutableArray *_keywords; 17 | NSString *_shortVersion; 18 | _Bool _isWebClip; 19 | } 20 | 21 | @property(nonatomic) _Bool isWebClip; // @synthesize isWebClip=_isWebClip; 22 | @property(retain, nonatomic) NSString *shortVersion; // @synthesize shortVersion=_shortVersion; 23 | @property(retain, nonatomic) NSMutableArray *keywords; // @synthesize keywords=_keywords; 24 | @property(retain, nonatomic) NSString *longDisplayName; // @synthesize longDisplayName=_longDisplayName; 25 | @property(retain, nonatomic) NSString *displayName; // @synthesize displayName=_displayName; 26 | @property(retain, nonatomic) NSString *displayIdentifier; // @synthesize displayIdentifier=_displayIdentifier; 27 | - (void).cxx_destruct; 28 | @property(readonly, nonatomic) __weak SPSearchResult *searchResult; 29 | - (id)description; 30 | 31 | @end 32 | 33 | -------------------------------------------------------------------------------- /SPDefaultSearchDatastore.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "SDModernSearchDatastore.h" 10 | 11 | @class NSDictionary, NSString, _DECConsumer; 12 | 13 | @interface SPDefaultSearchDatastore : NSObject 14 | { 15 | _DECConsumer *_consumer; 16 | } 17 | 18 | - (void).cxx_destruct; 19 | - (void)sendFeedback:(id)arg1; 20 | - (id)displayIdentifierForDomain:(unsigned int)arg1; 21 | - (id)searchDomains; 22 | - (id)performQuery:(id)arg1; 23 | - (void)addApplicationResults:(id)arg1 toSection:(id)arg2; 24 | - (void)addApplicationDeeplinkResults:(id)arg1 toSection:(id)arg2; 25 | - (void)addPersonResults:(id)arg1 toSection:(id)arg2; 26 | - (_Bool)onlyDefaultSearch; 27 | - (_Bool)offersDefaultSearch; 28 | - (void)deactivate; 29 | - (void)activate; 30 | - (void)dealloc; 31 | - (id)init; 32 | 33 | // Remaining properties 34 | @property(retain, nonatomic) NSDictionary *category_stats; 35 | @property(readonly, copy) NSString *debugDescription; 36 | @property(readonly, copy) NSString *description; 37 | @property(readonly) unsigned long long hash; 38 | @property(readonly) Class superclass; 39 | 40 | @end 41 | 42 | -------------------------------------------------------------------------------- /SDClient.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSDate, NSMutableDictionary, NSString, SDUpdatesFile; 10 | 11 | @interface SDClient : NSObject 12 | { 13 | NSMutableDictionary *_queriesByExternId; 14 | _Bool _updating; 15 | NSString *_applicationDisplayID; 16 | NSString *_category; 17 | SDUpdatesFile *_updatesFile; 18 | NSMutableDictionary *_contentIndices; 19 | NSDate *_timer; 20 | NSString *_lastQuery; 21 | } 22 | 23 | + (void)registerMessageHandlersWithServer:(id)arg1; 24 | + (id)clientForConnection:(id)arg1; 25 | - (void).cxx_destruct; 26 | - (void)dealloc; 27 | - (void)cancelQueryWithExternalID:(unsigned int)arg1; 28 | - (void)getImageDataForImageIdentifier:(id)arg1 domain:(unsigned int)arg2 size:(struct CGSize)arg3 callback:(CDUnknownBlockType)arg4; 29 | - (void)getImageDataForResultIdentifier:(unsigned long long)arg1 domain:(unsigned int)arg2 size:(struct CGSize)arg3 callback:(CDUnknownBlockType)arg4; 30 | - (void)addAndStartQuery:(id)arg1; 31 | - (void)removeActiveQuery:(id)arg1; 32 | - (void)_endCrashHandling; 33 | - (void)_beginCrashHandlingForStore:(id)arg1 andQuery:(id)arg2; 34 | 35 | @end 36 | 37 | -------------------------------------------------------------------------------- /SDModernSearchDatastore-Protocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSArray, NSDictionary, NSString, SDSearchQuery, SPContentResult, SPFeedback; 10 | 11 | @protocol SDModernSearchDatastore 12 | - (NSString *)displayIdentifierForDomain:(unsigned int)arg1; 13 | - (NSArray *)searchDomains; 14 | 15 | @optional 16 | @property(retain, nonatomic) NSDictionary *category_stats; 17 | - (void)shrink; 18 | - (void)imageDataForIdentifier:(NSString *)arg1 domain:(unsigned int)arg2 size:(struct CGSize)arg3 completion:(void (^)(NSData *))arg4; 19 | - (void)imageDataForResultIdentifier:(unsigned long long)arg1 domain:(unsigned int)arg2 size:(struct CGSize)arg3 completion:(void (^)(NSData *))arg4; 20 | - (id )performQuery:(SDSearchQuery *)arg1; 21 | - (_Bool)onlyDefaultSearch; 22 | - (_Bool)offersDefaultSearch; 23 | - (void)sendFeedback:(SPFeedback *)arg1; 24 | - (SPContentResult *)resultForIdentifier:(NSString *)arg1 domain:(unsigned int)arg2; 25 | - (NSString *)categoryForDomain:(unsigned int)arg1; 26 | - (double)timeOutForDomain:(unsigned int)arg1; 27 | - (_Bool)wantsEveryResultInItsOwnSection; 28 | - (void)shutDown; 29 | - (_Bool)coolDown; 30 | - (void)preheat; 31 | - (void)deactivate; 32 | - (void)activate; 33 | @end 34 | 35 | -------------------------------------------------------------------------------- /SPCoreSpotlightResult.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "SPSearchResult.h" 8 | 9 | @class NSDate, NSString; 10 | 11 | @interface SPCoreSpotlightResult : SPSearchResult 12 | { 13 | NSString *_relatedUniqueIdentifier; 14 | unsigned long long _buddyScore; 15 | NSString *_itemIdentifier; 16 | NSDate *_lastUsedDate; 17 | NSDate *_interestingDate; 18 | NSString *_domainIdentifier; 19 | long long _incomingCount; 20 | long long _outgoingCount; 21 | } 22 | 23 | @property long long outgoingCount; // @synthesize outgoingCount=_outgoingCount; 24 | @property long long incomingCount; // @synthesize incomingCount=_incomingCount; 25 | @property(retain) NSString *domainIdentifier; // @synthesize domainIdentifier=_domainIdentifier; 26 | @property(retain) NSDate *interestingDate; // @synthesize interestingDate=_interestingDate; 27 | @property(retain) NSDate *lastUsedDate; // @synthesize lastUsedDate=_lastUsedDate; 28 | @property(retain) NSString *itemIdentifier; // @synthesize itemIdentifier=_itemIdentifier; 29 | @property unsigned long long buddyScore; // @synthesize buddyScore=_buddyScore; 30 | @property(retain) NSString *relatedUniqueIdentifier; // @synthesize relatedUniqueIdentifier=_relatedUniqueIdentifier; 31 | - (void).cxx_destruct; 32 | 33 | @end 34 | 35 | -------------------------------------------------------------------------------- /SPCoreSpotlightContentResult.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "SPContentResult.h" 8 | 9 | @class NSDate, NSString; 10 | 11 | @interface SPCoreSpotlightContentResult : SPContentResult 12 | { 13 | NSString *_relatedUniqueIdentifier; 14 | unsigned long long _buddyScore; 15 | NSString *_itemIdentifier; 16 | NSDate *_lastUsedDate; 17 | NSDate *_interestingDate; 18 | NSString *_domainIdentifier; 19 | long long _incomingCount; 20 | long long _outgoingCount; 21 | } 22 | 23 | @property long long outgoingCount; // @synthesize outgoingCount=_outgoingCount; 24 | @property long long incomingCount; // @synthesize incomingCount=_incomingCount; 25 | @property(retain) NSString *domainIdentifier; // @synthesize domainIdentifier=_domainIdentifier; 26 | @property(retain) NSDate *interestingDate; // @synthesize interestingDate=_interestingDate; 27 | @property(retain) NSDate *lastUsedDate; // @synthesize lastUsedDate=_lastUsedDate; 28 | @property(retain) NSString *itemIdentifier; // @synthesize itemIdentifier=_itemIdentifier; 29 | @property unsigned long long buddyScore; // @synthesize buddyScore=_buddyScore; 30 | @property(retain) NSString *relatedUniqueIdentifier; // @synthesize relatedUniqueIdentifier=_relatedUniqueIdentifier; 31 | - (void).cxx_destruct; 32 | 33 | @end 34 | 35 | -------------------------------------------------------------------------------- /SDController.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSObject, SPCoreSpotlightIndexer, SPXPCMessage, SPXPCServer; 10 | 11 | @interface SDController : NSObject 12 | { 13 | SPXPCServer *_xpcServer; 14 | NSObject *signal_handlers[4]; 15 | NSObject *_memoryStatusSource; 16 | int signal_count; 17 | SPCoreSpotlightIndexer *_indexer; 18 | SPXPCMessage *_currentActivation; 19 | } 20 | 21 | + (id)defaultDatastoreForDomain:(unsigned int)arg1; 22 | + (id)defaultDatastoreDomainMap; 23 | + (id)defaultDatastores; 24 | + (id)datastoreForDomain:(unsigned int)arg1; 25 | + (id)domainMap; 26 | + (id)datastores; 27 | + (void)setDatastores:(id)arg1; 28 | + (void)setParsecDatastore:(id)arg1; 29 | + (void)sendParsecFeedback:(id)arg1; 30 | + (void)initialize; 31 | + (id)imageFetchingQueue; 32 | + (void)decrementOutstandingBackgroundJobs; 33 | + (void)incrementOutstandingBackgroundJobs; 34 | + (id)backgroundWorkQueue; 35 | + (id)workQueue; 36 | - (void).cxx_destruct; 37 | - (_Bool)keepRunning; 38 | - (id)init; 39 | - (void)registerMessageHandlers; 40 | - (void)setActivation:(id)arg1; 41 | - (_Bool)_valueFromArray:(id)arg1 notInSet:(id)arg2; 42 | - (void)addSignalHandler; 43 | - (void)addMemoryHandler; 44 | 45 | @end 46 | 47 | -------------------------------------------------------------------------------- /SPCoreSpotlightQueryTask.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "SDSearchToken.h" 10 | 11 | @class NSDictionary, NSObject, NSString, SDSearchQuery, SPCoreSpotlightDatastore, SPCoreSpotlightTask; 12 | 13 | @interface SPCoreSpotlightQueryTask : NSObject 14 | { 15 | _Bool _done; 16 | _Bool _live; 17 | _Bool _canceled; 18 | SPCoreSpotlightTask *_job; 19 | SPCoreSpotlightDatastore *_store; 20 | NSObject *_queue; 21 | SDSearchQuery *_resultPipe; 22 | } 23 | 24 | @property _Bool canceled; // @synthesize canceled=_canceled; 25 | @property _Bool live; // @synthesize live=_live; 26 | @property _Bool done; // @synthesize done=_done; 27 | @property(nonatomic) __weak SDSearchQuery *resultPipe; // @synthesize resultPipe=_resultPipe; 28 | @property(readonly, nonatomic) NSObject *queue; // @synthesize queue=_queue; 29 | @property(readonly) SPCoreSpotlightDatastore *store; // @synthesize store=_store; 30 | @property(retain, nonatomic) SPCoreSpotlightTask *job; // @synthesize job=_job; 31 | - (void).cxx_destruct; 32 | - (void)finish; 33 | - (void)begin; 34 | - (void)cancel; 35 | - (id)initWithStore:(id)arg1 resultPipe:(id)arg2; 36 | 37 | // Remaining properties 38 | @property(retain, nonatomic) NSDictionary *category_stats; 39 | @property(readonly, copy) NSString *debugDescription; 40 | @property(readonly, copy) NSString *description; 41 | @property(readonly) unsigned long long hash; 42 | @property(readonly) Class superclass; 43 | 44 | @end 45 | 46 | -------------------------------------------------------------------------------- /CSSearchableIndexInterface-Protocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class CSIndexJob, CSSearchableItem, CSUserAction, NSArray, NSData, NSDate, NSNumber, NSString; 10 | 11 | @protocol CSSearchableIndexInterface 12 | - (void)fetchLastClientStateWithProtectionClass:(NSString *)arg1 forBundleID:(NSString *)arg2 clientStateName:(NSString *)arg3 options:(long long)arg4 completionHandler:(void (^)(NSData *, NSError *))arg5; 13 | - (void)changeStateOfSearchableItemsWithUIDs:(NSArray *)arg1 toState:(long long)arg2 protectionClass:(NSString *)arg3 forBundleID:(NSString *)arg4 forUTIType:(NSString *)arg5 options:(long long)arg6; 14 | - (void)deleteAllSearchableItemsWithProtectionClass:(NSString *)arg1 forBundleID:(NSString *)arg2 options:(long long)arg3 completionHandler:(void (^)(NSError *))arg4; 15 | - (void)deleteSearchableItemsSinceDate:(NSDate *)arg1 protectionClass:(NSString *)arg2 forBundleID:(NSString *)arg3 options:(long long)arg4 completionHandler:(void (^)(NSError *))arg5; 16 | - (void)deleteSearchableItemsWithDomainIdentifiers:(NSArray *)arg1 protectionClass:(NSString *)arg2 forBundleID:(NSString *)arg3 options:(long long)arg4 completionHandler:(void (^)(NSError *))arg5; 17 | - (void)indexSearchableItems:(NSArray *)arg1 deleteSearchableItemsWithIdentifiers:(NSArray *)arg2 clientState:(NSData *)arg3 clientStateName:(NSString *)arg4 protectionClass:(NSString *)arg5 forBundleID:(NSString *)arg6 options:(long long)arg7 completionHandler:(void (^)(NSError *))arg8; 18 | - (void)indexSearchableItems:(NSArray *)arg1 deleteSearchableItemsWithIdentifiers:(NSArray *)arg2 clientState:(NSData *)arg3 protectionClass:(NSString *)arg4 forBundleID:(NSString *)arg5 options:(long long)arg6 completionHandler:(void (^)(NSError *))arg7; 19 | - (void)willModifySearchableItemsWithIdentifiers:(NSArray *)arg1 protectionClass:(NSString *)arg2 forBundleID:(NSString *)arg3 options:(long long)arg4 completionHandler:(void (^)(NSError *))arg5; 20 | 21 | @optional 22 | - (void)_issueCommand:(NSString *)arg1 completionHandler:(void (^)(NSData *, NSError *))arg2; 23 | - (void)_forceAppWithBundleID:(NSString *)arg1 toPerformJob:(CSIndexJob *)arg2; 24 | - (void)performDataMigrationWithTimeout:(NSNumber *)arg1 completionHandler:(void (^)(NSError *))arg2; 25 | - (void)acknowledgeReindex; 26 | - (void)checkInWithProtectionClass:(NSString *)arg1 completionHandler:(void (^)(CSIndexJob *, NSError *))arg2; 27 | - (void)userPerformedAction:(CSUserAction *)arg1 withItem:(CSSearchableItem *)arg2 protectionClass:(NSString *)arg3; 28 | - (void)userPerformedAction:(CSUserAction *)arg1 withItem:(CSSearchableItem *)arg2 protectionClass:(NSString *)arg3 forBundleID:(NSString *)arg4; 29 | - (void)indexFromBundle:(NSString *)arg1 protectionClass:(NSString *)arg2 options:(long long)arg3 items:(NSData *)arg4 itemsText:(NSData *)arg5 itemsHTML:(NSData *)arg6 clientState:(NSData *)arg7 clientStateName:(NSString *)arg8 deletes:(NSData *)arg9 completionHandler:(void (^)(NSError *))arg10; 30 | @end 31 | 32 | -------------------------------------------------------------------------------- /SPParsecQueryTask.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "PRSSearchQueryHandler.h" 10 | #import "SDSearchToken.h" 11 | 12 | @class NSArray, NSDictionary, NSObject, NSString, PRSQueryTask, SDSearchQuery, SPParsecDatastore; 13 | 14 | @interface SPParsecQueryTask : NSObject 15 | { 16 | NSArray *_rankingPatterns; 17 | _Bool _canceled; 18 | _Bool _done; 19 | _Bool _parsecLoaded; 20 | _Bool _webSearchLoaded; 21 | SPParsecDatastore *_store; 22 | NSDictionary *_category_stats; 23 | NSString *_fbq; 24 | NSString *_web_fbq; 25 | NSObject *_queue; 26 | SDSearchQuery *_resultPipe; 27 | PRSQueryTask *_parsecQuery; 28 | PRSQueryTask *_webSearchQuery; 29 | NSArray *_parsecResults; 30 | NSArray *_webSearchResults; 31 | NSArray *_parsecResultsCategoryOrder; 32 | unsigned long long _startTime; 33 | } 34 | 35 | + (id)getLastReceivedCategoryStats; 36 | @property unsigned long long startTime; // @synthesize startTime=_startTime; 37 | @property _Bool webSearchLoaded; // @synthesize webSearchLoaded=_webSearchLoaded; 38 | @property _Bool parsecLoaded; // @synthesize parsecLoaded=_parsecLoaded; 39 | @property(retain) NSArray *parsecResultsCategoryOrder; // @synthesize parsecResultsCategoryOrder=_parsecResultsCategoryOrder; 40 | @property(retain) NSArray *webSearchResults; // @synthesize webSearchResults=_webSearchResults; 41 | @property(retain) NSArray *parsecResults; // @synthesize parsecResults=_parsecResults; 42 | @property(retain) PRSQueryTask *webSearchQuery; // @synthesize webSearchQuery=_webSearchQuery; 43 | @property(retain) PRSQueryTask *parsecQuery; // @synthesize parsecQuery=_parsecQuery; 44 | @property _Bool done; // @synthesize done=_done; 45 | @property _Bool canceled; // @synthesize canceled=_canceled; 46 | @property(nonatomic) __weak SDSearchQuery *resultPipe; // @synthesize resultPipe=_resultPipe; 47 | @property(retain, nonatomic) NSObject *queue; // @synthesize queue=_queue; 48 | @property(readonly) NSString *web_fbq; // @synthesize web_fbq=_web_fbq; 49 | @property(readonly) NSString *fbq; // @synthesize fbq=_fbq; 50 | @property(retain, nonatomic) NSDictionary *category_stats; // @synthesize category_stats=_category_stats; 51 | @property(readonly) SPParsecDatastore *store; // @synthesize store=_store; 52 | - (void).cxx_destruct; 53 | - (id)getCepServerValues; 54 | - (unsigned long long)calculateScoreForResult:(id)arg1; 55 | - (long long)matchQualityForAttribute:(id)arg1 queryString:(id)arg2; 56 | - (id)parsecResultsOrder; 57 | - (void)createParsecResultOrder; 58 | - (void)query:(id)arg1 didFinishWithResults:(id)arg2; 59 | - (void)_setScore:(unsigned long long)arg1 forResult:(id)arg2; 60 | - (void)queryDidFinishLoading:(id)arg1; 61 | - (id)createObjectForProtocol:(id)arg1; 62 | - (void)cancel; 63 | - (void)finished; 64 | - (void)setRankingQueries:(id)arg1; 65 | - (id)initWithStore:(id)arg1 resultPipe:(id)arg2 queue:(id)arg3; 66 | 67 | // Remaining properties 68 | @property(readonly, copy) NSString *debugDescription; 69 | @property(readonly, copy) NSString *description; 70 | @property(readonly) unsigned long long hash; 71 | @property(readonly) Class superclass; 72 | 73 | @end 74 | 75 | -------------------------------------------------------------------------------- /SPParsecDatastore.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "PRSInstalledAppsDataSourceDelegate.h" 10 | #import "PRSSessionController.h" 11 | #import "SDModernSearchDatastore.h" 12 | 13 | @class NSArray, NSDictionary, NSObject, NSSet, NSString, NSURLSessionConfiguration, PRSSearchSession; 14 | 15 | @interface SPParsecDatastore : NSObject 16 | { 17 | _Bool _activated; 18 | PRSSearchSession *_session; 19 | struct __MDSimpleQueryEvaluator *_queryEval; 20 | NSObject *_queue; 21 | NSObject *_feedbackQueue; 22 | double _sessionStartTime; 23 | NSDictionary *_cep_server_values; 24 | } 25 | 26 | + (void)initialize; 27 | @property(readonly, nonatomic) NSDictionary *cep_server_values; // @synthesize cep_server_values=_cep_server_values; 28 | @property(nonatomic) double sessionStartTime; // @synthesize sessionStartTime=_sessionStartTime; 29 | @property _Bool activated; // @synthesize activated=_activated; 30 | @property(retain, nonatomic) NSObject *feedbackQueue; // @synthesize feedbackQueue=_feedbackQueue; 31 | @property(retain, nonatomic) NSObject *queue; // @synthesize queue=_queue; 32 | @property(nonatomic) struct __MDSimpleQueryEvaluator *queryEval; // @synthesize queryEval=_queryEval; 33 | @property(retain, nonatomic) PRSSearchSession *session; // @synthesize session=_session; 34 | - (void).cxx_destruct; 35 | - (void)shrink; 36 | @property(readonly) NSSet *appBlacklist; 37 | - (long long)getCategoryScoreToReturnInFeedback; 38 | - (id)rankingKnobs; 39 | - (id)cepData; 40 | - (id)cannedCEPValues; 41 | - (id)getCepServerValues; 42 | - (void)setCepServerValues:(id)arg1; 43 | - (void)fetchCardDataFromURL:(id)arg1 completion:(CDUnknownBlockType)arg2; 44 | - (void)getFTEStringsWithReply:(CDUnknownBlockType)arg1; 45 | - (id)installedApps; 46 | - (void)sendFeedback:(id)arg1; 47 | - (void)sessionReceivedBagWithEnabledDomains:(id)arg1; 48 | - (void)imageDataForIdentifier:(id)arg1 domain:(unsigned int)arg2 size:(struct CGSize)arg3 completion:(CDUnknownBlockType)arg4; 49 | - (id)displayIdentifierForDomain:(unsigned int)arg1; 50 | - (double)timeOutForDomain:(unsigned int)arg1; 51 | - (id)searchDomains; 52 | - (void)shutDown; 53 | - (_Bool)coolDown; 54 | - (void)preheat; 55 | - (void)deactivate; 56 | - (void)activate; 57 | - (id)performQuery:(id)arg1; 58 | @property(readonly, nonatomic) NSURLSessionConfiguration *urlSessionConfiguration; 59 | @property(readonly, nonatomic) NSArray *excludedDomainIdentifiers; 60 | @property(readonly, nonatomic) NSArray *supportedDomainIdentifiers; 61 | @property(readonly, nonatomic) long long useLedBelly; 62 | - (_Bool)isWebSearchEnabled; 63 | @property(readonly, nonatomic, getter=isEnabled) _Bool enabled; 64 | @property(readonly, nonatomic) NSString *applicationNameForUserAgent; 65 | @property(readonly, nonatomic) NSString *parsecBaseURL; 66 | - (_Bool)offersDefaultSearch; 67 | - (id)init; 68 | @property(readonly, nonatomic) long long useSprite; 69 | 70 | // Remaining properties 71 | @property(retain, nonatomic) NSDictionary *category_stats; 72 | @property(readonly, copy) NSString *debugDescription; 73 | @property(readonly, copy) NSString *description; 74 | @property(readonly) unsigned long long hash; 75 | @property(readonly) Class superclass; 76 | @property(readonly, nonatomic) _Bool useGUID; 77 | @property(retain, nonatomic) NSString *userId; 78 | 79 | @end 80 | 81 | -------------------------------------------------------------------------------- /SDSearchQuery.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "SPSearchQuery.h" 8 | 9 | #import "SPSearchResultsPipe.h" 10 | 11 | @class NSArray, NSDictionary, NSMutableArray, NSMutableDictionary, NSObject, NSString, SPXPCConnection, SPXPCMessage; 12 | 13 | @interface SDSearchQuery : SPSearchQuery 14 | { 15 | SPXPCConnection *_connection; 16 | unsigned int _externalID; 17 | unsigned long long _stopWaitTime; 18 | NSObject *_timer; 19 | NSMutableArray *_waitingDomains; 20 | NSArray *_bottomRankedCategories; 21 | _Bool _didSendTopHits; 22 | _Bool _didSendResults; 23 | _Bool _isZKW; 24 | NSDictionary *_category_stats; 25 | NSArray *_parsecCategoryOrdering; 26 | NSMutableDictionary *_categoryToResultMapping; 27 | SPXPCMessage *_message; 28 | unsigned long long _startTime; 29 | NSString *_fbq; 30 | NSString *_web_fbq; 31 | NSMutableArray *_tokens; 32 | NSMutableArray *_slowTokens; 33 | NSMutableDictionary *_sections; 34 | } 35 | 36 | @property(retain, nonatomic) NSMutableDictionary *sections; // @synthesize sections=_sections; 37 | @property(retain, nonatomic) NSMutableArray *slowTokens; // @synthesize slowTokens=_slowTokens; 38 | @property(retain, nonatomic) NSMutableArray *tokens; // @synthesize tokens=_tokens; 39 | @property(readonly) NSString *web_fbq; // @synthesize web_fbq=_web_fbq; 40 | @property(readonly) NSString *fbq; // @synthesize fbq=_fbq; 41 | @property(nonatomic) unsigned long long startTime; // @synthesize startTime=_startTime; 42 | @property(nonatomic) _Bool isZKW; // @synthesize isZKW=_isZKW; 43 | @property(retain, nonatomic) SPXPCMessage *message; // @synthesize message=_message; 44 | @property(readonly, nonatomic) unsigned int externalID; // @synthesize externalID=_externalID; 45 | @property(readonly, nonatomic) SPXPCConnection *connection; // @synthesize connection=_connection; 46 | @property(retain, nonatomic) NSMutableDictionary *categoryToResultMapping; // @synthesize categoryToResultMapping=_categoryToResultMapping; 47 | @property(retain, nonatomic) NSArray *parsecCategoryOrdering; // @synthesize parsecCategoryOrdering=_parsecCategoryOrdering; 48 | @property(retain, nonatomic) NSDictionary *category_stats; // @synthesize category_stats=_category_stats; 49 | - (void).cxx_destruct; 50 | - (void)dealloc; 51 | - (_Bool)onlyDefaultSearch; 52 | - (_Bool)offersDefaultSearch; 53 | - (id)initWithSearchString:(id)arg1 keyboardLanguage:(id)arg2 keyboardPrimaryLanguage:(id)arg3 forSearchDomains:(id)arg4 disabledBundles:(id)arg5 externalID:(unsigned int)arg6 connection:(id)arg7; 54 | - (_Bool)storeCompletedSearch:(id)arg1; 55 | - (void)storeWillComplete:(id)arg1; 56 | - (void)setTimeout:(float)arg1; 57 | - (void)domainCompletedSearch:(unsigned int)arg1; 58 | - (void)sendFinishedDomains; 59 | - (void)subcategorize:(id)arg1; 60 | - (void)makeTopHits:(id)arg1 maxTopHitCount:(long long)arg2; 61 | - (void)sendResultsForKeys:(id)arg1 toSendSections:(id)arg2; 62 | - (id)orderedCategories:(id)arg1; 63 | - (void)getSmartRankedDomains:(id *)arg1 bottom:(id *)arg2 blacklisted:(id *)arg3; 64 | - (id)getBagCEPBlacklist:(id)arg1; 65 | - (_Bool)isFoundInCache:(id)arg1; 66 | - (void)appendSection:(id)arg1; 67 | - (void)appendSection:(id)arg1 toSerializerDomain:(unsigned int)arg2; 68 | - (void)appendResults:(id)arg1 toSerializerDomain:(unsigned int)arg2; 69 | - (void)appendResults:(id)arg1; 70 | - (void)appendSerializer:(id)arg1 toSerializerDomain:(unsigned int)arg2; 71 | - (void)sendQueryReset; 72 | - (void)sendQueryCompleted; 73 | - (void)sendError:(id)arg1; 74 | - (void)sendResults:(id)arg1; 75 | - (void)sendData:(id)arg1; 76 | - (void)cancel; 77 | - (void)addSlowQueryToken:(id)arg1; 78 | - (void)addQueryToken:(id)arg1; 79 | - (void)queryFinishedWithError:(id)arg1; 80 | 81 | @end 82 | 83 | -------------------------------------------------------------------------------- /SPCoreSpotlightDatastore.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "SDModernSearchDatastore.h" 10 | 11 | @class NSCalendar, NSDateFormatter, NSDateIntervalFormatter, NSDictionary, NSNumber, NSNumberFormatter, NSObject, NSString; 12 | 13 | @interface SPCoreSpotlightDatastore : NSObject 14 | { 15 | _Bool _loadedApps; 16 | int _changedToken; 17 | NSObject *_queryQueue; 18 | NSNumberFormatter *_numberFormatter; 19 | NSCalendar *_calendar; 20 | NSDateFormatter *_dateFormatter; 21 | NSDateFormatter *_allDayDateFormatter; 22 | NSDateIntervalFormatter *_dateIntervalFormatter; 23 | _Bool _explicitContentAllowed; 24 | NSNumber *_maxTVShowRating; 25 | NSNumber *_maxMovieRating; 26 | _Bool _activated; 27 | } 28 | 29 | + (id)rankingTerms:(id)arg1; 30 | + (id)attributeNameArray; 31 | + (void)initialize; 32 | - (void).cxx_destruct; 33 | - (void)imageDataForIdentifier:(id)arg1 domain:(unsigned int)arg2 size:(struct CGSize)arg3 completion:(CDUnknownBlockType)arg4; 34 | - (void)sendFeedback:(id)arg1; 35 | - (id)displayIdentifierForDomain:(unsigned int)arg1; 36 | - (id)searchDomains; 37 | - (id)_searchDomainsSet; 38 | - (id)performQuery:(id)arg1; 39 | - (void)processSection:(id)arg1; 40 | - (void)makeCoreSpotlightResult:(id)arg1 dataclass:(id)arg2 query:(id)arg3 score:(id)arg4 utiType:(id)arg5 bundleID:(id)arg6 corespotlightSection:(id)arg7 contactsSection:(id)arg8 voiceSection:(id)arg9 calendarSection:(id)arg10 remindersSection:(id)arg11 notesSection:(id)arg12 pseudoContactsSection:(id)arg13; 41 | - (id)attributeMapToUserActivityResults:(id)arg1 toResults:(id)arg2 bundleID:(id)arg3 identifiers:(id)arg4; 42 | - (id)makeUserActivityResultsForBundleID:(id)arg1 fromIdentifiers:(id)arg2; 43 | - (void)_populateUserActivityResult:(id)arg1 values:(id)arg2 utiType:(id)arg3 bundleID:(id)arg4; 44 | - (void)processGenericItem:(id)arg1 dataclass:(id)arg2 values:(id)arg3 utiType:(id)arg4 bundleID:(id)arg5 corespotlightSection:(id)arg6 contactsSection:(id)arg7 voiceSection:(id)arg8 calendarSection:(id)arg9 remindersSection:(id)arg10 notesSection:(id)arg11; 45 | - (void)setSearchURLForResult:(id)arg1 identifier:(id)arg2 domain:(int)arg3 bundleID:(id)arg4 query:(id)arg5; 46 | - (void)setPromisedDocumentDataForResult:(id)arg1; 47 | - (void)setupGenericItem:(id)arg1 dataclass:(id)arg2 values:(id)arg3 utiType:(id)arg4 bundleID:(id)arg5; 48 | - (_Bool)_playButtonSupportedForBundleID:(id)arg1; 49 | - (void)addActionButton:(id)arg1 contentType:(id)arg2 contentTypeTree:(id)arg3 values:(id)arg4; 50 | - (_Bool)_contentType:(id)arg1 orContentTypeTree:(id)arg2 representsType:(id)arg3; 51 | - (_Bool)documentIsRepresentedByContentType:(id)arg1 orContentTypeTree:(id)arg2; 52 | - (_Bool)contactIsRepresentedByContentType:(id)arg1 orContentTypeTree:(id)arg2; 53 | - (_Bool)messageIsRepresentedByContentType:(id)arg1 orContentTypeTree:(id)arg2; 54 | - (_Bool)reminderIsRepresentedByContentType:(id)arg1 orContentTypeTree:(id)arg2; 55 | - (_Bool)eventIsRepresentedByContentType:(id)arg1 orContentTypeTree:(id)arg2; 56 | - (_Bool)bookIsRepresentedByContentType:(id)arg1 orContentTypeTree:(id)arg2; 57 | - (_Bool)playlistOrAlbumIsRepresentedByContentType:(id)arg1 orContentTypeTree:(id)arg2; 58 | - (_Bool)audioOrVideoIsRepresentedByContentType:(id)arg1 orContentTypeTree:(id)arg2; 59 | - (_Bool)audioIsRepresentedByContentType:(id)arg1 orContentTypeTree:(id)arg2; 60 | - (_Bool)imageIsRepresentedByContentType:(id)arg1 orContentTypeTree:(id)arg2; 61 | - (void)addNavButton:(id)arg1 latitude:(id)arg2 longitude:(id)arg3; 62 | - (void)addCallButton:(id)arg1 phoneNumber:(id)arg2; 63 | - (void)addPlayButton:(id)arg1 adamID:(id)arg2; 64 | - (void)makePersonResult:(id)arg1 identifier:(id)arg2 query:(id)arg3 result:(id)arg4; 65 | - (id)makeDateBasedResult:(id)arg1 result:(id)arg2; 66 | - (void)makeApplicationResult:(id)arg1 dataclass:(id)arg2 score:(id)arg3 appSection:(id)arg4; 67 | - (void)makeMessagesResult:(id)arg1 dataclass:(id)arg2 query:(id)arg3 score:(id)arg4 messagesSection:(id)arg5; 68 | - (void)makeMailResult:(id)arg1 dataclass:(id)arg2 score:(id)arg3 searchString:(id)arg4 mailSection:(id)arg5; 69 | - (void)deactivate; 70 | - (void)activate; 71 | - (void)updateApplications; 72 | - (void)primeApplications; 73 | - (void)dealloc; 74 | - (void)_updateCalendarAndFormatterLocale; 75 | - (id)init; 76 | - (void)localeChanged:(id)arg1; 77 | 78 | // Remaining properties 79 | @property(retain, nonatomic) NSDictionary *category_stats; 80 | @property(readonly, copy) NSString *debugDescription; 81 | @property(readonly, copy) NSString *description; 82 | @property(readonly) unsigned long long hash; 83 | @property(readonly) Class superclass; 84 | 85 | @end 86 | 87 | -------------------------------------------------------------------------------- /SPConcreteCoreSpotlightIndexer.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | @class NSMapTable, NSMutableArray, NSMutableSet, NSObject, NSObject, NSString, SPCoreSpotlightIndexer, _SPPtrDict; 10 | 11 | @interface SPConcreteCoreSpotlightIndexer : NSObject 12 | { 13 | unsigned int _maintenanceOperations; 14 | unsigned long long _dirty_time; 15 | int *_cancelPtr; 16 | int _suspended; 17 | NSMapTable *_checkedInClients; 18 | NSMutableSet *_knownClients; 19 | NSMutableSet *_reindexAllDelegateBundleIDs; 20 | double _lastPreheat; 21 | double _lastTTLPass; 22 | SPCoreSpotlightIndexer *_owner; 23 | struct __SI *_index; 24 | struct __SIResultQueue *_resultQueue; 25 | NSObject *_indexQueue; 26 | NSObject *_firstUnlockQueue; 27 | _SPPtrDict *_tagSet; 28 | NSString *_dataclass; 29 | NSObject *_idleTimer; 30 | NSMutableArray *_outstandingMaintenance; 31 | } 32 | 33 | + (id)_stateInfoAttributeNameWithClientStateName:(id)arg1; 34 | + (void)initialize; 35 | @property(retain, nonatomic) NSMutableArray *outstandingMaintenance; // @synthesize outstandingMaintenance=_outstandingMaintenance; 36 | @property(retain, nonatomic) NSObject *idleTimer; // @synthesize idleTimer=_idleTimer; 37 | @property(retain, nonatomic) NSString *dataclass; // @synthesize dataclass=_dataclass; 38 | @property(retain, nonatomic) _SPPtrDict *tagSet; // @synthesize tagSet=_tagSet; 39 | @property(retain, nonatomic) NSObject *firstUnlockQueue; // @synthesize firstUnlockQueue=_firstUnlockQueue; 40 | @property(retain, nonatomic) NSObject *indexQueue; // @synthesize indexQueue=_indexQueue; 41 | @property(nonatomic) struct __SIResultQueue *resultQueue; // @synthesize resultQueue=_resultQueue; 42 | @property(nonatomic) struct __SI *index; // @synthesize index=_index; 43 | @property(nonatomic) __weak SPCoreSpotlightIndexer *owner; // @synthesize owner=_owner; 44 | - (void).cxx_destruct; 45 | - (void)powerStateChanged; 46 | - (void)attributesForBundleId:(id)arg1 identifier:(id)arg2 completion:(CDUnknownBlockType)arg3; 47 | - (void)fetchAttributes:(id)arg1 bundleID:(id)arg2 identifiers:(id)arg3 completion:(CDUnknownBlockType)arg4; 48 | - (void)imageDataForBundleId:(id)arg1 identifier:(id)arg2 completion:(CDUnknownBlockType)arg3; 49 | - (void)userPerformedAction:(id)arg1 withItem:(id)arg2 forBundleID:(id)arg3; 50 | - (void)changeStateOfSearchableItemsWithUIDs:(id)arg1 toState:(long long)arg2 forBundleID:(id)arg3; 51 | - (void)fetchLastClientStateForBundleID:(id)arg1 clientStateName:(id)arg2 completionHandler:(CDUnknownBlockType)arg3; 52 | - (void)deleteSearchableItemsSinceDate:(id)arg1 forBundleID:(id)arg2 completionHandler:(CDUnknownBlockType)arg3; 53 | - (void)deleteAllSearchableItemsForBundleID:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; 54 | - (void)deleteSearchableItemsWithDomainIdentifiers:(id)arg1 forBundleID:(id)arg2 completionHandler:(CDUnknownBlockType)arg3; 55 | - (void)deleteItemsForEnumerator:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; 56 | - (void)deleteItemsForQuery:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; 57 | - (void)willModifySearchableItemsWithIdentifiers:(id)arg1 forBundleID:(id)arg2 completionHandler:(CDUnknownBlockType)arg3; 58 | - (void)cancelQuery:(struct __SIJobRef *)arg1; 59 | - (struct __SIJobRef *)startQuery:(id)arg1 options:(id)arg2 handler:(CDUnknownBlockType)arg3; 60 | - (void)indexSearchableItems:(id)arg1 deleteSearchableItemsWithIdentifiers:(id)arg2 clientState:(id)arg3 clientStateName:(id)arg4 forBundleID:(id)arg5 options:(long long)arg6 completionHandler:(CDUnknownBlockType)arg7; 61 | - (void)indexSearchableItems:(id)arg1 deleteSearchableItemsWithIdentifiers:(id)arg2 clientState:(id)arg3 forBundleID:(id)arg4 options:(long long)arg5 completionHandler:(CDUnknownBlockType)arg6; 62 | - (void)indexFromBundle:(id)arg1 options:(long long)arg2 items:(id)arg3 itemsText:(id)arg4 clientState:(id)arg5 clientStateName:(id)arg6 deletes:(id)arg7 completionHandler:(CDUnknownBlockType)arg8; 63 | - (void)_setClientState:(id)arg1 clientStateName:(id)arg2 forBundleID:(id)arg3 completionHandler:(CDUnknownBlockType)arg4; 64 | - (void)preheat; 65 | - (void)suspendIndexForDeviceLock; 66 | - (void)readyIndex:(_Bool)arg1; 67 | - (void)resumeIndex; 68 | - (void)closeIndex; 69 | - (void)issueRepair; 70 | - (void)issueMerge; 71 | - (void)issueSplit; 72 | - (void)shrink; 73 | - (void)coolDown:(id)arg1; 74 | - (_Bool)commitUpdates:(id)arg1; 75 | - (void)addCompletedBundleIDs:(id)arg1 forIndexerTask:(id)arg2; 76 | - (void)fetchAllCompletedBundleIDsForIndexerTask:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; 77 | - (_Bool)reindexAllStarted; 78 | - (void)finishReindexAll; 79 | - (void)startReindexAll; 80 | - (void)performIndexerTask:(id)arg1 withIndexDelegatesAndCompletionHandler:(CDUnknownBlockType)arg2; 81 | - (void)performIndexerTask:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; 82 | - (void)addClients:(id)arg1; 83 | - (void)checkInWithBundleID:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; 84 | - (void)clientDidCheckin:(id)arg1 service:(id)arg2 completionHandler:(CDUnknownBlockType)arg3; 85 | - (int)openIndex:(_Bool)arg1; 86 | - (int)openIndex:(_Bool)arg1 shouldReindexAll:(_Bool)arg2; 87 | - (void)revokeExpiredItems:(id)arg1; 88 | - (void)removeExpiredItemsForBundleId:(id)arg1 group:(id)arg2; 89 | - (void)indexFinishedDrainingJournal; 90 | - (void)indexFinishedDrainingJournal:(id)arg1; 91 | - (void)scheduleMaintenance:(CDUnknownBlockType)arg1 description:(id)arg2 forDakeWake:(_Bool)arg3; 92 | - (void)performActivity:(id)arg1; 93 | - (id)_indexPath; 94 | - (void)addKnownClient:(id)arg1; 95 | - (void)dirty; 96 | - (id)initWithQueue:(id)arg1 protectionClass:(id)arg2 cancelPtr:(int *)arg3; 97 | - (void)processResultsFromQueue:(struct __SIResultQueue *)arg1; 98 | - (id)getPropertyForKey:(id)arg1; 99 | - (void)setProperty:(id)arg1 forKey:(id)arg2; 100 | - (void)dealloc; 101 | 102 | @end 103 | 104 | -------------------------------------------------------------------------------- /SPCoreSpotlightIndexer.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated by class-dump 3.5 (64 bit). 3 | // 4 | // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. 5 | // 6 | 7 | #import "NSObject.h" 8 | 9 | #import "MDIndexer.h" 10 | 11 | @class NSDictionary, NSObject, NSObject, NSObject, NSSet, NSString; 12 | 13 | @interface SPCoreSpotlightIndexer : NSObject 14 | { 15 | int cancelFlags[4]; 16 | double _lastUpdateTime; 17 | _Bool _deviceFirstUnlockedInMKB; 18 | _Bool _deviceFirstUnlockedInSB; 19 | int _springBoardLockStateNotifyToken; 20 | int _keybagLockStateNotifyToken; 21 | id extensionDelegate; 22 | NSObject *_idleTimer; 23 | NSObject *_indexQueue; 24 | NSObject *_reindexAllQueue; 25 | unsigned long long _dataMigrationStage; 26 | NSDictionary *_concreteIndexers; 27 | unsigned long long _dirty_time; 28 | NSObject *_expirationActivity; 29 | NSObject *_firstUnlockQueue; 30 | NSObject *_firstUnlockTimer; 31 | id _dataMigrationStartObserver; 32 | id _dataMigrationFinishObserver; 33 | NSSet *_dataMigrationBundleIDs; 34 | } 35 | 36 | + (id)sharedInstance; 37 | + (void)shutdown; 38 | + (void)deactivate; 39 | + (void)shrink; 40 | + (void)cooldown; 41 | + (void)preheat; 42 | @property(nonatomic) int keybagLockStateNotifyToken; // @synthesize keybagLockStateNotifyToken=_keybagLockStateNotifyToken; 43 | @property(nonatomic) int springBoardLockStateNotifyToken; // @synthesize springBoardLockStateNotifyToken=_springBoardLockStateNotifyToken; 44 | @property(retain, nonatomic) NSSet *dataMigrationBundleIDs; // @synthesize dataMigrationBundleIDs=_dataMigrationBundleIDs; 45 | @property(retain, nonatomic) id dataMigrationFinishObserver; // @synthesize dataMigrationFinishObserver=_dataMigrationFinishObserver; 46 | @property(retain, nonatomic) id dataMigrationStartObserver; // @synthesize dataMigrationStartObserver=_dataMigrationStartObserver; 47 | @property(retain, nonatomic) NSObject *firstUnlockTimer; // @synthesize firstUnlockTimer=_firstUnlockTimer; 48 | @property(retain, nonatomic) NSObject *firstUnlockQueue; // @synthesize firstUnlockQueue=_firstUnlockQueue; 49 | @property(retain, nonatomic) NSObject *expirationActivity; // @synthesize expirationActivity=_expirationActivity; 50 | @property(nonatomic) unsigned long long dirty_time; // @synthesize dirty_time=_dirty_time; 51 | @property(retain, nonatomic) NSDictionary *concreteIndexers; // @synthesize concreteIndexers=_concreteIndexers; 52 | @property(nonatomic) _Bool deviceFirstUnlockedInSB; // @synthesize deviceFirstUnlockedInSB=_deviceFirstUnlockedInSB; 53 | @property(nonatomic) _Bool deviceFirstUnlockedInMKB; // @synthesize deviceFirstUnlockedInMKB=_deviceFirstUnlockedInMKB; 54 | @property(nonatomic) unsigned long long dataMigrationStage; // @synthesize dataMigrationStage=_dataMigrationStage; 55 | @property(retain, nonatomic) NSObject *reindexAllQueue; // @synthesize reindexAllQueue=_reindexAllQueue; 56 | @property(retain, nonatomic) NSObject *indexQueue; // @synthesize indexQueue=_indexQueue; 57 | @property(retain, nonatomic) NSObject *idleTimer; // @synthesize idleTimer=_idleTimer; 58 | @property __weak id extensionDelegate; // @synthesize extensionDelegate; 59 | - (void).cxx_destruct; 60 | - (void)runMigration; 61 | - (void)powerStateChanged; 62 | - (void)revokeExpiredItems:(id)arg1; 63 | - (void)fetchAttributesForProtectionClass:(id)arg1 attributes:(id)arg2 bundleID:(id)arg3 identifiers:(id)arg4 completion:(CDUnknownBlockType)arg5; 64 | - (void)attributesForProtectionClass:(id)arg1 bundleId:(id)arg2 identifier:(id)arg3 completion:(CDUnknownBlockType)arg4; 65 | - (void)imageDataForProtectionClass:(id)arg1 bundleId:(id)arg2 identifier:(id)arg3 completion:(CDUnknownBlockType)arg4; 66 | - (double)lastUpdateTime; 67 | - (void)performIndexerTask:(id)arg1 withIndexExtensionsAndCompletionHandler:(CDUnknownBlockType)arg2; 68 | - (void)addCompletedBundleIDs:(id)arg1 forIndexerTask:(id)arg2; 69 | - (void)performIndexerTask:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; 70 | - (void)_issueCommand:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; 71 | - (void)clientDidCheckin:(id)arg1 protectionClass:(id)arg2 service:(id)arg3 completionHandler:(CDUnknownBlockType)arg4; 72 | - (void)willModifySearchableItemsWithIdentifiers:(id)arg1 protectionClass:(id)arg2 forBundleID:(id)arg3 options:(long long)arg4 completionHandler:(CDUnknownBlockType)arg5; 73 | - (void)userPerformedAction:(id)arg1 withItem:(id)arg2 protectionClass:(id)arg3 forBundleID:(id)arg4; 74 | - (void)changeStateOfSearchableItemsWithUIDs:(id)arg1 toState:(long long)arg2 protectionClass:(id)arg3 forBundleID:(id)arg4 forUTIType:(id)arg5 options:(long long)arg6; 75 | - (void)fetchLastClientStateWithProtectionClass:(id)arg1 forBundleID:(id)arg2 clientStateName:(id)arg3 options:(long long)arg4 completionHandler:(CDUnknownBlockType)arg5; 76 | - (void)deleteSearchableItemsSinceDate:(id)arg1 protectionClass:(id)arg2 forBundleID:(id)arg3 options:(long long)arg4 completionHandler:(CDUnknownBlockType)arg5; 77 | - (void)deleteAllSearchableItemsWithProtectionClass:(id)arg1 forBundleID:(id)arg2 options:(long long)arg3 completionHandler:(CDUnknownBlockType)arg4; 78 | - (void)deleteSearchableItemsWithDomainIdentifiers:(id)arg1 protectionClass:(id)arg2 forBundleID:(id)arg3 options:(long long)arg4 completionHandler:(CDUnknownBlockType)arg5; 79 | - (void)indexSearchableItems:(id)arg1 deleteSearchableItemsWithIdentifiers:(id)arg2 clientState:(id)arg3 clientStateName:(id)arg4 protectionClass:(id)arg5 forBundleID:(id)arg6 options:(long long)arg7 completionHandler:(CDUnknownBlockType)arg8; 80 | - (void)indexSearchableItems:(id)arg1 deleteSearchableItemsWithIdentifiers:(id)arg2 clientState:(id)arg3 protectionClass:(id)arg4 forBundleID:(id)arg5 options:(long long)arg6 completionHandler:(CDUnknownBlockType)arg7; 81 | - (void)indexFromBundle:(id)arg1 protectionClass:(id)arg2 options:(long long)arg3 items:(id)arg4 itemsText:(id)arg5 itemsHTML:(id)arg6 clientState:(id)arg7 clientStateName:(id)arg8 deletes:(id)arg9 completionHandler:(CDUnknownBlockType)arg10; 82 | - (_Bool)blacklistCheck:(id)arg1; 83 | - (int)openIndex:(_Bool)arg1; 84 | - (int)_openIndex:(_Bool)arg1; 85 | - (void)reindexAllItemsWithIndexers:(id)arg1 completionHandler:(CDUnknownBlockType)arg2; 86 | - (void)cancelQuery:(id)arg1; 87 | - (id)startQuery:(id)arg1 options:(id)arg2 handler:(CDUnknownBlockType)arg3; 88 | - (void)dirty; 89 | - (void)closeIndex; 90 | - (void)shrink; 91 | - (void)coolDown; 92 | - (void)issueRepair:(id)arg1; 93 | - (void)issueMerge:(id)arg1; 94 | - (void)issueSplit:(id)arg1; 95 | - (_Bool)commitUpdates; 96 | - (_Bool)flush; 97 | - (void)preheat; 98 | - (void)dealloc; 99 | - (id)init; 100 | 101 | // Remaining properties 102 | @property(readonly, copy) NSString *debugDescription; 103 | @property(readonly, copy) NSString *description; 104 | @property(readonly) unsigned long long hash; 105 | @property(readonly) Class superclass; 106 | 107 | @end 108 | 109 | --------------------------------------------------------------------------------