--- /dev/null
+/*\r
+ * \r
+ * Copyright 2001-2005 The Ant-Contrib project\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+package net.sf.antcontrib.cpptasks;\r
+\r
+import net.sf.antcontrib.cpptasks.compiler.Aslcompiler;\r
+import net.sf.antcontrib.cpptasks.devstudio.DevStudioAslcompiler;\r
+import net.sf.antcontrib.cpptasks.intel.IntelWin32Aslcompiler;\r
+\r
+import org.apache.tools.ant.types.EnumeratedAttribute;\r
+\r
+/**\r
+ * Enumeration of supported ASL Compilers\r
+ * \r
+ * <table width="100%" border="1"> <thead>Supported ASL Compilers </thead>\r
+ * <tr>\r
+ * <td>iasl (default)</td>\r
+ * <td>Intel ACPI Source Language</td>\r
+ * </tr>\r
+ * <tr>\r
+ * <td>asl</td>\r
+ * <td>Microsoft ACPI Source Language</td>\r
+ * </tr>\r
+ * </table>\r
+ * \r
+ */\r
+public class AslcompilerEnum extends EnumeratedAttribute {\r
+ private final static ProcessorEnumValue[] aslcompiler = new ProcessorEnumValue[] {\r
+ new ProcessorEnumValue("iasl", IntelWin32Aslcompiler\r
+ .getInstance()),\r
+ new ProcessorEnumValue("asl", DevStudioAslcompiler\r
+ .getInstance()), };\r
+\r
+ public Aslcompiler getAslcompiler() {\r
+ return (Aslcompiler) aslcompiler[getIndex()].getProcessor();\r
+ }\r
+\r
+ public String[] getValues() {\r
+ return ProcessorEnumValue.getValues(aslcompiler);\r
+ }\r
+}
\ No newline at end of file