shelljob.hxx (07a3d7f1) shelljob.hxx (7a164331)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 77 unchanged lines hidden (view full) ---

86 reference to the uno service manager, which created this instance.
87 Can be used later to create own needed uno resources on demand.
88 */
89 ShellJob(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
90
91 //---------------------------------------
92 /** @short does nothing real ...
93
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 77 unchanged lines hidden (view full) ---

86 reference to the uno service manager, which created this instance.
87 Can be used later to create own needed uno resources on demand.
88 */
89 ShellJob(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
90
91 //---------------------------------------
92 /** @short does nothing real ...
93
94 @descr But it should exists as virtual function,
94 @descr But it should exist as virtual function,
95 so this class can't make trouble
96 related to inline/symbols etcpp.!
97 */
98 virtual ~ShellJob();
99
100 //-------------------------------------------
101 // uno interface
102 public:

--- 42 unchanged lines hidden (view full) ---

145 @param sCommand
146 the absolute command as URL or system path (without any argument !).
147
148 @param lArguments
149 the complete list of arguments configured for these job.
150
151 @param bCheckExitCode
152 bind the execution result to the exit code of the started process.
95 so this class can't make trouble
96 related to inline/symbols etcpp.!
97 */
98 virtual ~ShellJob();
99
100 //-------------------------------------------
101 // uno interface
102 public:

--- 42 unchanged lines hidden (view full) ---

145 @param sCommand
146 the absolute command as URL or system path (without any argument !).
147
148 @param lArguments
149 the complete list of arguments configured for these job.
150
151 @param bCheckExitCode
152 bind the execution result to the exit code of the started process.
153 If it's set to false we return false only in case executable couldnt be found
154 or couldnt be started.
153 If it's set to false we return false only in case executable couldn't be found
154 or couldn't be started.
155
156 @return sal_True if command was executed successfully; sal_False otherwise.
157 */
158 ::sal_Bool impl_execute(const ::rtl::OUString& sCommand ,
159 const css::uno::Sequence< ::rtl::OUString >& lArguments ,
160 ::sal_Bool bCheckExitCode);
161};
162
163} // namespace framework
164
165#endif // __FRAMEWORK_JOBS_SHELLJOB_HXX_
155
156 @return sal_True if command was executed successfully; sal_False otherwise.
157 */
158 ::sal_Bool impl_execute(const ::rtl::OUString& sCommand ,
159 const css::uno::Sequence< ::rtl::OUString >& lArguments ,
160 ::sal_Bool bCheckExitCode);
161};
162
163} // namespace framework
164
165#endif // __FRAMEWORK_JOBS_SHELLJOB_HXX_