/* $Id: platform.h,v 1.2 2002/06/23 20:28:31 richdawe Exp $ */

/*
 *  platform.h - Header for platform detection routines for pakke
 *  Copyright (C) 1999-2002 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 __pakke_platform_h__
#define __pakke_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 /* __pakke_platform_h__ */
