// (c) 2003-2007 Electronic Arts Inc.

/*------------------------------------------------------------------*/
/*																	*/
/*						  Whereis API v1.34 						*/
/*																	*/
/*					   by FrANK G. Barchard, EAC					*/
/*																	*/
/*						 Header - May 16, 2005						*/
/*																	*/
/*------------------------------------------------------------------*/

#ifndef WHEREIS_H
#define WHEREIS_H

#if defined(_MSC_VER)
#pragma once
#pragma warning(disable: 4996)	// warning C4996: 'fscanf' was declared deprecated
#endif
#if defined(__ICL)
#pragma warning(disable: 1478)	// (icl) warning #1478: function "strcpy" was declared "deprecated"
#endif


#define WHEREIS_VERSION 134

#ifdef _MANAGED
#using <mscorlib.dll>

public __gc class WhereIs
{
	public:
	static System::String *Find(System::String *whatToFind);
};

#else

char * WhereIs_Find(const char *whatToFind);
char * WhereIs_Format(const char *whereis, int OPTquote=0, int OPTdir=0, int OPTshortname=0,int OPTlongname=0, int OPTunc=0, int OPTslash=0, int OPTrelative=0);

#endif

#endif // WHEREIS_H
