#ifndef __com_sun_star_scripting_XMethod_idl__ #define __com_sun_star_scripting_XMethod_idl__ #ifndef __com_sun_star_uno_XInterface_idl__ #include #endif #ifndef __com_sun_star_scripting_MethodInvokeException_idl__ #include #endif module com { module sun { module star { module scripting { // This is interface that by which StarOffice/OpenOffice.org can // invoke a method that is bound to an event interface XMethod: com::sun::star::uno::XInterface { /** Invoke a method with a generic set of arguments which may return a generic set of results. This needs to defined as synchronous, this will have to be done in the implementation. throws MethodInvokeException if error in invoking method*/ any invoke( [in] sequence Arguments ) raises (com::sun::star::scripting::MethodInvokeException); }; }; }; }; }; #endif