Author: arielch
Date: Fri Jan  4 19:56:13 2013
New Revision: 1429066

URL: http://svn.apache.org/viewvc?rev=1429066&view=rev
Log:
i121578 - Convert css.system.SystemShellExectue to new-style

Modified:
    openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecute.idl
    
openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecuteException.idl
    openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecuteFlags.idl
    openoffice/trunk/main/offapi/com/sun/star/system/XSystemShellExecute.idl
    openoffice/trunk/main/offapi/type_reference/types.rdb

Modified: 
openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecute.idl
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecute.idl?rev=1429066&r1=1429065&r2=1429066&view=diff
==============================================================================
--- openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecute.idl 
(original)
+++ openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecute.idl Fri 
Jan  4 19:56:13 2013
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,66 +7,37 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 #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;
-
-//=============================================================================
-/** Specifies a system executer service. Such a service        makes it 
possible 
-       to execute an arbitrary system command.
+published interface XSystemShellExecute;
 
-       @see com::sun::star::system::XSystemShellExecute
+/** Specifies a system executer service. Such a service makes it possible
+    to execute an arbitrary system command.
 */
-
-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

Modified: 
openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecuteException.idl
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecuteException.idl?rev=1429066&r1=1429065&r2=1429066&view=diff
==============================================================================
--- 
openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecuteException.idl
 (original)
+++ 
openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecuteException.idl
 Fri Jan  4 19:56:13 2013
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,52 +7,40 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 #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;
+    /** A Posix conforming error code or -1 for unknown errors.
+    */
+    long PosixError;
 };
 
-//=============================================================================
-
 }; }; }; };
 
-/*=============================================================================
-
-
-=============================================================================*/
 #endif

Modified: 
openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecuteFlags.idl
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecuteFlags.idl?rev=1429066&r1=1429065&r2=1429066&view=diff
==============================================================================
--- 
openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecuteFlags.idl 
(original)
+++ 
openoffice/trunk/main/offapi/com/sun/star/system/SystemShellExecuteFlags.idl 
Fri Jan  4 19:56:13 2013
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,45 +7,36 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 #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.
+/** Different settings for the <type>SystemShellExecute</type> service.
  */
-
 published constants SystemShellExecuteFlags
 {
-       //---------------------------------------------------------------------
-       /** Uses the default settings for executing commands.
-       */
-       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;
-};     
-
-//=============================================================================
+    /** Uses the default settings for executing commands.
+    */
+    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;
+};
 
 }; }; }; };
 

Modified: 
openoffice/trunk/main/offapi/com/sun/star/system/XSystemShellExecute.idl
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/offapi/com/sun/star/system/XSystemShellExecute.idl?rev=1429066&r1=1429065&r2=1429066&view=diff
==============================================================================
--- openoffice/trunk/main/offapi/com/sun/star/system/XSystemShellExecute.idl 
(original)
+++ openoffice/trunk/main/offapi/com/sun/star/system/XSystemShellExecute.idl 
Fri Jan  4 19:56:13 2013
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,84 +7,63 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
-
-
 #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 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 nFlags
-               Specifies different flags to control the execution of this 
method, for example,
-               avoid showing system error messages, in case of failures, etc.  
        
-
-               @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
-       */
-       void execute( [in] string aCommand, [in] string aParameter, [in] long 
nFlags )
-               raises( ::com::sun::star::lang::IllegalArgumentException, 
::com::sun::star::system::SystemShellExecuteException );
-};
+    /** Executes an abitrary system command.
 
-//=============================================================================
+    @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.
+        <p>The method does not validate the given parameters, but only passes 
it
+        as a parameter to the specified command.</p>
+
+    @param nFlags
+        A combination of <type>SystemShellExecuteFlags</type> specifying 
different
+        flags to control the execution of this method.
+
+    @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.
+    */
+    void execute( [in] string sCommand,
+                  [in] string sParameter,
+                  [in] long nFlags )
+        raises( ::com::sun::star::lang::IllegalArgumentException,
+                ::com::sun::star::system::SystemShellExecuteException );
+};
 
 }; }; }; };
 
 #endif
-

Modified: openoffice/trunk/main/offapi/type_reference/types.rdb
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/offapi/type_reference/types.rdb?rev=1429066&r1=1429065&r2=1429066&view=diff
==============================================================================
Binary files - no diff available.


Reply via email to