Commit | Line | Data |
---|---|---|
ef79bbde P |
1 | // |
2 | // PcsxPlugin.h | |
3 | // Pcsx | |
4 | // | |
5 | // Created by Gil Pedersen on Fri Oct 03 2003. | |
6 | // Copyright (c) 2003 __MyCompanyName__. All rights reserved. | |
7 | // | |
8 | ||
9 | #import <Foundation/Foundation.h> | |
10 | ||
11 | ||
12 | @interface PcsxPlugin : NSObject { | |
13 | CFBundleRef pluginRef; | |
14 | ||
15 | NSString *path; | |
16 | NSDate *modDate; | |
17 | NSString *name; | |
18 | long version; | |
19 | int type; | |
20 | int active; | |
21 | } | |
22 | ||
23 | + (NSString *)getPrefixForType:(int)type; | |
24 | + (NSString *)getDefaultKeyForType:(int)type; | |
25 | + (char **)getConfigEntriesForType:(int)type; | |
26 | ||
27 | - (id)initWithPath:(NSString *)aPath; | |
28 | ||
29 | - (NSString *)getDisplayVersion; | |
30 | - (int)getType; | |
31 | - (NSString *)path; | |
32 | - (NSString *)description; | |
33 | - (BOOL)hasAboutAs:(int)type; | |
34 | - (BOOL)hasConfigureAs:(int)type; | |
35 | - (long)initAs:(int)aType; | |
36 | - (long)shutdownAs:(int)aType; | |
37 | - (void)aboutAs:(int)type; | |
38 | - (void)configureAs:(int)type; | |
39 | - (BOOL)verifyOK; | |
40 | ||
41 | @end |