summaryrefslogtreecommitdiff
path: root/macosx/Source/PluginList.h
blob: 2383cf325980706d788268daa6a9ac23f8776b5f (plain) (blame)
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
//
//  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