summaryrefslogtreecommitdiff
path: root/macosx/Source/PluginList.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/Source/PluginList.m')
-rw-r--r--macosx/Source/PluginList.m16
1 files changed, 15 insertions, 1 deletions
diff --git a/macosx/Source/PluginList.m b/macosx/Source/PluginList.m
index cbe4cb95..fe5870bb 100644
--- a/macosx/Source/PluginList.m
+++ b/macosx/Source/PluginList.m
@@ -312,7 +312,21 @@ const static int typeList[] = {PSE_LT_GPU, PSE_LT_SPU, PSE_LT_CDR, PSE_LT_PAD, P
dst++;
}
}
-
+}
+
+- (NSInteger)count;
+{
+ return self.pluginList.count;
+}
+
+- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(__unsafe_unretained id [])buffer count:(NSUInteger)len
+{
+ return [self.pluginList countByEnumeratingWithState:state objects:buffer count:len];
+}
+
+- (PcsxrPlugin*)objectAtIndexedSubscript:(NSInteger)index
+{
+ return self.pluginList[index];
}
@end