#ifndef __com_sun_star_scripting_XFunction_idl__ #define __com_sun_star_scripting_XFunction_idl__ #ifndef __com_sun_star_uno_XInterface_idl__ #include #endif #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include #endif //=========================================================================== module com { module sun { module star { module scripting { //=========================================================================== /** XFunction represents an invokable script or UNO function. */ interface XFunction : com::sun::star::uno::XInterface { //---------------------------------------------------------------------- /** invoke the script or function referenced by the implementing object @params args the arguments to be passed in expected @throws IllegalArgumentException if args do not match or cannot be converted the those of the invokee @throws ScriptRuntimeException on ?? */ any invoke( [inout] sequence args ) raises( com::sun::star::lang::IllegalArgumentException, com::sun::star::script::RuntimeException ); }; //=========================================================================== }; }; }; }; // com::sun::star::scripting #endif