/*
  File: include/mml/Interface_Dialog.h
  Description: Sonique 2 dialog interface header
  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 _INTERFACE_DIALOGUE_H_
#define _INTERFACE_DIALOGUE_H_

#ifdef DEBUG_INCLUDE_ORDER
#pragma message("Including " __FILE__ "\n" )
#endif

#if _MSC_VER > 1000
#pragma once
#endif

#include "Interface_DAF.h"


// {835A0467-AF13-4ae9-88D9-853EC6489BC2}
DEFINE_MID( MID_DIALOG_QUERY_OBJECT, 0x835a0467, 0xaf13, 0x4ae9, 0x88, 0xd9, 0x85, 0x3e, 0xc6, 0x48, 0x9b, 0xc2);

class DialogSource
{
public:
	RefPtr<MPackageVirtual>	pPackage;
	AString				asSourceName;
	WString				wsInterfaceName;
	WString				wsWindowName;

};

class DialogQueryBase : public MGeneric
{
public:
	virtual bool	__stdcall	GetDialogSource( DialogSource& toHere ) const	= 0;
};

#endif
