| 1 | /* site.cpp |
| 2 | * |
| 3 | * Copyright (C) 1992-2011,2015,2016,2018,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 "Preferences.h"cxx . . $ `<file>/sys/Preferences.h`/ |
| 20 | #include <string.h> |
| 21 | #include "site.h"cxx . . $ `<file>/sys/site.h`/ |
| 22 | |
| 23 | static PrefsStringcxx . . $ PrefsString# printCommandcxx . . $ printCommand.; |
| 24 | |
| 25 | char32cxx . . $ char32# * Site_getPrintCommandcxx . . $ Site_getPrintCommand(7f2d784185c6d30e). () { return printCommandcxx . . $ printCommand.; } |
| 26 | |
| 27 | void Site_setPrintCommandcxx . . $ Site_setPrintCommand(ff00d524ab0355ec). (conststring32cxx . . $ conststring32# text) { Pref_copyStringcxx . . $ Pref_copyString(6c508d93c435be80). (text, printCommandcxx . . $ printCommand.); } |
| 28 | |
| 29 | void Site_prefscxx . . $ Site_prefs(49f6e7a06ebc5aa8). () { |
| 30 | Preferences_addStringcxx . . $ Preferences_addString(ff8f0bc01bc68d7b). (U"Site.printCommand", printCommandcxx . . $ printCommand., U"lp -c %s"); |
| 31 | } |
| 32 | |
| 33 | /* End of file site.cpp */ |
| 34 |