| 1 | /* RealTierEditor.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 "RealTierEditor.h"cxx . . $ `<file>/foned/RealTierEditor.h`/ |
| 20 | #include "EditorM.h"cxx . . $ `<file>/sys/EditorM.h`/ |
| 21 | |
| 22 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (RealTierEditor, FunctionEditor, 0); |
| 23 | |
| 24 | autoRealTierEditorcxx . . $ autoRealTierEditor# RealTierEditor_createcxx . . $ RealTierEditor_create(dc3a6a5ec982a9f3). (conststring32cxx . . $ conststring32# title, RealTiercxx . . $ RealTier# realTier, Soundcxx . . $ Sound# optionalSoundToCopy) { |
| 25 | try { |
| 26 | autoRealTierEditorcxx . . $ autoRealTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (RealTierEditor); |
| 27 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). RealTierArea_createcxx . . $ RealTierArea_create(4a928f7801ab85cb). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 28 | if (optionalSoundToCopy) |
| 29 | mycxx . . $ `melder/melder.h:44:9`! soundAreacxx . . $ structRealTierEditor#soundArea(f75ec617f241a3e6).() =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). SoundArea_createcxx . . $ SoundArea_create(4b60938fec9a8242). (false, optionalSoundToCopy, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 30 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, realTier); |
| 31 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 32 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 33 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"RealTier window not created."); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | /* End of file RealTierEditor.cpp */ |