|
Packit Service |
2781ba |
/* This file is part of GEGL editor -- a gtk frontend for GEGL
|
|
Packit Service |
2781ba |
*
|
|
Packit Service |
2781ba |
* This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
2781ba |
* it under the terms of the GNU General Public License as published by
|
|
Packit Service |
2781ba |
* the Free Software Foundation; either version 3 of the License, or
|
|
Packit Service |
2781ba |
* (at your option) any later version.
|
|
Packit Service |
2781ba |
*
|
|
Packit Service |
2781ba |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
2781ba |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
2781ba |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
2781ba |
* GNU General Public License for more details.
|
|
Packit Service |
2781ba |
*
|
|
Packit Service |
2781ba |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
2781ba |
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
2781ba |
*
|
|
Packit Service |
2781ba |
* Copyright (C) 2003, 2004, 2006 Øyvind Kolås
|
|
Packit Service |
2781ba |
*/
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
#ifndef GEGL_OPTIONS
|
|
Packit Service |
2781ba |
#define GEGL_OPTIONS
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
#include <glib.h>
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
typedef enum
|
|
Packit Service |
2781ba |
{
|
|
Packit Service |
2781ba |
GEGL_RUN_MODE_HELP,
|
|
Packit Service |
2781ba |
GEGL_RUN_MODE_DISPLAY,
|
|
Packit Service |
2781ba |
GEGL_RUN_MODE_OUTPUT,
|
|
Packit Service |
2781ba |
GEGL_RUN_MODE_XML
|
|
Packit Service |
2781ba |
} GeglRunMode;
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
typedef struct _GeglOptions GeglOptions;
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
struct _GeglOptions
|
|
Packit Service |
2781ba |
{
|
|
Packit Service |
2781ba |
GeglRunMode mode;
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
const gchar *file;
|
|
Packit Service |
2781ba |
const gchar *xml;
|
|
Packit Service |
2781ba |
const gchar *output;
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
GList *files;
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
gchar **rest;
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
gboolean verbose;
|
|
Packit Service |
2781ba |
gboolean fatal_warnings;
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
gboolean play;
|
|
Packit Service |
2781ba |
};
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
GeglOptions *gegl_options_parse (gint argc,
|
|
Packit Service |
2781ba |
gchar **argv);
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
/* used to let the file member traverse the files list back and forth */
|
|
Packit Service |
2781ba |
gboolean gegl_options_next_file (GeglOptions *o);
|
|
Packit Service |
2781ba |
gboolean gegl_options_previous_file (GeglOptions *o);
|
|
Packit Service |
2781ba |
|
|
Packit Service |
2781ba |
#endif
|