update dev300-m58
[ooovba.git] / udkapi / com / sun / star / script / InterruptEngineEvent.idl
blobe6541c20f65562e143b337056ea0727a6a01f5e7
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: InterruptEngineEvent.idl,v $
10 * $Revision: 1.10 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_script_InterruptEngineEvent_idl__
31 #define __com_sun_star_script_InterruptEngineEvent_idl__
33 #ifndef __com_sun_star_lang_EventObject_idl__
34 #include <com/sun/star/lang/EventObject.idl>
35 #endif
37 #ifndef __com_sun_star_script_InterruptReason_idl__
38 #include <com/sun/star/script/InterruptReason.idl>
39 #endif
42 //=============================================================================
44 module com { module sun { module star { module script {
46 //=============================================================================
47 /** describes an interrupt which occurs in the scripting engine.
48 @deprecated
50 published struct InterruptEngineEvent: com::sun::star::lang::EventObject
52 //-------------------------------------------------------------------------
53 /** fully qualified name to address the module or function affected by the event that
54 took place.
56 <p>If the module or function can't be addressed by name (for example, in case
57 that a runtime-generated eval-module is executed), this string is empty.</p>
59 string Name;
61 //-------------------------------------------------------------------------
62 /** source code of the Module affected by the event that took place.
64 <p>If the source can
65 be accessed using the ModuleName, or if the source is unknown (executing compiled
66 code), this string can be empty.</p>
68 string SourceCode;
70 //-------------------------------------------------------------------------
71 /** contains the first line in the module's source code that is affected
72 by the event that took place.
76 <p>If "name" addresses a function, all line and column values
77 are nevertheless given relative to the module's source. If
78 source code is not available, this value addresses a binary
79 position in the compiled code. </p>
81 @see XLibraryAccess::getModuleCode
82 @see XLibraryAccess::getFunctionCode
84 long StartLine;
86 //-------------------------------------------------------------------------
87 /** contains the first column in the "StartLine" that is affected by the
88 event that took place.
90 long StartColumn;
92 //-------------------------------------------------------------------------
93 /** contains the last line in the module's source code that is affected
94 by the event that took place.
96 long EndLine;
98 //-------------------------------------------------------------------------
99 /** contains the first column in the "EndLine" which is NOT affected by
100 the event that took place.
102 long EndColumn;
104 //-------------------------------------------------------------------------
105 /** error message.
106 <p>Only valid if Reason is RuntimeError or CompileError.</p>
108 string ErrorMessage;
110 //-------------------------------------------------------------------------
111 /** contains the interrupt reason.
113 com::sun::star::script::InterruptReason Reason;
117 //=============================================================================
119 }; }; }; };
121 #endif