XCloseListener.idl (a893be29) | XCloseListener.idl (21947a42) |
---|---|
1/************************************************************** | 1/************************************************************** |
2 * | 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 9 * with the License. You may obtain a copy of the License at | 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 9 * with the License. You may obtain a copy of the License at |
10 * | 10 * |
11 * http://www.apache.org/licenses/LICENSE-2.0 | 11 * http://www.apache.org/licenses/LICENSE-2.0 |
12 * | 12 * |
13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. | 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. |
19 * | 19 * |
20 *************************************************************/ 21 22 23#ifndef __com_sun_star_util_XCloseListener_idl__ 24#define __com_sun_star_util_XCloseListener_idl__ 25 26#ifndef __com_sun_star_util_CloseVetoException_idl__ 27#include <com/sun/star/util/CloseVetoException.idl> --- 80 unchanged lines hidden (view full) --- 108 [in] boolean GetsOwnership ) 109 raises( CloseVetoException ); 110 111 //------------------------------------------------------------------------- 112 /** is called when the listened object is closed really 113 114 <p> 115 Now the listened object is closed really. Listener has to accept that; | 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_util_XCloseListener_idl__ 24#define __com_sun_star_util_XCloseListener_idl__ 25 26#ifndef __com_sun_star_util_CloseVetoException_idl__ 27#include <com/sun/star/util/CloseVetoException.idl> --- 80 unchanged lines hidden (view full) --- 108 [in] boolean GetsOwnership ) 109 raises( CloseVetoException ); 110 111 //------------------------------------------------------------------------- 112 /** is called when the listened object is closed really 113 114 <p> 115 Now the listened object is closed really. Listener has to accept that; |
116 should deregister himself and relaese all references to it. | 116 should deregister himself and release all references to it. |
117 It's not allowed nor possible to disagree with that by throwing any exception. 118 </p> 119 120 <p> 121 If the event <member scope="com::sun::star::lang">XEventListener::disposing()</member> occurred before 122 it must be accepted too. There exist no chance for a disagreement any more. 123 </p> 124 125 @param Source 126 describes the source of the event (must be the listened object) 127 */ 128 void notifyClosing( [in] com::sun::star::lang::EventObject Source ); 129}; 130 131//============================================================================= 132 133}; }; }; }; 134 135#endif | 117 It's not allowed nor possible to disagree with that by throwing any exception. 118 </p> 119 120 <p> 121 If the event <member scope="com::sun::star::lang">XEventListener::disposing()</member> occurred before 122 it must be accepted too. There exist no chance for a disagreement any more. 123 </p> 124 125 @param Source 126 describes the source of the event (must be the listened object) 127 */ 128 void notifyClosing( [in] com::sun::star::lang::EventObject Source ); 129}; 130 131//============================================================================= 132 133}; }; }; }; 134 135#endif |