diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-06-09 11:34:52 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-06-09 11:34:52 +0000 |
| commit | 10eac4b4928e7dd9f79de454641889f2a0b77250 (patch) | |
| tree | 0f9c98f659552ed2406a6159bc123889ca46b919 /macosx/PluginList.h | |
| parent | 568526e291e9743751d8632327b94e01e7181efc (diff) | |
| download | pcsxr-10eac4b4928e7dd9f79de454641889f2a0b77250.tar.gz | |
added prelimiary Mac OS X port (still not working)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23667 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PluginList.h')
| -rw-r--r-- | macosx/PluginList.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/macosx/PluginList.h b/macosx/PluginList.h new file mode 100644 index 00000000..fecc4b13 --- /dev/null +++ b/macosx/PluginList.h @@ -0,0 +1,36 @@ +// +// PluginList.h +// Pcsx +// +// Created by Gil Pedersen on Sun Sep 21 2003. +// Copyright (c) 2003 __MyCompanyName__. All rights reserved. +// + +#import <Cocoa/Cocoa.h> +#import "PcsxPlugin.h" + +//extern NSMutableArray *plugins; + +@interface PluginList : NSObject { + + @private + NSMutableArray *pluginList; + + PcsxPlugin *activeGpuPlugin; + PcsxPlugin *activeSpuPlugin; + PcsxPlugin *activeCdrPlugin; + PcsxPlugin *activePadPlugin; + + BOOL missingPlugins; +} + ++ (PluginList *)list; + +- (void)refreshPlugins; +- (NSArray *)pluginsForType:(int)typeMask; +- (BOOL)hasPluginAtPath:(NSString *)path; +- (BOOL)configured; +- (PcsxPlugin *)activePluginForType:(int)type; +- (BOOL)setActivePlugin:(PcsxPlugin *)plugin forType:(int)type; + +@end |
