diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-12-18 23:51:13 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-12-18 23:51:13 +0000 |
| commit | 52dd8ecce8339768bedfb424f9cb233b57cd55f4 (patch) | |
| tree | 3b2771f36c4fa6a071646da7640370ffcdfe5843 /macosx/PcsxrPluginHandler.m | |
| parent | 04600f548825368b80c710992f1d88be8788591b (diff) | |
| download | pcsxr-52dd8ecce8339768bedfb424f9cb233b57cd55f4.tar.gz | |
Changed utisCanHandle to supportedUTIs.
reworked application:openFile: to check if a PcsxrFileHandle supports a file then, if it does, uses the specified PcsxrFileHandle.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73485 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrPluginHandler.m')
| -rw-r--r-- | macosx/PcsxrPluginHandler.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/PcsxrPluginHandler.m b/macosx/PcsxrPluginHandler.m index 48f758af..395c2461 100644 --- a/macosx/PcsxrPluginHandler.m +++ b/macosx/PcsxrPluginHandler.m @@ -10,7 +10,7 @@ @implementation PcsxrPluginHandler -+ (NSArray *)utisCanHandle ++ (NSArray *)supportedUTIs { return [NSArray arrayWithObject:@"com.codeplex.pcsxr.plugin"]; } @@ -27,7 +27,7 @@ - (id)init { - self = [super initWithWindowNibName:@"AddPluginSheet"]; + self = [self initWithWindowNibName:@"AddPluginSheet"]; return self; } |
