summaryrefslogtreecommitdiff
path: root/macosx/Source/PcsxrPlugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/Source/PcsxrPlugin.h')
-rw-r--r--macosx/Source/PcsxrPlugin.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/macosx/Source/PcsxrPlugin.h b/macosx/Source/PcsxrPlugin.h
new file mode 100644
index 00000000..f2a0f854
--- /dev/null
+++ b/macosx/Source/PcsxrPlugin.h
@@ -0,0 +1,32 @@
+//
+// PcsxrPlugin.h
+// Pcsxr
+//
+// Created by Gil Pedersen on Fri Oct 03 2003.
+// Copyright (c) 2003 __MyCompanyName__. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface PcsxrPlugin : NSObject
+@property (readonly, copy) NSString *path;
+@property (readonly, strong) NSString *name;
+@property (readonly) int type;
+
++ (NSString *)prefixForType:(int)type;
++ (NSString *)defaultKeyForType:(int)type;
++ (char **)configEntriesForType:(int)type;
++ (NSArray *)pluginsPaths;
+
+- (id)initWithPath:(NSString *)aPath;
+
+- (NSString *)displayVersion;
+- (BOOL)hasAboutAs:(int)type;
+- (BOOL)hasConfigureAs:(int)type;
+- (long)runAs:(int)aType;
+- (long)shutdownAs:(int)aType;
+- (void)aboutAs:(int)type;
+- (void)configureAs:(int)type;
+- (BOOL)verifyOK;
+
+@end