// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Midas.pas' rev: 10.00

#ifndef MidasHPP
#define MidasHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Activex.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------
#if !defined(NO_CPP_IAPPSERVER)
namespace Midas {
  __interface  INTERFACE_UUID("{1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}") ICppAppServer : public IDispatch
  {
  public:
    virtual HRESULT __stdcall AS_ApplyUpdates(BSTR ProviderName, VARIANT Delta, long MaxErrors, int* ErrorCount, VARIANT* OwnerData, VARIANT* AS_ApplyUpdates_result) = 0 ;
    virtual HRESULT __stdcall AS_GetRecords(BSTR ProviderName, long Count, int* RecsOut, long Options, BSTR CommandText, VARIANT* Params, VARIANT* OwnerData, VARIANT* AS_GetRecords_result) = 0 ;
    virtual HRESULT __stdcall AS_DataRequest(BSTR ProviderName, VARIANT Data, VARIANT* AS_DataRequest_result) = 0 ;
    virtual HRESULT __stdcall AS_GetProviderNames(VARIANT* AS_GetProviderNames_result) = 0 ;
    virtual HRESULT __stdcall AS_GetParams(BSTR ProviderName, VARIANT* OwnerData, VARIANT* AS_GetParams_result) = 0 ;
    virtual HRESULT __stdcall AS_RowRequest(BSTR ProviderName, VARIANT Row, long RequestType, VARIANT* OwnerData, VARIANT* AS_RowRequest_result) = 0 ;
    virtual HRESULT __stdcall AS_Execute(BSTR ProviderName, BSTR CommandText, VARIANT* Params, VARIANT* OwnerData) = 0 ;
  };
}
#endif

namespace Midas
{
//-- type declarations -------------------------------------------------------
__interface IAppServer;
typedef System::DelphiInterface<IAppServer> _di_IAppServer;
__interface  INTERFACE_UUID("{1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}") IAppServer  : public IDispatch 
{
	
public:
	virtual HRESULT __safecall AS_ApplyUpdates(const WideString ProviderName, const OleVariant Delta, int MaxErrors, /* out */ int &ErrorCount, OleVariant &OwnerData, OleVariant &AS_ApplyUpdates_result) = 0 ;
	virtual HRESULT __safecall AS_GetRecords(const WideString ProviderName, int Count, /* out */ int &RecsOut, int Options, const WideString CommandText, OleVariant &Params, OleVariant &OwnerData, OleVariant &AS_GetRecords_result) = 0 ;
	virtual HRESULT __safecall AS_DataRequest(const WideString ProviderName, const OleVariant Data, OleVariant &AS_DataRequest_result) = 0 ;
	virtual HRESULT __safecall AS_GetProviderNames(OleVariant &AS_GetProviderNames_result) = 0 ;
	virtual HRESULT __safecall AS_GetParams(const WideString ProviderName, OleVariant &OwnerData, OleVariant &AS_GetParams_result) = 0 ;
	virtual HRESULT __safecall AS_RowRequest(const WideString ProviderName, const OleVariant Row, int RequestType, OleVariant &OwnerData, OleVariant &AS_RowRequest_result) = 0 ;
	virtual HRESULT __safecall AS_Execute(const WideString ProviderName, const WideString CommandText, OleVariant &Params, OleVariant &OwnerData) = 0 ;
};

__dispinterface IAppServerDisp;
typedef System::DelphiInterface<IAppServerDisp> _di_IAppServerDisp;
__dispinterface  INTERFACE_UUID("{1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}") IAppServerDisp  : public IDispatch 
{
	
};

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE GUID LIBID_Midas;
extern PACKAGE GUID IID_IAppServer;

}	/* namespace Midas */
using namespace Midas;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Midas
