diff options
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index ab82735..096c4ab 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -3991,6 +3991,8 @@ static _H<NSMutableSet> Diversions_; return @"getPreferredLanguages"; else if (selector == @selector(getPackageById:)) return @"getPackageById"; + else if (selector == @selector(getMetadataKeys)) + return @"getMetadataKeys"; else if (selector == @selector(getMetadataValue:)) return @"getMetadataValue"; else if (selector == @selector(getSessionValue:)) @@ -4130,6 +4132,11 @@ static _H<NSMutableSet> Diversions_; } } +- (NSArray *) getMetadataKeys { +@synchronized (Values_) { + return [Values_ allKeys]; +} } + - (id) getMetadataValue:(NSString *)key { @synchronized (Values_) { return [Values_ objectForKey:key]; |