[29900] users/rhwood/MacPorts.Framework

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 14 11:52:30 PDT 2007


Revision: 29900
          http://trac.macosforge.org/projects/macports/changeset/29900
Author:   rhwood at macports.org
Date:     2007-10-14 11:52:30 -0700 (Sun, 14 Oct 2007)

Log Message:
-----------
Replace method installed:MPPort with installed:NSString

Modified Paths:
--------------
    users/rhwood/MacPorts.Framework/MPRegistery.h
    users/rhwood/MacPorts.Framework/MPRegistery.m

Modified: users/rhwood/MacPorts.Framework/MPRegistery.h
===================================================================
--- users/rhwood/MacPorts.Framework/MPRegistery.h	2007-10-14 18:29:25 UTC (rev 29899)
+++ users/rhwood/MacPorts.Framework/MPRegistery.h	2007-10-14 18:52:30 UTC (rev 29900)
@@ -47,7 +47,7 @@
 + (MPRegistery *)sharedRegistery;
 
 - (NSDictionary *)installed;
-- (NSDictionary *)installed:(MPPort *)port;
+- (NSDictionary *)installed:(NSString *)name;
 - (NSDictionary *)installed:(NSString *)name withVersion:(NSString *)version;
 
 @end

Modified: users/rhwood/MacPorts.Framework/MPRegistery.m
===================================================================
--- users/rhwood/MacPorts.Framework/MPRegistery.m	2007-10-14 18:29:25 UTC (rev 29899)
+++ users/rhwood/MacPorts.Framework/MPRegistery.m	2007-10-14 18:52:30 UTC (rev 29900)
@@ -85,11 +85,11 @@
 }
 
 - (NSDictionary *)installed {
-	return [self installed:@"" withVersion:@""];
+	return [self installed:@""];
 }
 
-- (NSDictionary *)installed:(MPPort *)port {
-	return [self installed:[port valueForKey:@"name"] withVersion:@""];
+- (NSDictionary *)installed:(NSString *)name {
+	return [self installed:name withVersion:@""];
 }
 
 - (NSDictionary *)installed:(NSString *)name withVersion:(NSString *)version {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071014/057f4645/attachment.html


More information about the macports-changes mailing list