diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-07-10 15:13:27 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-07-10 15:13:27 +0000 |
commit | c9d41aad9cd6be95568f2922625b3cd968e4dc09 (patch) | |
tree | 9e1f745d505605435bd11e7d11cd16487f591d1c /udkapi/com/sun/star/container/XContainerApproveBroadcaster.idl | |
parent | 268d36ef6c65158861b38300f14ca4eb5928a6aa (diff) |
INTEGRATION: CWS qiq (1.1.2); FILE ADDED
2006/05/24 14:40:25 fs 1.1.2.1: allow vetos at containers
Diffstat (limited to 'udkapi/com/sun/star/container/XContainerApproveBroadcaster.idl')
-rw-r--r-- | udkapi/com/sun/star/container/XContainerApproveBroadcaster.idl | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/udkapi/com/sun/star/container/XContainerApproveBroadcaster.idl b/udkapi/com/sun/star/container/XContainerApproveBroadcaster.idl new file mode 100644 index 000000000..d71fe0243 --- /dev/null +++ b/udkapi/com/sun/star/container/XContainerApproveBroadcaster.idl @@ -0,0 +1,74 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: XContainerApproveBroadcaster.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: obo $ $Date: 2006-07-10 16:13: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_container_XContainerApproveBroadcaster_idl__ +#define __com_sun_star_container_XContainerApproveBroadcaster_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +//============================================================================= + +module com { module sun { module star { module container { + +//============================================================================= + +interface XContainerApproveListener; + +/** allows containers to implement a vetoing mechanism for insertion, removal, and + replacement of their elements. + */ +interface XContainerApproveBroadcaster +{ + /** adds a listener which can veto changes in the container's content + */ + void addContainerApproveListener( + [in] XContainerApproveListener Listener ); + + /** removes a previously added listener + */ + void removeContainerApproveListener( + [in] XContainerApproveListener Listener ); +}; + +//============================================================================= + +}; }; }; }; + +//============================================================================= + +#endif + |