| 1 | #cxx . . $ `<file>/melder/melder_console.h`/ifndef _melder_console_h_ |
| 2 | #define _melder_console_h_cxx . . $ `melder/melder_console.h:2:9`! |
| 3 | |
| 4 | /* melder_console.h |
| 5 | * |
| 6 | * Copyright (C) 1992-2018,2024 Paul Boersma |
| 7 | * |
| 8 | * This code is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; either version 2 of the License, or (at |
| 11 | * your option) any later version. |
| 12 | * |
| 13 | * This code is distributed in the hope that it will be useful, but |
| 14 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 16 | * See the GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 20 | */ |
| 21 | |
| 22 | namespace MelderConsolecxx . . $ MelderConsole/ { |
| 23 | enum class Encodingcxx . . $ MelderConsole/Encoding# { |
| 24 | UTF8cxx . . $ MelderConsole/Encoding#UTF8. = 0, |
| 25 | UTF16cxx . . $ MelderConsole/Encoding#UTF16. = 1, |
| 26 | ANSIcxx . . $ MelderConsole/Encoding#ANSI. = 2 |
| 27 | }; |
| 28 | extern void writecxx . . $ MelderConsole/write(7004b68cc6c23ea2). (conststring32cxx . . $ conststring32# message, bool useStderr); |
| 29 | extern void setEncodingcxx . . $ MelderConsole/setEncoding(b30133ee0cddd54b). (Encodingcxx . . $ MelderConsole/Encoding# encoding); |
| 30 | } |
| 31 | |
| 32 | extern FILE *Melder_stdoutcxx . . $ Melder_stdout., *Melder_stderrcxx . . $ Melder_stderr.; // initialized by MelderConsole_init () |
| 33 | |
| 34 | void MelderConsole_initcxx . . $ MelderConsole_init(49f6e7a06ebc5aa8). (); // call at start-up, after attaching to the console |
| 35 | |
| 36 | /* End of file melder_console.h */ |
| 37 | #endif |