33 lines
723 B
Objective-C
33 lines
723 B
Objective-C
//
|
|
// PluginList.h
|
|
// Pcsxr
|
|
//
|
|
// Created by Gil Pedersen on Sun Sep 21 2003.
|
|
// Copyright (c) 2003 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "PcsxrPlugin.h"
|
|
|
|
//extern NSMutableArray *plugins;
|
|
@class PcsxrPlugin;
|
|
|
|
@interface PluginList : NSObject <NSFastEnumeration>
|
|
|
|
+ (PluginList *)list;
|
|
|
|
- (void)refreshPlugins;
|
|
- (NSArray *)pluginsForType:(int)typeMask;
|
|
- (BOOL)hasPluginAtPath:(NSString *)path;
|
|
@property (readonly) BOOL configured;
|
|
- (PcsxrPlugin *)activePluginForType:(int)type;
|
|
- (BOOL)setActivePlugin:(PcsxrPlugin *)plugin forType:(int)type;
|
|
|
|
- (void)disableNetPlug;
|
|
- (void)enableNetPlug;
|
|
|
|
- (PcsxrPlugin*)objectAtIndexedSubscript:(NSInteger)index;
|
|
- (NSInteger)count;
|
|
|
|
@end
|