luxlabs header browser preview


@class NSMetadataQuery, NSString, NSArray, NSPredicate, NSObject, NSMutableDictionary, NSOperationQueue, NSMutableArray, NSMutableSet, BRItemCollectionGatherer, BRNotificationReceiver, br_pacer;
@protocol OS_dispatch_queue;

@interface BRQuery : NSObject <BRNotificationReceiverDelegate, BRItemCollectionGathererDelegate> {
    NSMutableArray *_results;
    NSMutableDictionary *_resultsByRowID;
    NSMutableDictionary *_fpItemIDToResultItem;
    NSPredicate *_predicate;
    NSString *_bundleIdentifier;
    NSMutableDictionary *_toBeRemovedByFileObjectID;
    NSMutableDictionary *_toBeReplacedByFileObjectID;
    NSMutableDictionary *_toBeInsertedByFileObjectID;
    int _queryState;
    BOOL _ubiquitousGatherComplete;
    BOOL _needsCrashMarking;
    BOOL _needsCrashEvicting;
    BOOL _sendHasUpdateNotification;
    BOOL _isFPFSMode;
    NSArray *_values;
    NSArray *_sortingAttributes;
    struct { unsigned long long first_max_num; unsigned long long first_max_ms; unsigned long long progress_max_num; unsigned long long progress_max_ms; unsigned long long update_max_num; unsigned long long update_max_ms; } _batchingParameters;
    void /* function */ *_create_result_fn;
    void *_create_result_context;
    void /* function */ *_create_result_callbacks_equal;
    void /* function */ *_create_result_callbacks_release;
    void /* function */ *_create_value_fn;
    void *_create_value_context;
    void /* function */ *_create_value_callbacks_equal;
    void /* function */ *_create_value_callbacks_release;
    NSArray *_searchScopes;
    unsigned int _scopeOptions;
    void /* function */ *_sort_fn;
    void *_sort_context;
    struct __CFRunLoop { } *_runLoop;
    NSOperationQueue *_queryQueue;
    _Atomic int _disableCount;
    int _handlerDisableCount;
    BRItemCollectionGatherer *_collectionGatherer;
    NSMutableDictionary *_progressObserverByFPItemID;
    NSMutableSet *_fpItemIDsInTransfer;
    BOOL _isNetworkOffline;
    id _networkReachabilityToken;
    NSMutableSet *_fpItemIDsWithProgressUpdates;
    br_pacer *_progressUpdatePacer;
    NSObject<OS_dispatch_queue> *_progressQueue;
}

@property (weak) NSMetadataQuery *query;
@property (retain) BRNotificationReceiver *receiver;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

+ (id)willBeginPossibleMoveOfItemAtURL:(id)a0 toURL:(id)a1;
+ (void)initialize;
+ (id)willBeginPossibleDeletionOfItemAtURL:(id)a0;
+ (void)didEndPossibleFileOperation:(id)a0;
+ (id)willBeginPossibleCreationOfItemAtURL:(id)a0;

- (void)_applicationWillResignActive:(id)a0;
- (void)_applicationDidBecomeActive:(id)a0;
- (unsigned long long)resultCount;
- (void)dealloc;
- (id)queryQueue;
- (void)networkReachabilityChanged:(BOOL)a0;
- (void)_processChanges:(id)a0;
- (void)stop;
- (void)setQueryQueue:(id)a0;
- (void).cxx_destruct;
- (id)attributeValueForName:(id)a0 forResultAtIndex:(long long)a1;
- (unsigned long long)countOfResultsForAttributeName:(id)a0 value:(id)a1;
- (void)disableUpdates;
- (void)enableUpdates;
- (unsigned char)executeWithOptions:(unsigned long long)a0;
- (long long)indexOfResult:(const void *)a0;
- (id)initWithQuery:(id)a0 values:(id)a1 sortingAttributes:(id)a2 items:(id)a3;
- (void)processUpdates;
- (const void *)resultAtIndex:(long long)a0;
- (void)setBatchingParameters:(struct { unsigned long long x0; unsigned long long x1; unsigned long long x2; unsigned long long x3; unsigned long long x4; unsigned long long x5; })a0;
- (void)setCreateResultFunction:(void /* function */ *)a0 withContext:(void *)a1 callbacks:(const struct { long long x0; void /* function */ *x1; void /* function */ *x2; void /* function */ *x3; void /* function */ *x4; } *)a2;
- (void)setCreateValueFunction:(void /* function */ *)a0 withContext:(void *)a1 callbacks:(const struct { long long x0; void /* function */ *x1; void /* function */ *x2; void /* function */ *x3; void /* function */ *x4; } *)a2;
- (void)setExternalDocumentsBundleIdentifier:(id)a0;
- (void)setSearchScope:(id)a0 withOptions:(unsigned int)a1;
- (void)setSendHasUpdateNotification:(BOOL)a0;
- (void)setSortComparator:(void /* function */ *)a0 withContext:(void *)a1;
- (id)valuesOfAttribute:(id)a0;
- (id)_replacementObjectForQueryItem:(id)a0;
- (void)_setQueryState:(int)a0;
- (void)_processUpdates;
- (id)_classifyItems:(id)a0 deletedItemIDs:(id)a1;
- (BOOL)_collectUpdates:(id)a0;
- (void)_handleAddedItemsNotifications:(id)a0 userInfo:(id)a1;
- (void)_handleRemovedItemsNotifications:(id)a0 userInfo:(id)a1;
- (void)_handleReplacedItemsNotifications:(id)a0 userInfo:(id)a1;
- (void)_monitorNetworkForQueryItemIfNecessary:(id)a0 fpItemID:(id)a1;
- (void)_monitorTransferForFPItemIfNecessary:(id)a0;
- (void)_performBlockAsync:(id /* block */)a0;
- (void)_postNote:(struct __CFString { } *)a0;
- (void)_postNote:(struct __CFString { } *)a0 userInfo:(id)a1;
- (void)_processProgressUpdateBatch;
- (id)_replacementObjectsForArrayOfQueryItem:(id)a0;
- (void)_runQuery;
- (void)_sendHasUpdateNotificationIfNeeded;
- (void)_stopMonitoringTransferForFPItemID:(id)a0;
- (void)_stopProgressObservers;
- (void)_watchScopes;
- (void)itemCollectionGathererDidInvalidate;
- (void)itemCollectionGathererDidReceiveUpdates:(id)a0 deleteItemsWithIDs:(id)a1;
- (void)itemCollectionGathererFinishedGathering;
- (void)itemCollectionGathererGatheredItems:(id)a0;
- (void)notificationReceiverDidReceiveNotifications:(id)a0;
- (void)notificationsReceiverDidFinishGathering:(id)a0;
- (void)notificationsReceiverDidInvalidate:(id)a0;
- (void)notificationsReceiverDidReceiveNotificationsBatch:(id)a0;

@end