-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMusicLibrary.h
More file actions
1922 lines (1735 loc) · 61.6 KB
/
Copy pathMusicLibrary.h
File metadata and controls
1922 lines (1735 loc) · 61.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* Generated by class-dump 3.1.2.
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
*/
struct SLinkElement {
struct SLinkElement *next;
};
struct SLinkList {
struct SLinkElement *head;
};
struct ChunkyAllocator {
unsigned int chunkSize;
unsigned int chunkDataSize;
unsigned int numChunks;
unsigned int numFreeChunks;
unsigned int numUsedChunks;
struct SLinkList freeList;
};
struct Array {
unsigned int itemSize;
unsigned int itemCount;
int dataStored;
int dataAllocated;
int lockCount;
struct MemHandleOpaque *itemsHandle;
void *compareProc;
unsigned char keepSorted;
unsigned char isSorted;
};
struct MessageSender {
unsigned int magic;
unsigned int disableCount;
unsigned int sendCount;
unsigned int modificationCount;
struct Array receivers;
};
struct $_159 {
unsigned int checkVersion:1;
unsigned int checkedJournalPermissions:1;
unsigned int propertiesDisabled:1;
};
struct StringCache {
unsigned int options;
struct StringOffset **stringOffsets;
struct StringRefcount **stringRefcounts;
char **stringData;
int numOffsets;
int firstFreeOffset;
int extraStringData;
unsigned int dataChunkSize;
int lockCount;
unsigned int deletedBytes;
};
struct $_473 {
struct PlaylistItem *_field1;
struct PlaylistItem *_field2;
struct OpaqueStringCacheIndex *_field3;
unsigned int _field4;
unsigned short _field5;
unsigned short _field6;
};
struct $_474 {
struct TrackInfo *_field1;
unsigned int _field2;
struct PlaylistItem *_field3;
};
struct AppContext {
unsigned char _field1;
unsigned char _field2;
unsigned char _field3;
unsigned char _field4;
unsigned char _field5;
unsigned char _field6;
unsigned char _field7;
unsigned int _field8;
struct SLinkList _field9;
unsigned char _field10;
unsigned int _field11;
struct DisplayArtistMatchInfo *_field12;
unsigned int _field13;
struct SLinkList _field14;
struct ChunkyAllocator _field15;
int _field16;
struct MessageSender _field17;
struct AudibleUserIDList *_field18;
struct SLinkList _field19;
short _field20;
unsigned char _field21;
unsigned char _field22;
};
struct AudibleUserIDList;
struct CGPoint {
float _field1;
float _field2;
};
struct CGSize {
float _field1;
float _field2;
};
struct CGRect {
struct CGPoint _field1;
struct CGSize _field2;
};
struct CPSqliteConnection {
struct CPSqliteDatabase *_field1;
struct sqlite3 *_field2;
struct __CFDictionary *_field3;
};
struct CPSqliteDatabase {
struct __CFString *_field1;
struct CPSqliteConnection *_field2;
void *_field3;
void *_field4;
void *_field5;
void *_field6;
void *_field7;
_Bool _field8;
void *_field9;
int _field10;
struct $_159 _field11;
};
struct CPSqliteStatement {
struct CPSqliteConnection *_field1;
struct sqlite3_stmt *_field2;
};
struct ChapterData;
struct DLinkElement;
struct DLinkList {
struct DLinkElement *first;
struct DLinkElement *last;
};
struct DisplayArtistMatchInfo;
struct ExtendedTrackInfo {
unsigned int extendedInfoValid:1;
unsigned int playlistID;
unsigned int releaseDate;
struct OpaqueStringCacheIndex *podcastURLStringIndex;
struct OpaqueStringCacheIndex *descriptionStringIndex;
struct ChapterData *chapterData;
struct OpaqueStringCacheIndex *sortFieldStringIndex[5];
};
struct ITCDPositioning {
unsigned char minute;
unsigned char second;
unsigned char frame;
};
struct ITCDLocation {
short driveNum;
short trackNumber;
short realTrackNumber;
struct ITCDPositioning baseTimePosition;
struct ITCDPositioning endTimePosition;
unsigned int baseTimeInMS;
unsigned int numFrames;
};
struct ITDeviceTrackLocation {
unsigned int deviceID;
unsigned int mediaID;
unsigned int trackID;
};
struct ITImageInfoLookupTable;
struct JRFileSpec {
int volID;
char path[257];
};
struct ITImageLibrary {
unsigned int _field1;
unsigned char _field2;
unsigned char _field3;
unsigned char _field4;
unsigned int _field5;
struct DLinkList _field6;
unsigned int _field7;
struct SLinkList _field8;
unsigned int _field9;
struct SLinkList _field10;
unsigned int _field11;
unsigned int _field12;
struct OpaqueFixedMemAllocator *_field13;
struct OpaqueFixedMemAllocator *_field14;
struct StringCache _field15;
struct StringCache _field16;
struct StringCache _field17[20];
struct JRFileSpec _field18;
struct JRFileSpec _field19;
unsigned int _field20;
unsigned int _field21;
struct ITImageInfoLookupTable *_field22;
struct ITImageInfoLookupTable *_field23;
struct ITImageInfoLookupTable *_field24;
};
struct IntDeviceLocation {
struct ITDeviceTrackLocation deviceLoc;
unsigned int fileType;
unsigned int fileCreator;
};
struct TrackFileSpec {
char path[36];
unsigned char musicPath;
};
struct IntFileLocation {
struct TrackFileSpec trackSpec;
unsigned char specIsValid;
};
struct IntMemoryFileLocation {
struct IntFileLocation fileLoc;
void *buffer;
unsigned int bufferSize;
};
struct IntRemoteLocation {
unsigned int remoteTrackID;
unsigned char isRemoteStream;
unsigned int codecType;
unsigned int codecSubType;
};
struct MLArtworkFormatSpec {
unsigned int _field1;
unsigned int _field2;
unsigned int _field3;
unsigned int _field4;
int _field5;
int _field6;
};
struct MLArtworkInstanceInfo {
struct MLArtworkFormatSpec _field1;
struct CGRect _field2;
};
struct MemHandleOpaque;
struct MessageReceiver {
unsigned int magic;
unsigned int disableCount;
unsigned int modificationCount;
struct Array senders;
void *handlerProc;
void *handlerData;
};
struct OpaqueFixedMemAllocator;
struct OpaqueSearchCriteriaList;
struct OpaqueStringCacheIndex;
struct PermFileLocation {
struct StringCache *permLocationCache;
struct OpaqueStringCacheIndex *permLocationCacheIndex;
unsigned int fileType;
unsigned int fileCreator;
struct StringCache *urlStringCache;
struct OpaqueStringCacheIndex *urlStringCacheIndex;
short numFileDirLevels;
short numLibDirLevels;
};
struct PermHTTPLocation {
struct StringCache *permLocationCache;
struct OpaqueStringCacheIndex *urlStringCacheIndex;
struct OpaqueStringCacheIndex *externalURLStringCacheIndex;
struct OpaqueStringCacheIndex *productStringIndex;
struct OpaqueStringCacheIndex *priceStringIndex;
};
struct PermRemoteLocation {
struct StringCache *permLocationCache;
struct OpaqueStringCacheIndex *urlStringCacheIndex;
};
struct SmartPlaylistOptions {
unsigned char isDynamic;
unsigned char isLimited;
unsigned char isFiltered;
unsigned char enabledSongsOnly;
struct OpaqueSearchCriteriaList *contentFilter;
unsigned int limitValue;
unsigned char limitKind;
unsigned int limitOrder;
unsigned char reverseLimitOrder;
};
struct Playlist {
struct SLinkElement _field1;
unsigned int _field2;
struct AppContext *_field3;
struct TrackData *_field4;
unsigned int _field5;
unsigned long long _field6;
unsigned int _field7;
struct OpaqueFixedMemAllocator *_field8;
struct PlaylistItem *_field9;
struct PlaylistItem *_field10;
struct MessageSender _field11;
struct MessageReceiver _field12;
unsigned long long _field13;
unsigned long long _field14;
unsigned int _field15;
struct StringCache _field16;
struct OpaqueStringCacheIndex *_field17;
unsigned short _field18;
unsigned short _field19;
unsigned int _field20;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
struct __CFString *_field21;
unsigned long long _field22;
void *_field23;
void *_field24;
unsigned int _field25;
unsigned int _field26;
unsigned int _field27;
unsigned short _field28;
unsigned int _field29;
int _field30;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned char _field31;
unsigned char _field32;
struct SmartPlaylistOptions _field33;
unsigned long long _field34;
struct MessageReceiver _field35;
unsigned int :1;
unsigned int _field36;
unsigned int _field37;
struct PlaylistItemLookupTable *_field38[48];
struct PlaylistIndexLookupTable *_field39[48];
struct PlaylistItemLookupTable *_field40[48];
struct PlaylistIndexLookupTable *_field41[48];
struct PlaylistItemLookupTable *_field42;
struct PlaylistItemLookupTable *_field43;
struct PlaylistItemLookupTable *_field44;
struct PlaylistItemLookupTable *_field45;
struct PlaylistNavTable *_field46[48];
//struct PlaylistPermissions _field47;
};
struct PlaylistIndexLookupTable;
struct PlaylistItem {
struct Playlist *_field1;
struct PlaylistItem *_field2;
struct PlaylistItem *_field3;
struct PlaylistItem *_field4;
unsigned int _field5;
unsigned int _field6;
unsigned char _field7;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
//union $_472 _field8;
};
struct PlaylistItemLookupTable;
struct PlaylistNavEntry {
unsigned short _field1;
unsigned int _field2;
};
struct PlaylistNavTable {
unsigned int _field1;
struct PlaylistNavEntry _field2[1];
};
struct PlaylistPermissions {
unsigned long long modifiableFields;
unsigned int allowRename:1;
unsigned int allowDelete:1;
unsigned int allowChangeSortOrder:1;
unsigned int allowAddInternalItems:1;
unsigned int allowAddExternalItems:1;
unsigned int onlyAddExternalItemsToLibrary:1;
unsigned int allowDeleteItems:1;
unsigned int allowDeleteLibraryItems:1;
unsigned int allowCopyItems:1;
unsigned int allowReorderItems:1;
};
struct PurpleEngineContext;
struct StringOffset;
struct StringRefcount;
struct VideoTrackInfo {
unsigned int videoInfoValid:1;
unsigned int hasAlternateAudio:1;
unsigned int hasSubtitles:1;
unsigned int episodeSortID;
unsigned int seasonNumber;
unsigned int demoRental:1;
unsigned int rentalExpirationDate;
unsigned int audioTrackID;
unsigned int subtitleTrackID;
struct OpaqueStringCacheIndex *seriesNameStringIndex;
struct OpaqueStringCacheIndex *episodeNumberStringIndex;
struct OpaqueStringCacheIndex *extendedContentRatingStringIndex;
};
struct TrackData {
struct SLinkElement _field1;
unsigned int _field2;
struct AppContext *_field3;
unsigned int _field4;
unsigned int _field5;
unsigned int _field6;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int _field7;
unsigned int _field8;
struct TrackInfo *_field9;
struct TrackInfo *_field10;
unsigned int _field11;
struct SLinkList _field12;
struct Playlist *_field13;
unsigned short _field14;
unsigned char _field15;
struct OpaqueFixedMemAllocator *_field16;
struct OpaqueFixedMemAllocator *_field17;
struct OpaqueFixedMemAllocator *_field18;
void *_field19;
void *_field20;
struct MessageSender _field21;
struct MessageReceiver _field22;
struct StringCache _field23;
struct StringCache _field24;
struct StringCache _field25;
struct StringCache _field26;
struct StringCache _field27;
struct StringCache _field28;
struct StringCache _field29;
struct StringCache _field30;
struct StringCache _field31;
struct StringCache _field32[10];
struct StringCache _field33;
struct StringCache _field34;
struct StringCache _field35;
struct StringCache _field36;
struct StringCache _field37;
struct StringCache _field38;
struct StringCache _field39;
struct StringCache _field40;
struct StringCache _field41;
struct TrackInfoLookupTable *_field42;
unsigned char _field43;
unsigned char _field44;
unsigned char _field45;
short _field46;
short _field47;
unsigned short _field48;
unsigned short _field49;
struct ExtendedTrackInfo _field50;
struct VideoTrackInfo _field51;
};
union IntTrackLocation {
struct IntFileLocation file;
struct IntMemoryFileLocation memoryFile;
struct ITCDLocation cd;
struct IntDeviceLocation device;
struct IntRemoteLocation remote;
};
union PermTrackLocation {
struct PermFileLocation file;
struct PermHTTPLocation http;
struct PermRemoteLocation remote;
};
struct TrackInfo {
struct TrackData *_field1;
struct TrackInfo *_field2;
struct TrackInfo *_field3;
struct ExtendedTrackInfo *_field4;
struct VideoTrackInfo *_field5;
unsigned int _field6;
unsigned char _field7;
unsigned char _field8;
unsigned int _field9;
unsigned int _field10;
unsigned int _field11;
struct PlaylistItem *_field12;
struct OpaqueStringCacheIndex *_field13;
struct OpaqueStringCacheIndex *_field14;
struct OpaqueStringCacheIndex *_field15;
struct OpaqueStringCacheIndex *_field16;
struct OpaqueStringCacheIndex *_field17;
struct OpaqueStringCacheIndex *_field18;
struct OpaqueStringCacheIndex *_field19;
struct OpaqueStringCacheIndex *_field20;
struct OpaqueStringCacheIndex *_field21;
struct OpaqueStringCacheIndex *_field22;
struct OpaqueStringCacheIndex *_field23;
unsigned short _field24;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :2;
unsigned int :2;
unsigned int :2;
unsigned int :2;
unsigned int _field25;
unsigned int _field26;
unsigned int _field27;
unsigned int _field28;
unsigned int _field29;
unsigned int _field30;
unsigned int _field31;
float _field32;
unsigned short _field33;
short _field34;
short _field35;
char _field36;
char _field37;
unsigned short _field38;
unsigned short _field39;
unsigned short _field40;
unsigned short _field41;
unsigned short _field42;
unsigned short _field43;
unsigned short _field44;
unsigned char _field45;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int _field46;
unsigned int _field47;
unsigned int _field48;
unsigned int _field49;
unsigned int _field50;
unsigned int _field51;
unsigned int _field52;
unsigned int _field53;
unsigned int _field54;
unsigned int _field55;
unsigned int _field56;
unsigned short _field57;
unsigned short _field58;
union IntTrackLocation _field59;
union PermTrackLocation _field60;
unsigned int _field61;
unsigned int _field62;
unsigned int _field63;
unsigned long long _field64;
unsigned long long _field65;
unsigned long long _field66;
unsigned long long _field67;
struct TrackInfoUCSortKeyData *_field68;
};
struct TrackInfoLookupTable;
struct TrackInfoUCSortKeyData;
struct TrackOrderInfo {
unsigned long long _field1;
unsigned char _field2;
};
struct _MLCompoundPredicateStruct {
unsigned int mediaType;
id title;
id artist;
id album;
id genre;
id composerName;
id seriesDisplayName;
id seasonDisplayName;
id podcastName;
id playlistName;
unsigned int uniqueID;
unsigned long long persistentUID;
unsigned int mediaTypeWasSpecified:1;
unsigned int includeInShuffle:1;
unsigned int isCompilation:1;
unsigned int uniqueIDIsForPlaylist:1;
unsigned int isNotDeleted:1;
unsigned int isAudibleAudioBook:1;
unsigned int isRental:1;
unsigned int isExplicit:1;
unsigned int isSportMix:1;
unsigned int isSpecialUserPlaylist:1;
unsigned int shouldFilter_isAudibleAudioBook:1;
unsigned int shouldFilter_isRental:1;
unsigned int shouldFilter_isExplicit:1;
unsigned int shouldFilter_isSportMix:1;
unsigned int shouldFilter_isSpecialUserPlaylist:1;
};
struct _MLTrackOrderInfo {
struct TrackOrderInfo _field1;
};
/*
struct _NSRange {
unsigned int _field1;
unsigned int _field2;
};
*/
struct _NSZone;
struct __CFArray;
struct __CFDictionary;
struct __CFSet;
struct __CFString;
struct __MLDTracksQueryResults {
unsigned int _field1;
struct __CFArray *_field2;
char _field3;
char _field4;
struct __CFDictionary *_field5;
unsigned int _field6;
};
struct __MLPrefixOccurrenceInfo {
unsigned int _field1;
id _field2;
unsigned int _field3;
};
struct __TestPredicateNode {
void *_field1;
void *_field2;
struct __TestPredicateNode *_field3;
};
struct sqlite3;
struct sqlite3_stmt;
union $_148 {
NSString *stringValue;
unsigned long long unsignedValue;
};
union $_472 {
struct $_473 _field1;
struct $_474 _field2;
};
/*
* File: /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary
* Arch: arm v6 (armv6)
* Current version: 18.0.0, Compatibility version: 1.0.0
*/
/*
@protocol NSCoding
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
@end
@protocol NSCopying
- (id)copyWithZone:(struct _NSZone *)fp8;
@end
*/
@interface MLQuery : NSObject <NSCopying>
{
MLQueryImpl *_queryImpl;
MLCompoundPredicate *_cpred;
NSMutableArray *_filterPredicates;
unsigned int _groupingProperty;
unsigned int _customSortingProperty;
void *_cachedPrefixOccurrenceInfo;
unsigned int *_indexMapping;
unsigned int _numberOfEntities;
unsigned int _groupingThreshold;
unsigned int _indexMappingIsShort:1;
unsigned int _needsEvaluation:1;
unsigned int _disableAutoInvalidatesForDatabaseChanges:1;
unsigned int _filterChanged:1;
unsigned int _groupingChanged:1;
unsigned int _entityType:2;
unsigned int _effectiveEntityType:2;
unsigned int _entityOrderType:4;
unsigned int _unshuffledEntityOrder:4;
unsigned int _preserveIndexMappingForNextEvaluate:1;
unsigned int _lastGroupTrackSearchUID;
unsigned int _lastGroupTrackSearchMatchIndex;
}
- (id)init;
- (id)indexMappingDescription;
- (id)description;
- (void)dealloc;
- (void)_pruneFilterPredicates;
- (void)_filterPredicatesChanged;
- (void)filterByAppendingPredicate:(id)fp8;
- (void)replaceFirstFilterForProperty:(unsigned long)fp8 withPredicate:(id)fp12;
- (void)_addExplicitContentSystemPredicateToArray:(id)fp8;
- (void)_removeSystemPredicateWithProperty:(unsigned long)fp8;
- (void)replaceSystemPredicatesWithDefaultValues;
- (void)setFilterPredicates:(id)fp8;
- (id)filterPredicates;
- (id)_cpred;
- (id)stringValueForPredicateFilterProperty:(unsigned long)fp8;
- (unsigned long long)unsignedValueForPredicateFilterProperty:(unsigned long)fp8;
- (BOOL)isFilteredByAnyPropertyExcluding:(unsigned int *)fp8 count:(int)fp12;
- (BOOL)isFilteredByProperty:(unsigned long)fp8;
- (void)setGroupingProperty:(unsigned long)fp8;
- (unsigned long)groupingProperty;
- (void)setGroupingThreshold:(unsigned int)fp8;
- (unsigned int)groupingThreshold;
- (void)setEntityType:(int)fp8;
- (int)entityType;
- (int)effectiveEntityType;
- (void)setEntityOrder:(int)fp8;
- (int)entityOrder;
- (int)unshuffledEntityOrder;
- (BOOL)wasSortedAlphabetically;
- (void)setCustomEntitySortOrderProperty:(unsigned long)fp8;
- (unsigned long)customEntitySortOrderProperty;
- (void)_debugLogAllEntitiesWithMessage:(id)fp8;
- (void)_noteIndexMappingTypeForEntityCount:(unsigned int)fp8 oldEntityCount:(unsigned int)fp12 anchorIndex:(unsigned int *)fp16 currentIndex:(unsigned int *)fp20;
- (unsigned int)shuffleTrackOrderWithAnchorIndex:(unsigned int)fp8;
- (unsigned int)shuffleTrackOrderWithAnchorIndex:(unsigned int)fp8 currentIndex:(unsigned int *)fp12;
- (unsigned int)shuffleTrackOrderByAlbumWithAnchorIndex:(unsigned int)fp8;
- (void)_evaluateIfNecessary;
- (void)setAutoInvalidatesForDatabaseChanges:(BOOL)fp8;
- (void)allImplContentsInvalidated:(id)fp8;
- (unsigned int)countOfEntities;
- (id)_queryImpl;
- (unsigned int)_queryImplEntityIndexForQueryIndex:(unsigned int)fp8;
- (id)entityAtIndex:(unsigned int)fp8;
- (unsigned int)indexOfEntity:(id)fp8;
- (unsigned int)indexOfFirstEntityMatchingPredicates:(id)fp8;
- (unsigned int)indexOfFirstEntityMatchingPredicate:(id)fp8;
- (unsigned int)indexOfFirstGroupContainingTrack:(id)fp8;
- (BOOL)entityMatchesPredicates:(id)fp8 entityIndex:(unsigned int)fp12;
- (BOOL)entityMatchesPredicate:(id)fp8 entityIndex:(unsigned int)fp12;
- (void)markTrackAsDeleted:(id)fp8;
- (int)entityTypeOfEntityAtIndex:(unsigned int)fp8;
- (id)stringValueForProperty:(unsigned long)fp8 ofEntityAtIndex:(unsigned int)fp12;
- (id)stringValuesForProperty:(unsigned long)fp8 ofEntitiesInRange:(struct _NSRange)fp12;
- (id)firstFrequentLongPrefixForStringProperty:(unsigned long)fp8 occurrenceCount:(unsigned int *)fp12;
- (unsigned long long)unsignedValueForProperty:(unsigned long)fp8 ofEntityAtIndex:(unsigned int)fp12;
- (double)timeValueForProperty:(unsigned long)fp8 ofEntityAtIndex:(unsigned int)fp12;
- (unsigned int)countOfEntitiesGroupedByEntityAtIndex:(unsigned int)fp8;
- (void)visitGroupMembersOfEntityAtIndex:(unsigned int)fp8 visitor:(void *)fp12 context:(void *)fp16;
- (id)representativeTrackForEntityAtIndex:(unsigned int)fp8;
- (id)containingPlaylist;
- (unsigned int *)_copyIndexMappingByRemovingRange:(struct _NSRange)fp8;
- (unsigned int *)_copyIndexMappingByInsertingRange:(struct _NSRange)fp8;
- (unsigned int *)_copyIndexMappingByMovingRange:(struct _NSRange)fp8 toIndex:(unsigned int)fp16;
- (id)copyByRemovingRange:(struct _NSRange)fp8;
- (id)copyByInsertingRange:(struct _NSRange)fp8;
- (id)copyByMovingRange:(struct _NSRange)fp8 toIndex:(unsigned int)fp16;
- (id)actualIndicesForEntityRange:(struct _NSRange)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (BOOL)isEqual:(id)fp8 compareUnshuffledEquivalence:(BOOL)fp12;
- (unsigned int)hash;
- (BOOL)isEqual:(id)fp8;
- (unsigned int)querySearchCriteriaHash;
- (BOOL)querySearchCriteriaIsEqualTo:(id)fp8;
@end
@interface MLQueryImpl : NSObject
{
MLQuery *_query;
struct __CFArray *_queryResults;
unsigned int _countOfUniqueItemsByGroupingProperty;
unsigned int _trackGroupMembers:1;
struct __CFDictionary *_groupMembers;
unsigned int _orderingIsSorted:1;
unsigned int _wasSortedAlphabetically:1;
unsigned int _registeredAsCachedQuery:1;
}
+ (id)findCachedQueryImplMatchingCriteriaOfQuery:(id)fp8;
+ (void)registerQueryImpl:(id)fp8 forCriteriaOfQuery:(id)fp12;
+ (void)reset;
+ (void)resetAndInvalidate:(id)fp8;
+ (void)resetAndInvalidate;
+ (id)recursiveEvaluationLock;
- (void)freeQueryResults;
- (id)copyQueryResultsDescription;
- (id)shallowDebugDescription;
- (id)description;
- (void)dealloc;
- (void)evaluate;
- (void)evaluateQuery:(id)fp8;
- (BOOL)orderingIsSorted;
- (BOOL)wasSortedAlphabetically;
- (unsigned int)countOfEntities;
- (id)entityAtIndex:(unsigned int)fp8;
- (unsigned int)indexOfEntity:(id)fp8;
- (unsigned int)indexOfFirstEntityMatchingPredicates:(id)fp8;
- (unsigned int)indexOfFirstEntityMatchingPredicate:(id)fp8;
- (BOOL)entityMatchesPredicates:(id)fp8 entityIndex:(unsigned int)fp12;
- (BOOL)entityMatchesPredicate:(id)fp8 entityIndex:(unsigned int)fp12;
- (int)entityTypeOfEntityAtIndex:(unsigned int)fp8;
- (id)stringValueForProperty:(unsigned long)fp8 ofEntityAtIndex:(unsigned int)fp12;
- (unsigned short)firstCharacterForStringProperty:(unsigned long)fp8 ofEntityAtIndex:(unsigned int)fp12;
- (unsigned long long)unsignedValueForProperty:(unsigned long)fp8 ofEntityAtIndex:(unsigned int)fp12;
- (double)timeValueForProperty:(unsigned long)fp8 ofEntityAtIndex:(unsigned int)fp12;
- (void)visitGroupMembersOfEntityAtIndex:(unsigned int)fp8 visitor:(void *)fp12 context:(void *)fp16;
- (unsigned int)countOfEntitiesGroupedByEntityAtIndex:(unsigned int)fp8;
- (id)representativeTrackForEntityAtIndex:(unsigned int)fp8;
- (id)containingPlaylist;
- (unsigned short)bucketCharForCharacter:(unsigned short)fp8;
- (struct __CFArray *)bucketizedInfoByFirstCharacterForStringProperty:(unsigned long)fp8;
- (id)bucketizedInfoByGroupingStringProperty:(unsigned long)fp8;
@end
@interface MLPredicate : NSObject <NSCoding>
{
unsigned int _property;
unsigned int _valueType;
union $_148 _value;
}
+ (void)initialize;
+ (id)predicateForProperty:(unsigned long)fp8 stringValue:(id)fp12;
+ (id)predicateForProperty:(unsigned long)fp8 unsignedValue:(unsigned long long)fp12;
+ (id)predicateForProperty:(unsigned long)fp8 withValueFromTrack:(id)fp12;
+ (id)predicateForProperty:(unsigned long)fp8 withValueFromEntityAtIndex:(unsigned int)fp12 query:(id)fp16;
- (void)dealloc;
- (id)description;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (BOOL)isEqual:(id)fp8;
- (unsigned long)property;
- (unsigned long)propertyValueType;
- (id)propertyStringValue;
- (unsigned long long)propertyUnsignedValue;
@end
@interface MLCompoundPredicate : NSObject
{
struct _MLCompoundPredicateStruct _cpred;
}
+ (struct _MLCompoundPredicateStruct)_computeCompoundPredicateStructFromPredicates:(id)fp8 retainedFields:(BOOL)fp12;
+ (struct _MLCompoundPredicateStruct)_computeCompoundPredicateStructFromQuery:(id)fp8 retainedFields:(BOOL)fp12;
+ (BOOL)predicateAllowsUnknownItems:(struct _MLCompoundPredicateStruct)fp8;
- (id)initFromQuery:(id)fp8;
- (void)dealloc;
- (struct _MLCompoundPredicateStruct *)cpredStructPtr;
- (unsigned int)hash;
- (BOOL)isEqual:(id)fp8 compareUnshuffledEquivalence:(BOOL)fp12;
- (BOOL)isEqual:(id)fp8;
- (void *)_valueForProperty:(unsigned long)fp8;
- (id)stringValueForProperty:(unsigned long)fp8;
- (unsigned long long)unsignedValueForProperty:(unsigned long)fp8;
@end
@interface MLPlaylist : NSObject
{
}
+ (id)activeOnTheGoPlaylist;
- (BOOL)isPhysicalPlaylist;
- (BOOL)isPurchasedItemsPlaylist;
- (BOOL)isMainPurchasedItemsPlaylist;
- (int)playlistType;
- (BOOL)isAlbum;
- (id)representativeAlbumTrack;
- (void)setName:(id)fp8;
- (id)name;
- (void)setSeedTrack:(id)fp8;
- (unsigned long long)seedTrackPersistentID;
- (unsigned long long)persistentUID;
- (unsigned long)uniqueID;
- (BOOL)isUserEditable;
- (BOOL)isDeletablePlaylist;
- (void)moveTracksFromRange:(struct _NSRange)fp8 toIndex:(unsigned int)fp16;
- (void)replaceTrackInRange:(struct _NSRange)fp8 withTracks:(id)fp16;
- (void)insertTrackFromQuery:(id)fp8 entityIndex:(unsigned int)fp12 atIndex:(unsigned int)fp16;
- (void)insertTracksFromQuery:(id)fp8 entityIndexes:(id)fp12 atIndex:(unsigned int)fp16;
- (void)insertTracks:(id)fp8 atIndex:(unsigned int)fp12;
- (void)removeTracksInRange:(struct _NSRange)fp8;
- (void)writeToSavedFile;
- (unsigned int)countOfTracks;
- (BOOL)isSportMix;
@end
@interface MLPlaylistRep : MLPlaylist
{
unsigned int _isAlbum:1;
unsigned int _albumGroupingProperty;
void *_dulcPtr;
unsigned int _playlistUID;
MLQuery *_albumTracksQuery;
}
+ (id)playlistRepWithPlaylistPtr:(struct Playlist *)fp8;
+ (id)playlistRepWithGroupPlaylistItemPtr:(struct PlaylistItem *)fp8 groupingProperty:(unsigned long)fp12 query:(id)fp16;
- (struct Playlist *)playlistPtr;
- (unsigned int)countOfTracks;
- (void)dealloc;
- (BOOL)isEqual:(id)fp8;
- (unsigned int)hash;
- (BOOL)isPhysicalPlaylist;
- (BOOL)isPurchasedItemsPlaylist;
- (BOOL)isMainPurchasedItemsPlaylist;
- (int)playlistType;
- (void)setName:(id)fp8;
- (void)setSeedTrack:(id)fp8;
- (unsigned long long)seedTrackPersistentID;
- (id)name;