From 52dd8ecce8339768bedfb424f9cb233b57cd55f4 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sun, 18 Dec 2011 23:51:13 +0000 Subject: 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 --- macosx/PcsxrPluginHandler.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx/PcsxrPluginHandler.m') 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; } -- cgit v1.2.3