diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-07-18 12:38:27 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-07-18 12:38:27 +0000 |
commit | 55fd98cf09efaa295aaa510e93d04d0304b1e683 (patch) | |
tree | 3de260679e226cf53e7adefb25dcd71f2528863b /offapi/com/sun/star/util/XJobManager.idl | |
parent | 2267234d6215f68fe1925425639145166c297df5 (diff) |
INTEGRATION: CWS swqbf91 (1.1.2); FILE ADDED
2007/05/03 15:20:12 od 1.1.2.1: #i73788# new interface to manage cancellable jobs
Diffstat (limited to 'offapi/com/sun/star/util/XJobManager.idl')
-rw-r--r-- | offapi/com/sun/star/util/XJobManager.idl | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/offapi/com/sun/star/util/XJobManager.idl b/offapi/com/sun/star/util/XJobManager.idl new file mode 100644 index 000000000..ebb815465 --- /dev/null +++ b/offapi/com/sun/star/util/XJobManager.idl @@ -0,0 +1,73 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: XJobManager.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: obo $ $Date: 2007-07-18 13:38:27 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ + +#ifndef __com_sun_star_util_XJobManager_idl__ +#define __com_sun_star_util_XJobManager_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +#ifndef __com_sun_star_util_XCancellable_idl__ +#include <com/sun/star/util/XCancellable.idl> +#endif + +module com { module sun { module star { module util { + +//============================================================================ +/** Manage cancellable jobs. + + */ +published interface XJobManager: com::sun::star::uno::XInterface +{ + //------------------------------------------------------------------------- + /** registers a cancellable job. + */ + void registerJob( [in] com::sun::star::util::XCancellable Job ); + + //------------------------------------------------------------------------- + /** deregisters a cancellable jobs. + */ + void releaseJob( [in] com::sun::star::util::XCancellable Job ); + + //------------------------------------------------------------------------- + /** cancel all registered jobs. + */ + void cancelAllJobs(); +}; + +}; }; }; }; + +#endif |