/* $Id: platform.h,v 1.1 2001/12/27 17:46:17 richdawe Exp $ */

/*
 *  platform.h - Header for platform detection routines for zippo
 *  Copyright (C) 1999-2001 by Richard Dawe
 *      
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#ifndef __zippo_platform_h__
#define __zippo_platform_h__

typedef enum {
  PLATFORM_NONE = 0,
  PLATFORM_MSDOS,
  PLATFORM_WIN3,
  PLATFORM_WIN95,
  PLATFORM_WIN98,
  PLATFORM_WINME,
  PLATFORM_WINNT4,
  PLATFORM_WIN2K,
  PLATFORM_WINXP,
  PLATFORM_DOSEMU
} platform_t;

typedef enum {
  PLATFORM_CLASS_NONE = 0,
  PLATFORM_CLASS_DOS,
  PLATFORM_CLASS_WIN16,
  PLATFORM_CLASS_WIN32
} platform_class_t;

platform_t detect_platform (void);

platform_class_t detect_platform_class (void);

#endif /* __zippo_platform_h__ */
