| 1 | /* Prefs_copyToInstance.h |
| 2 | * |
| 3 | * Copyright (C) 2013,2015-2018,2021,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 | /* for C++ files; see Preferences.h */ |
| 20 | |
| 21 | #undef Prefs_begincxx . . $ `sys/Prefs_install.h:22:9`! |
| 22 | #define Prefs_begincxx . . $ `sys/Prefs_copyToInstance.h:22:9`!(Klas) \ |
| 23 | void struct##Klas :: v1_copyPreferencesToInstance () { \ |
| 24 | Klas##_Parent :: v1_copyPreferencesToInstance (); |
| 25 | |
| 26 | #undef ClassPrefs_addIntcxx . . $ `sys/Prefs_install.h:26:9`! |
| 27 | #define ClassPrefs_addIntcxx . . $ `sys/Prefs_copyToInstance.h:27:9`!(Klas,name,version,default) |
| 28 | #undef ClassPrefs_overrideIntcxx . . $ `sys/Prefs_install.h:29:9`! |
| 29 | #define ClassPrefs_overrideIntcxx . . $ `sys/Prefs_copyToInstance.h:29:9`!(Klas,name,version,default) |
| 30 | #undef InstancePrefs_addIntcxx . . $ `sys/Prefs_install.h:31:9`! |
| 31 | #define InstancePrefs_addIntcxx . . $ `sys/Prefs_copyToInstance.h:31:9`!(Klas,name,version,default) our _instancePref_##name = our _v_classPref2_##name(); |
| 32 | #undef InstancePrefs_overrideIntcxx . . $ `sys/Prefs_install.h:33:9`! |
| 33 | #define InstancePrefs_overrideIntcxx . . $ `sys/Prefs_copyToInstance.h:33:9`!(Klas,name,version,default) |
| 34 | |
| 35 | #undef ClassPrefs_addIntegercxx . . $ `sys/Prefs_install.h:36:9`! |
| 36 | #define ClassPrefs_addIntegercxx . . $ `sys/Prefs_copyToInstance.h:36:9`!(Klas,name,version,default) |
| 37 | #undef ClassPrefs_overrideIntegercxx . . $ `sys/Prefs_install.h:39:9`! |
| 38 | #define ClassPrefs_overrideIntegercxx . . $ `sys/Prefs_copyToInstance.h:38:9`!(Klas,name,version,default) |
| 39 | #undef InstancePrefs_addIntegercxx . . $ `sys/Prefs_install.h:41:9`! |
| 40 | #define InstancePrefs_addIntegercxx . . $ `sys/Prefs_copyToInstance.h:40:9`!(Klas,name,version,default) our _instancePref_##name = our _v_classPref2_##name(); |
| 41 | #undef InstancePrefs_overrideIntegercxx . . $ `sys/Prefs_install.h:43:9`! |
| 42 | #define InstancePrefs_overrideIntegercxx . . $ `sys/Prefs_copyToInstance.h:42:9`!(Klas,name,version,default) |
| 43 | |
| 44 | #undef ClassPrefs_addDoublecxx . . $ `sys/Prefs_install.h:46:9`! |
| 45 | #define ClassPrefs_addDoublecxx . . $ `sys/Prefs_copyToInstance.h:45:9`!(Klas,name,version,default) |
| 46 | #undef ClassPrefs_overrideDoublecxx . . $ `sys/Prefs_install.h:49:9`! |
| 47 | #define ClassPrefs_overrideDoublecxx . . $ `sys/Prefs_copyToInstance.h:47:9`!(Klas,name,version,default) |
| 48 | #undef InstancePrefs_addDoublecxx . . $ `sys/Prefs_install.h:51:9`! |
| 49 | #define InstancePrefs_addDoublecxx . . $ `sys/Prefs_copyToInstance.h:49:9`!(Klas,name,version,default) our _instancePref_##name = our _v_classPref2_##name(); |
| 50 | #undef InstancePrefs_overrideDoublecxx . . $ `sys/Prefs_install.h:53:9`! |
| 51 | #define InstancePrefs_overrideDoublecxx . . $ `sys/Prefs_copyToInstance.h:51:9`!(Klas,name,version,default) |
| 52 | |
| 53 | #undef ClassPrefs_addBoolcxx . . $ `sys/Prefs_install.h:56:9`! |
| 54 | #define ClassPrefs_addBoolcxx . . $ `sys/Prefs_copyToInstance.h:54:9`!(Klas,name,version,default) |
| 55 | #undef ClassPrefs_overrideBoolcxx . . $ `sys/Prefs_install.h:59:9`! |
| 56 | #define ClassPrefs_overrideBoolcxx . . $ `sys/Prefs_copyToInstance.h:56:9`!(Klas,name,version,default) |
| 57 | #undef InstancePrefs_addBoolcxx . . $ `sys/Prefs_install.h:61:9`! |
| 58 | #define InstancePrefs_addBoolcxx . . $ `sys/Prefs_copyToInstance.h:58:9`!(Klas,name,version,default) ourcxx . . $ `melder/melder.h:42:9`! _instancePref_##name = ourcxx . . $ `melder/melder.h:42:9`! _v_classPref2_##name(); |
| 59 | #undef InstancePrefs_overrideBoolcxx . . $ `sys/Prefs_install.h:63:9`! |
| 60 | #define InstancePrefs_overrideBoolcxx . . $ `sys/Prefs_copyToInstance.h:60:9`!(Klas,name,version,default) |
| 61 | |
| 62 | #undef ClassPrefs_addEnumcxx . . $ `sys/Prefs_install.h:66:9`! |
| 63 | #define ClassPrefs_addEnumcxx . . $ `sys/Prefs_copyToInstance.h:63:9`!(Klas,name,version,kEnumerated,default) |
| 64 | #undef ClassPrefs_overrideEnumcxx . . $ `sys/Prefs_install.h:69:9`! |
| 65 | #define ClassPrefs_overrideEnumcxx . . $ `sys/Prefs_copyToInstance.h:65:9`!(Klas,name,version,kEnumerated,default) |
| 66 | #undef InstancePrefs_addEnumcxx . . $ `sys/Prefs_install.h:71:9`! |
| 67 | #define InstancePrefs_addEnumcxx . . $ `sys/Prefs_copyToInstance.h:67:9`!(Klas,name,version,kEnumerated,default) our _instancePref_##name = our _v_classPref2_##name(); |
| 68 | #undef InstancePrefs_overrideEnumcxx . . $ `sys/Prefs_install.h:73:9`! |
| 69 | #define InstancePrefs_overrideEnumcxx . . $ `sys/Prefs_copyToInstance.h:69:9`!(Klas,name,version,kEnumerated,default) |
| 70 | |
| 71 | #undef ClassPrefs_addStringcxx . . $ `sys/Prefs_install.h:76:9`! |
| 72 | #define ClassPrefs_addStringcxx . . $ `sys/Prefs_copyToInstance.h:72:9`!(Klas,name,version,default) |
| 73 | #undef ClassPrefs_overrideStringcxx . . $ `sys/Prefs_install.h:79:9`! |
| 74 | #define ClassPrefs_overrideStringcxx . . $ `sys/Prefs_copyToInstance.h:74:9`!(Klas,name,version,default) |
| 75 | #undef InstancePrefs_addStringcxx . . $ `sys/Prefs_install.h:81:9`! |
| 76 | #define InstancePrefs_addStringcxx . . $ `sys/Prefs_copyToInstance.h:76:9`!(Klas,name,version,default) str32cpy (& our _instancePref_##name [0], our _v_classPref2_##name()); |
| 77 | #undef InstancePrefs_overrideStringcxx . . $ `sys/Prefs_install.h:83:9`! |
| 78 | #define InstancePrefs_overrideStringcxx . . $ `sys/Prefs_copyToInstance.h:78:9`!(Klas,name,version,default) |
| 79 | |
| 80 | #undef Prefs_endcxx . . $ `sys/Prefs_install.h:86:9`! |
| 81 | #define Prefs_endcxx . . $ `sys/Prefs_copyToInstance.h:81:9`!(Klas) \ |
| 82 | } |
| 83 | |
| 84 | /* End of file Prefs_copyToInstance.h */ |