Debian Codegraph @

foned/PointEditor.cpp

raw symbols SCIP
1 /* PointEditor.cpp
2 *
3 * Copyright (C) 1992-2022 Paul Boersma
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #include "PointEditor.h"cxx . . $ `<file>/foned/PointEditor.h`/
20 #include "EditorM.h"cxx . . $ `<file>/sys/EditorM.h`/
21 #include "VoiceAnalysis.h"cxx . . $ `<file>/fon/VoiceAnalysis.h`/
22
23 Thing_implementcxx . . $ `sys/Thing.h:65:9`! (PointEditor, FunctionEditor, 0);
24
25 static void HELP__PointEditorHelpcxx . . $ HELP__PointEditorHelp(7c2f1e1ae192410). (PointEditorcxx . . $ PointEditor#, EDITOR_ARGScxx . . $ `sys/EditorM.h:25:9`!) {
26 HELPcxx . . $ `sys/EditorM.h:631:9`! (U"PointEditor")
27 }
28
29 void structPointEditorcxx . . $ structPointEditor# :: v_createMenuItems_helpcxx . . $ structPointEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (EditorMenucxx . . $ EditorMenu# menu) {
30 PointEditor_Parentcxx . . $ PointEditor_Parent# :: v_createMenuItems_helpcxx . . $ structFunctionEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (menu);
31 EditorMenu_addCommandcxx . . $ EditorMenu_addCommand(b3c50ad5ffa1d58a). (menu, U"PointEditor help", '?',
32 HELP__PointEditorHelpcxx . . $ MelderCallback#MelderCallback(aaa169a015c1cf97).);
33 }
34
35 autoPointEditorcxx . . $ autoPointEditor# PointEditor_createcxx . . $ PointEditor_create(56f67a08294549a). (conststring32cxx . . $ conststring32# title, PointProcesscxx . . $ PointProcess# pointProcess, Soundcxx . . $ Sound# optionalSoundToCopy) {
36 try {
37 autoPointEditorcxx . . $ autoPointEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (PointEditor);
38 mycxx . . $ `melder/melder.h:44:9`! pointAreacxx . . $ structPointEditor#pointArea(c2c24fe344be548d).() =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). PointArea_createcxx . . $ PointArea_create(3b1e2327a9e3ee5a). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).());
39 if (optionalSoundToCopy) {
40 autoSoundcxx . . $ autoSound# monoSound = Sound_convertToMonocxx . . $ Sound_convertToMono(4e9053a6db58af83). (optionalSoundToCopy);
41 mycxx . . $ `melder/melder.h:44:9`! soundAreacxx . . $ structPointEditor#soundArea(f75ec617f241a3e6).() =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). SoundArea_createcxx . . $ SoundArea_create(4b60938fec9a8242). (false, monoSound.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); // BUG: double copy
42 mycxx . . $ `melder/melder.h:44:9`! pointAreacxx . . $ structPointEditor#pointArea(c2c24fe344be548d).() ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). borrowedSoundAreacxx . . $ structPointArea#borrowedSoundArea. = mycxx . . $ `melder/melder.h:44:9`! soundAreacxx . . $ structPointEditor#soundArea(f75ec617f241a3e6).().getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).();
43 }
44 FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, pointProcess);
45 return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).;
46 } catch (MelderErrorcxx . . $ MelderError#) {
47 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"PointProcess window not created.");
48 }
49 }
50
51 /* End of file PointEditor.cpp */