| 1 | /* |
| 2 | * |
| 3 | * Print plug-in for the GIMP. |
| 4 | * |
| 5 | * Copyright 1997-2000 Michael Sweet ([email protected]) and |
| 6 | * Robert Krawitz ([email protected]) |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify it |
| 9 | * under the terms of the GNU General Public License as published by the Free |
| 10 | * Software Foundation; either version 2 of the License, or (at your option) |
| 11 | * any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, but |
| 14 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 15 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 16 | * for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 20 | */ |
| 21 | |
| 22 | #ifdef HAVE_CONFIG_H |
| 23 | #include <config.h> |
| 24 | #endif |
| 25 | |
| 26 | #include <gutenprintui2/gutenprintui.h> |
| 27 | #include "print_gimp.h" |
| 28 | |
| 29 | #include "print-intl.h" |
| 30 | |
| 31 | void |
| 32 | do_gimp_install_procedure(const char *blurb, const char *help, |
| 33 | const char *auth, const char *copy, |
| 34 | const char *types, int n_args, |
| 35 | GimpParamDef *args) |
| 36 | { |
| 37 | gimp_install_procedure ((BAD_CONST_CHAR) "file_print_gimp", |
| 38 | (BAD_CONST_CHAR) blurb, |
| 39 | (BAD_CONST_CHAR) help, |
| 40 | (BAD_CONST_CHAR) auth, |
| 41 | (BAD_CONST_CHAR) copy, |
| 42 | (BAD_CONST_CHAR) VERSION " - " RELEASE_DATE, |
| 43 | /* Do not translate the prefix "<Image>" */ |
| 44 | (BAD_CONST_CHAR) N_("<Image>/File/Print..."), |
| 45 | (BAD_CONST_CHAR) types, |
| 46 | GIMP_PLUGIN, |
| 47 | n_args, 0, |
| 48 | args, NULL); |
| 49 | } |