]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/CPUEnum.java
Changed spelling to manifest
[mirror_edk2.git] / Tools / Source / Cpptasks / net / sf / antcontrib / cpptasks / CPUEnum.java
1 /*
2 *
3 * Copyright 2004 The Ant-Contrib project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package net.sf.antcontrib.cpptasks;
18
19 import org.apache.tools.ant.types.EnumeratedAttribute;
20
21 /**
22 * Enumeration of cpu types.
23 *
24 * @author Curt Arnold
25 *
26 */
27 public final class CPUEnum
28 extends EnumeratedAttribute {
29
30 /**
31 * Constructor.
32 *
33 * Set by default to "pentium3"
34 *
35 * @see java.lang.Object#Object()
36 */
37 public CPUEnum() {
38 setValue("pentium3");
39 }
40
41 /**
42 * Gets list of acceptable values.
43 *
44 * @see org.apache.tools.ant.types.EnumeratedAttribute#getValues()
45 */
46 public String[] getValues() {
47 return new String[] {
48 "i386",
49 "i486",
50 "i586",
51 "i686",
52 "pentium",
53 "pentium-mmx",
54 "pentiumpro",
55 "pentium2",
56 "pentium3",
57 "pentium4",
58 "k6",
59 "k6-2",
60 "k6-3",
61 "athlon",
62 "athlon-tbird",
63 "athlon-4",
64 "athlon-xp",
65 "athlon-mp",
66 "winchip-c6",
67 "winchip2",
68 "c3" };
69 }
70
71 }