//File: CosTradingDynamic.idl
//Part of the Trading Object Service

#ifndef _COS_TRADING_DYNAMIC_IDL_
#define _COS_TRADING_DYNAMIC_IDL_

// omniORB specific pragmas to insert extra includes into the stub header.
#pragma hh #include "COS_sysdep.h"

#include <orb.idl>
#include <CosTrading.idl>

#pragma prefix "omg.org"

module CosTradingDynamic {

	exception DPEvalFailure {
		CosTrading::PropertyName name;
		CORBA::TypeCode returned_type;
		any extra_info;
	};

	interface DynamicPropEval {

		any evalDP (
			in CosTrading::PropertyName name,
			in CORBA::TypeCode returned_type,
			in any extra_info
		) raises (
			DPEvalFailure
		);
	};

	struct DynamicProp {
		 DynamicPropEval eval_if;
		 CORBA::TypeCode returned_type;
		 any extra_info;
	};
}; /* end module CosTradingDynamic */

#endif /* ifndef _COS_TRADING_DYNAMIC_IDL_ */

