#ifndef __com_sun_star_scripting_XFunctionProvider_idl__ #define __com_sun_star_scripting_XFunctionProvider_idl__ #ifndef __com_sun_star_uno_XInterface_idl__ #include #endif //=========================================================================== module com { module sun { module star { module scripting { //=========================================================================== /** XFunctionProvider interfaces provides a menas for the construction of XFunction implementations. */ interface XFunctionProvider : com::sun::star::uno::XInterface { //---------------------------------------------------------------------- /** a factory method for the creation of XFunction implementations. No checking that the Function exists is made on this call. (otherwise we end up checking here, at binding, at invocation etc.) Because of the desire that we be able to run scripts in the background, we may also need to pass the script context (XScriptContext) in as an argument when creating the XFunction. @param functionName is the logical or lang-dependent function name @returns XFunction an object implementing XFunction */ XFunction getFunction( [in] string functionName ); }; //=========================================================================== }; }; }; }; // com::sun::star::scripting #endif