diff options
author | Ariel Constenla-Haile <arielch@apache.org> | 2013-01-04 18:56:13 +0000 |
---|---|---|
committer | Ariel Constenla-Haile <arielch@apache.org> | 2013-01-04 18:56:13 +0000 |
commit | 11c6e0d643b4646167aa1b30a32fc0c6881b1596 (patch) | |
tree | 0dd4820b13517b07424632d3c4dc30ab867fb9f5 /offapi | |
parent | 9fd6a72a9114636f971b78cb6430dbff62752b08 (diff) |
i121578 - Convert css.system.SystemShellExectue to new-style
Notes
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/system/SystemShellExecute.idl | 41 | ||||
-rw-r--r-- | offapi/com/sun/star/system/SystemShellExecuteException.idl | 26 | ||||
-rw-r--r-- | offapi/com/sun/star/system/SystemShellExecuteFlags.idl | 11 | ||||
-rw-r--r-- | offapi/com/sun/star/system/XSystemShellExecute.idl | 67 | ||||
-rw-r--r-- | offapi/type_reference/types.rdb | bin | 7499776 -> 7499776 bytes |
5 files changed, 37 insertions, 108 deletions
diff --git a/offapi/com/sun/star/system/SystemShellExecute.idl b/offapi/com/sun/star/system/SystemShellExecute.idl index 7c32b5a1ab94..ce999a6e697a 100644 --- a/offapi/com/sun/star/system/SystemShellExecute.idl +++ b/offapi/com/sun/star/system/SystemShellExecute.idl @@ -19,54 +19,25 @@ * *************************************************************/ - - #ifndef __com_sun_star_system_SystemShellExecute_idl__ #define __com_sun_star_system_SystemShellExecute_idl__ -#ifndef __com_sun_star_lang_XServiceInfo_idl__ -#include <com/sun/star/lang/XServiceInfo.idl> -#endif - -#ifndef __com_sun_star_lang_XTypeProvider_idl__ -#include <com/sun/star/lang/XTypeProvider.idl> -#endif - -//============================================================================= +#include <com/sun/star/system/XSystemShellExecute.idl> module com { module sun { module star { module system { -//============================================================================= +published interface XSystemShellExecute; - published interface XSystemShellExecute; - -//============================================================================= /** Specifies a system executer service. Such a service makes it possible to execute an arbitrary system command. - - @see com::sun::star::system::XSystemShellExecute */ - -published service SystemShellExecute +published service SystemShellExecute : XSystemShellExecute { - //------------------------------------------------------------------------- - /** Provides access to a <type>XSystemShellExecute</type> interface. - */ - interface XSystemShellExecute; - - //------------------------------------------------------------------------- - /** Service should always support this interface. - */ - interface com::sun::star::lang::XServiceInfo; - - //------------------------------------------------------------------------- - /** Service should always support this interface. - */ - interface com::sun::star::lang::XTypeProvider; + /** service constructor + */ + create(); }; -//============================================================================= - }; }; }; }; #endif diff --git a/offapi/com/sun/star/system/SystemShellExecuteException.idl b/offapi/com/sun/star/system/SystemShellExecuteException.idl index 4f041ee3fe3b..2dd8fd790b28 100644 --- a/offapi/com/sun/star/system/SystemShellExecuteException.idl +++ b/offapi/com/sun/star/system/SystemShellExecuteException.idl @@ -19,40 +19,28 @@ * *************************************************************/ - - #ifndef __com_sun_star_system_SystemShellExecuteException_idl__ #define __com_sun_star_system_SystemShellExecuteException_idl__ -#ifndef __com_sun_star_uno_Exception_idl__ #include <com/sun/star/uno/Exception.idl> -#endif - -//============================================================================= module com { module sun { module star { module system { -//============================================================================= -/** May be thrown in cases of errors executing a command using the <type>SystemShellExecute</type> service. - <member scope="com::sun::star::uno">Exception::Message</member> may contain a - system error message, but it is not mandatory. - The member PosixError specifies a POSIX conforming error code or -1 for - unknown errors. +/** May be thrown in cases of errors executing a command using the + <type>SystemShellExecute</type> service. + + <p><member scope="com::sun::star::uno">Exception::Message</member> may + contain a system error message, but it is not mandatory.</p> + <p>The member <member>PosixError</member> specifies a POSIX conforming error + code or -1 for unknown errors.</p> */ published exception SystemShellExecuteException: com::sun::star::uno::Exception { - //========================================================================= /** A Posix conforming error code or -1 for unknown errors. */ long PosixError; }; -//============================================================================= - }; }; }; }; -/*============================================================================= - - -=============================================================================*/ #endif diff --git a/offapi/com/sun/star/system/SystemShellExecuteFlags.idl b/offapi/com/sun/star/system/SystemShellExecuteFlags.idl index 833e6a9bf260..080ef8c161b5 100644 --- a/offapi/com/sun/star/system/SystemShellExecuteFlags.idl +++ b/offapi/com/sun/star/system/SystemShellExecuteFlags.idl @@ -19,34 +19,25 @@ * *************************************************************/ - - #ifndef __com_sun_star_system_SystemShellExecuteFlags_idl__ #define __com_sun_star_system_SystemShellExecuteFlags_idl__ - module com { module sun { module star { module system { -//============================================================================= /** Different settings for the <type>SystemShellExecute</type> service. */ - published constants SystemShellExecuteFlags { - //--------------------------------------------------------------------- /** Uses the default settings for executing commands. */ - const long DEFAULTS = 0; + const long DEFAULTS = 0; - //--------------------------------------------------------------------- /** Prevents the display of system error message boxes if the method <member scope="com::sun::star::system">XSystemShellExecute::execute()</member> fails. */ const long NO_SYSTEM_ERROR_MESSAGE = 1; }; -//============================================================================= - }; }; }; }; #endif diff --git a/offapi/com/sun/star/system/XSystemShellExecute.idl b/offapi/com/sun/star/system/XSystemShellExecute.idl index ba356b37674e..abb9a344ff18 100644 --- a/offapi/com/sun/star/system/XSystemShellExecute.idl +++ b/offapi/com/sun/star/system/XSystemShellExecute.idl @@ -19,72 +19,51 @@ * *************************************************************/ - - #ifndef __com_sun_star_system_XSystemShellExecute_idl__ #define __com_sun_star_system_XSystemShellExecute_idl__ -#ifndef __com_sun_star_uno_RuntimeException_idl__ -#include <com/sun/star/uno/RuntimeException.idl> -#endif - -#ifndef __com_sun_star_uno_XInterface_idl__ #include <com/sun/star/uno/XInterface.idl> -#endif - -#ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #include <com/sun/star/lang/IllegalArgumentException.idl> -#endif - -#ifndef __com_sun_star_system_SystemShellExecuteException_idl__ #include <com/sun/star/system/SystemShellExecuteException.idl> -#endif - -//============================================================================= module com { module sun { module star { module system { -//============================================================================= /** Specifies an interface for executing a system command. */ - - -published interface XSystemShellExecute: com::sun::star::uno::XInterface +published interface XSystemShellExecute { - //------------------------------------------------------------------------- /** Executes an abitrary system command. - @param aCommand - Specifies the command to execute. This may be an executable file or a - document which is registered with an application on a specific platform, - so that the platform knows what application to launch for that document. - If the command specifies a path to an executable, etc, this has to be - a system specific path. + @param aCommand + Specifies the command to execute. + <p>This may be an executable file or a document which is registered with + an application on a specific platform, so that the platform knows what + application to launch for that document.</p> + <p>If the command specifies a path to an executable, etc, this has to be + a system specific path.</p> - @param aParameter - Specifies a list of space separated parameters. The method does not - validate the given parameters, but only passes it as a parameter to the - specified command. + @param aParameter + Specifies a list of space separated parameters. + <p>The method does not validate the given parameters, but only passes it + as a parameter to the specified command.</p> - @param nFlags - Specifies different flags to control the execution of this method, for example, - avoid showing system error messages, in case of failures, etc. + @param nFlags + A combination of <type>SystemShellExecuteFlags</type> specifying different + flags to control the execution of this method. - @throws com::sun::star::lang::IllegalArgumentException + @throws com::sun::star::lang::IllegalArgumentException when the specified flags are wrong or exclude each other. -. - @throws com::sun::star::sys::SystemExecuteException - in the case of errors when trying to executed the specified command. - @see com::sun::star::system::SystemShellExecuteFlags + @throws com::sun::star::sys::SystemExecuteException + in the case of errors when trying to executed the specified command. */ - void execute( [in] string aCommand, [in] string aParameter, [in] long nFlags ) - raises( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::system::SystemShellExecuteException ); + void execute( [in] string sCommand, + [in] string sParameter, + [in] long nFlags ) + raises( ::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::system::SystemShellExecuteException ); }; -//============================================================================= - }; }; }; }; #endif - diff --git a/offapi/type_reference/types.rdb b/offapi/type_reference/types.rdb Binary files differindex 5958627a0352..e6bb9f2a33c8 100644 --- a/offapi/type_reference/types.rdb +++ b/offapi/type_reference/types.rdb |