[29417] users/rhwood/MacPorts.Framework/MPConstants.h

source_changes at macosforge.org source_changes at macosforge.org
Sun Sep 23 03:59:14 PDT 2007


Revision: 29417
          http://trac.macosforge.org/projects/macports/changeset/29417
Author:   rhwood at macports.org
Date:     2007-09-23 03:59:13 -0700 (Sun, 23 Sep 2007)

Log Message:
-----------
port status constants are integers instead of NSStrings now.

Modified Paths:
--------------
    users/rhwood/MacPorts.Framework/MPConstants.h

Modified: users/rhwood/MacPorts.Framework/MPConstants.h
===================================================================
--- users/rhwood/MacPorts.Framework/MPConstants.h	2007-09-23 10:41:42 UTC (rev 29416)
+++ users/rhwood/MacPorts.Framework/MPConstants.h	2007-09-23 10:59:13 UTC (rev 29417)
@@ -12,7 +12,7 @@
 
 #define MPPortsAll			@".+"
 
-#define	MPPortStateUnknown	@"Unknown"
-#define MPPortStateActive	@"Active"
-#define MPPortStateInstalled	@"Installed"
-#define MPPortStateOutdated	@"Outdated"
\ No newline at end of file
+#define	MPPortStateUnknown	0
+#define MPPortStateActive	1
+#define MPPortStateInstalled	2
+#define MPPortStateOutdated	3
\ No newline at end of file

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


More information about the macports-changes mailing list