| 1 | /* SpectrogramEditor.cpp |
| 2 | * |
| 3 | * Copyright (C) 1992-2005,2007-2012,2014-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 "SpectrogramEditor.h"cxx . . $ `<file>/foned/SpectrogramEditor.h`/ |
| 20 | |
| 21 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (SpectrogramEditor, FunctionEditor, 0); |
| 22 | |
| 23 | autoSpectrogramEditorcxx . . $ autoSpectrogramEditor# SpectrogramEditor_createcxx . . $ SpectrogramEditor_create(df7f15955f8cc127). (conststring32cxx . . $ conststring32# title, Spectrogramcxx . . $ Spectrogram# spectrogram) { |
| 24 | try { |
| 25 | autoSpectrogramEditorcxx . . $ autoSpectrogramEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (SpectrogramEditor); |
| 26 | mycxx . . $ `melder/melder.h:44:9`! spectrogramAreacxx . . $ structSpectrogramEditor#spectrogramArea(5c3902b4da78dbba).() =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). SpectrogramArea_createcxx . . $ SpectrogramArea_create(28f2ed2c8afdd6ce). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 27 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, spectrogram); |
| 28 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 29 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 30 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Spectrogram window not created."); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | /* End of file SpectrogramEditor.cpp */ |