Debian Codegraph @

sys/ScriptEditor.h

raw symbols SCIP
1 #cxx . . $ `<file>/sys/ScriptEditor.h`/ifndef _ScriptEditor_h_
2 #define _ScriptEditor_h_cxx . . $ `sys/ScriptEditor.h:2:9`!
3 /* ScriptEditor.h
4 *
5 * Copyright (C) 1997-2011,2012,2015,2016,2018,2022-2024,2026 Paul Boersma
6 *
7 * This code is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or (at
10 * your option) any later version.
11 *
12 * This code is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 * See the GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this work. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #include "Script.h"cxx . . $ `<file>/sys/Script.h`/
22 #include "TextEditor.h"cxx . . $ `<file>/sys/TextEditor.h`/
23 #include "Interpreter.h"cxx . . $ `<file>/sys/Interpreter.h`/
24
25 Thing_definecxx . . $ theClassInfo_ScriptEditor. (ScriptEditor, TextEditor) {
26 /*
27 Who owns me?
28 */
29 autostring32cxx . . $ autostring32# optionalOwningEditorClassNamecxx . . $ structScriptEditor#optionalOwningEditorClassName.; // set at creation, and never changed after that (last checked 2023-02-25)
30 Editorcxx . . $ Editor# optionalReferenceToOwningEditorcxx . . $ structScriptEditor#optionalReferenceToOwningEditor.; // set at creation, and may be set to null later on
31 bool wasCreatedInAnEditorcxx . . $ structScriptEditor#wasCreatedInAnEditor(3482b152b9333168). () const noexcept {
32 return !! ourcxx . . $ `melder/melder.h:42:9`! optionalOwningEditorClassNamecxx . . $ structScriptEditor#optionalOwningEditorClassName.;
33 }
34
35 autoInterpreterStackcxx . . $ autoInterpreterStack# interpreterStackcxx . . $ structScriptEditor#interpreterStack.;
36 autoUiFormcxx . . $ autoUiForm# argsDialogcxx . . $ structScriptEditor#argsDialog.;
37
38 void v9_destroycxx . . $ structScriptEditor#v9_destroy(ced63f7c635d850d). () noexcept
39 override;
40 void v_nameChangedcxx . . $ structScriptEditor#v_nameChanged(49f6e7a06ebc5aa8). ()
41 override;
42 bool v_scriptablecxx . . $ structScriptEditor#v_scriptable(c9857a73d68e59ba). ()
43 override { return false; }
44 void v_createMenuscxx . . $ structScriptEditor#v_createMenus(49f6e7a06ebc5aa8). ()
45 override;
46 void v_createMenuItems_helpcxx . . $ structScriptEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (EditorMenucxx . . $ EditorMenu# menu)
47 override;
48 conststring32cxx . . $ conststring32# v_extensioncxx . . $ structScriptEditor#v_extension(d608cbfe2b610d03). () const
49 override { return U".praat"; }
50 };
51
52 void ScriptEditor_initcxx . . $ ScriptEditor_init(69f51ac727efc149). (ScriptEditorcxx . . $ ScriptEditor# me,
53 Editorcxx . . $ Editor# optionalEditor,
54 conststring32cxx . . $ conststring32# initialText
55 );
56 autoScriptEditorcxx . . $ autoScriptEditor# ScriptEditor_createFromTextcxx . . $ ScriptEditor_createFromText(53cc301a35858397). (
57 Editorcxx . . $ Editor# optionalEditor, // the scripting environment; if null, the scripting environment consists of the global windows
58 conststring32cxx . . $ conststring32# initialText // may be null
59 );
60
61 autoScriptEditorcxx . . $ autoScriptEditor# ScriptEditor_createFromScript_canBeNullcxx . . $ ScriptEditor_createFromScript_canBeNull(5fb1895a19deb5f9). (
62 Editorcxx . . $ Editor# optionalEditor,
63 autoScriptcxx . . $ autoScript# script // the ScriptEditor will take over ownership, and in turn hand it over to the set of known scripts
64 );
65
66 bool ScriptEditors_dirtycxx . . $ ScriptEditors_dirty(c9857a73d68e59ba). (); // are there any modified and unsaved scripts? Ask before quitting the program.
67
68 void ScriptEditor_debug_printAllOpenScriptEditorscxx . . $ ScriptEditor_debug_printAllOpenScriptEditors(49f6e7a06ebc5aa8). ();
69
70 extern CollectionOfcxx . . $ CollectionOf# <structScriptEditorcxx . . $ structScriptEditor#> theReferencesToAllOpenScriptEditorscxx . . $ theReferencesToAllOpenScriptEditors.;
71
72 /* End of file ScriptEditor.h */
73 #endif