/******************************************************************************
/
/	File:		Be.h
/
/	Description:	All-in-one include for the entire system.
/
/	Copyright 1992-98, Be Incorporated
/
*******************************************************************************/

#ifdef _MSC_VER
#pragma warning(disable:4786)
#endif

#include <algorithm>
#include <exception>
#include <string>
#include <map>
#include <list>
#include <vector>
#include <sstream>
#include <cstring>
#include <cassert>

#ifdef _MSC_VER
#pragma warning(disable:4200)
#pragma warning(disable:4520)
#pragma warning(disable:4518)
#endif

#define __INTEL__ 1
#define __POWERPC__ 0
#define _STATIC_LINKING 1
#define _KERNEL_MODE 1

// Various defines from posix headers which we can't include
typedef unsigned long extended_regs;
typedef unsigned int mode_t;
typedef struct iovec {
	void	*iov_base;
	size_t	iov_len;
} iovec;
#define swap_action int
typedef long ssize_t;
typedef unsigned int uid_t;
typedef unsigned int gid_t;
#define NAME_MAX (256)
#define MAXPATHLEN 1024
#define DIR int
#define min(a,b) (((a)<(b))?(a):(b))
#define max(a,b) (((a)>(b))?(a):(b))

namespace winBe {

	struct LineArray;
	class MessageData;

} // namespace winBe

// end NC modified

namespace stdx {

class string : public std::string
{
public:
	string ()
	{
	}

	string (const char* str)
	{
		if (str != 0)
			assign (str);
	}
};

}; // namespace stdx

#include <AppKit.h>
#include <DeviceKit.h>
#include <GameKit.h>
#include <InterfaceKit.h>
#include <KernelKit.h>
#include <MediaKit.h>
#include <MidiKit.h>
#include <NetKit.h>
#include <StorageKit.h>
#include <SupportKit.h>
#include <TranslationKit.h>

#ifdef _MSC_VER
#pragma warning(default:4200)
#pragma warning(default:4520)
#pragma warning(default:4518)
#endif

// NC modified
#include "WinBe.h"
