mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
e1ceed5147
2006-01-18 Michael Natterer <mitch@gimp.org> * app/config/config-types.c: define GIMP_PARAM_STATIC_STRINGS which is G_PARAM_STATIC_NAME|NICK|BLURB. Also define GIMP_PARAM_READABLE, _WRITABLE and _READWRITE which include GIMP_PARAM_STATIC_STRINGS. * app/*/*.c: use them for all object properties so their strings are not copied.
58 lines
2.1 KiB
C
58 lines
2.1 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* GimpConfig typedefs
|
|
* Copyright (C) 2001-2002 Sven Neumann <sven@gimp.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __CONFIG_TYPES_H__
|
|
#define __CONFIG_TYPES_H__
|
|
|
|
|
|
#include "libgimpconfig/gimpconfigtypes.h"
|
|
|
|
|
|
#define GIMP_PARAM_STATIC_STRINGS (G_PARAM_STATIC_NAME | \
|
|
G_PARAM_STATIC_NICK | \
|
|
G_PARAM_STATIC_BLURB)
|
|
#define GIMP_PARAM_READABLE (G_PARAM_READABLE | \
|
|
GIMP_PARAM_STATIC_STRINGS)
|
|
#define GIMP_PARAM_WRITABLE (G_PARAM_WRITABLE | \
|
|
GIMP_PARAM_STATIC_STRINGS)
|
|
#define GIMP_PARAM_READWRITE (G_PARAM_READWRITE | \
|
|
GIMP_PARAM_STATIC_STRINGS)
|
|
|
|
|
|
typedef struct _GimpBaseConfig GimpBaseConfig;
|
|
typedef struct _GimpCoreConfig GimpCoreConfig;
|
|
typedef struct _GimpDisplayConfig GimpDisplayConfig;
|
|
typedef struct _GimpGuiConfig GimpGuiConfig;
|
|
typedef struct _GimpPluginConfig GimpPluginConfig;
|
|
typedef struct _GimpRc GimpRc;
|
|
|
|
typedef struct _GimpXmlParser GimpXmlParser;
|
|
|
|
/* should be in display/display-types.h */
|
|
typedef struct _GimpDisplayOptions GimpDisplayOptions;
|
|
|
|
/* should be in core/core-types.h */
|
|
typedef struct _GimpGrid GimpGrid;
|
|
typedef struct _GimpTemplate GimpTemplate;
|
|
|
|
|
|
#endif /* __CONFIG_TYPES_H__ */
|