001 /**
002 * Copyright 2007 Mike Kroutikov.
003 *
004 * This program is free software; you can redistribute it and/or modify
005 * it under the terms of the Lesser GNU General Public License as
006 * published by the Free Software Foundation; either version 3 of
007 * the License, or (at your option) any later version.
008 *
009 * This program is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
012 * Lesser GNU General Public License for more details.
013 *
014 * You should have received a copy of the Lesser GNU General Public License
015 * along with this program. If not, see <http://www.gnu.org/licenses/>.
016 */
017
018 package org.otfeed.protocol;
019
020 /**
021 * Enumerates well-known types of operating system.
022 * <p>
023 * Where the Mac is?
024 */
025 public enum OSEnum {
026
027 UNKNOWN (1),
028 WIN95 (2),
029 WIN98 (3),
030 WIN98SE (4),
031 WINME (5),
032 WINNT (6),
033 WIN2000 (7),
034 WINXP (8),
035 LINUX (20);
036
037 public final int code;
038 private OSEnum(int code) {
039 this.code = code;
040 }
041 }