
/*
  File: include/mia/MIAInternals.h
  Description: Definitions of MIA DLL functions
  Part of the Mantis project
  (c) 2002 Lycos Inc.

  This file is distributed for the sole purpose of allowing you to write
  software to interface with Sonique 2 and other Mantis programs. It is
  not to be modified or used for any other purpose without written
  authorization.

  If you redistribute this file, it must be in the original package
  complete with all other files provided, including the usage agreement.

  Do not remove this notice.
*/

#ifndef _MIAINTERNALS_H_
#define _MIAINTERNALS_H_

#if	  !defined( _MIA_DLL_ ) && !defined( _USE_MIA_ )

extern MRESULT (*MCreateInstance)(	const MID& mIFactory, 
									const MID& mInterface, 
									void**	   ppToHere,
									MObject*   pOuter );

extern WString MIAGetSharedPath();
extern WString MIAGetDLLPath();


#elif defined( _USE_MIA_ )
MRESULT (*MCreateInstance)(	
							const MID& mIFactory,
						    const MID& mInterface, 
							void**	   ppToHere,
							MObject*   pOuter );

#else
extern "C" __declspec (dllexport) MRESULT MCreateInstance(	
							const MID& mIFactory,
						    const MID& mInterface, 
							void**	   ppToHere,
							MObject*   pOuter );

#endif

#endif//_MIAINTERNALS_H_
