1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_script_InterruptEngineEvent_idl__
20 #define __com_sun_star_script_InterruptEngineEvent_idl__
22 #include
<com
/sun
/star
/lang
/EventObject.idl
>
24 #include
<com
/sun
/star
/script
/InterruptReason.idl
>
28 module com
{ module sun
{ module star
{ module script
{
30 /** describes an interrupt which occurs in the scripting engine.
33 published
struct InterruptEngineEvent
: com
::sun
::star
::lang
::EventObject
35 /** fully qualified name to address the module or function affected by the event that
38 <p>If the module or function can't be addressed by name (for example, in case
39 that a runtime-generated eval-module is executed), this string is empty.</p>
43 /** source code of the Module affected by the event that took place.
46 be accessed using the ModuleName, or if the source is unknown (executing compiled
47 code), this string can be empty.</p>
51 /** contains the first line in the module's source code that is affected
52 by the event that took place.
56 <p>If "name" addresses a function, all line and column values
57 are nevertheless given relative to the module's source. If
58 source code is not available, this value addresses a binary
59 position in the compiled code. </p>
61 @see XLibraryAccess::getModuleCode
62 @see XLibraryAccess::getFunctionCode
66 /** contains the first column in the "StartLine" that is affected by the
67 event that took place.
71 /** contains the last line in the module's source code that is affected
72 by the event that took place.
76 /** contains the first column in the "EndLine" which is NOT affected by
77 the event that took place.
82 <p>Only valid if Reason is RuntimeError or CompileError.</p>
86 /** contains the interrupt reason.
88 com
::sun
::star
::script
::InterruptReason Reason
;
97 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */