| 1 |
#ifndef _melder_app_h_ |
| 2 |
#define _melder_app_h_ |
| 3 |
/* melder_app.h |
| 4 |
* |
| 5 |
* Copyright (C) 2024,2025 Paul Boersma |
| 6 |
* |
| 7 |
* This code is free software; you can redistribute it and/or modify |
| 8 |
* it under the terms of the GNU General Public License as published by |
| 9 |
* the Free Software Foundation; either version 3 of the License, or (at |
| 10 |
* your option) any later version. |
| 11 |
* |
| 12 |
* This code is distributed in the hope that it will be useful, but |
| 13 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 15 |
* See the GNU General Public License for more details. |
| 16 |
* |
| 17 |
* You should have received a copy of the GNU General Public License |
| 18 |
* along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 |
*/ |
| 20 |
|
| 21 |
void Melder_setAppName (conststring32 title); |
| 22 |
conststring32 Melder_upperCaseAppName(); |
| 23 |
conststring32 Melder_lowerCaseAppName(); |
| 24 |
|
| 25 |
void Melder_setAppVersion (conststring32 versionText, integer versionNumber); |
| 26 |
conststring32 Melder_appVersionSTR(); |
| 27 |
integer Melder_appVersion(); |
| 28 |
|
| 29 |
void Melder_setAppDate (integer year, integer month, integer day); |
| 30 |
integer Melder_appYear(); |
| 31 |
integer Melder_appMonth(); |
| 32 |
conststring32 Melder_appMonthSTR(); |
| 33 |
integer Melder_appDay(); |
| 34 |
|
| 35 |
void Melder_setAppContactAddress (conststring32 firstPartOfEmailAddress, conststring32 secondPartOfEmailAdress); |
| 36 |
// we don't do a single email address with a "@" in it, |
| 37 |
// because some simplistic malware checkers would then think that our binary contains malware, which it doesn't |
| 38 |
conststring32 Melder_appContactAddress(); |
| 39 |
|
| 40 |
/* End of file melder_app.h */ |
| 41 |
#endif // !_melder_app_h_ |