Przeglądaj źródła

Moved PlatformID enum from OperatingSystem.cs to PlatformID.cs

svn path=/trunk/mcs/; revision=475
Jim Richardson 24 lat temu
rodzic
commit
a6ea9689dc

+ 0 - 10
mcs/class/corlib/System/OperatingSystem.cs

@@ -13,16 +13,6 @@ using System;
 
 namespace System
 {
-	// this seemed like a logical place to put this enumeration
-	public enum PlatformID
-	{	// TODO: determine what definitions to incorporate
-		//       possibilities are quite varied
-		minPlatform,
-		i386Linux = minPlatform,
-		i686Linux,
-		maxPlatform
-	}
-
 	/// <summary>
 	/// Class representing a specific operating system version for a specific platform
 	/// </summary>

+ 22 - 0
mcs/class/corlib/System/PlatformID.cs

@@ -0,0 +1,22 @@
+//------------------------------------------------------------------------------
+// 
+// System.PlatformID.cs 
+//
+// Copyright (C) 2001 Moonlight Enterprises, All Rights Reserved
+// 
+// Author:         Jim Richardson, [email protected]
+// Created:        Saturday, August 13, 2001 
+//
+//------------------------------------------------------------------------------
+
+
+namespace System
+{
+	public enum PlatformID
+	{	// TODO: determine what definitions to incorporate
+		//       possibilities are quite varied
+		Win32NT,
+		Win32S,
+		Win32Windows
+	}
+}