| 1 | /* MovieWindow.cpp |
| 2 | * |
| 3 | * Copyright (C) 2011-2020,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 "MovieWindow.h"cxx . . $ `<file>/foned/MovieWindow.h`/ |
| 20 | |
| 21 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (MovieWindow, FunctionEditor, 0); |
| 22 | |
| 23 | autoMovieWindowcxx . . $ autoMovieWindow# MovieWindow_createcxx . . $ MovieWindow_create(d1b748fee71f4d6). (conststring32cxx . . $ conststring32# title, Moviecxx . . $ Movie# movie) { |
| 24 | try { |
| 25 | autoMovieWindowcxx . . $ autoMovieWindow# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (MovieWindow); |
| 26 | mycxx . . $ `melder/melder.h:44:9`! videoAreacxx . . $ structMovieWindow#videoArea(3714d70fa63d9a14).() =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). MovieArea_createcxx . . $ MovieArea_create(7184b36d11d5dffb). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 27 | if (movie -> d_soundcxx . . $ structMovie#d_sound.) { |
| 28 | mycxx . . $ `melder/melder.h:44:9`! soundAreacxx . . $ structMovieWindow#soundArea(f75ec617f241a3e6).() =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). SoundArea_createcxx . . $ SoundArea_create(4b60938fec9a8242). (false, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 29 | mycxx . . $ `melder/melder.h:44:9`! soundAnalysisAreacxx . . $ structMovieWindow#soundAnalysisArea(189f664f81248f0).() =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). SoundAnalysisArea_createcxx . . $ SoundAnalysisArea_create(7f82e0b8b2569e74). (false, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 30 | } |
| 31 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, movie); |
| 32 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 33 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 34 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Movie window not created."); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | /* End of file MovieWindow.cpp */ |