excluded gserialize.[ch] from the build

* libgimp/Makefile.am: excluded gserialize.[ch] from the build

* libgimp/*: header cleanup


--Sven
This commit is contained in:
Sven Neumann 2000-02-26 03:41:06 +00:00
parent 3cfa38dba2
commit 2d578df303
84 changed files with 597 additions and 366 deletions

View File

@ -1,3 +1,9 @@
Sat Feb 26 04:37:44 CET 2000 Sven Neumann <sven@gimp.org>
* libgimp/Makefile.am: excluded gserialize.[ch] from the build
* libgimp/*: header cleanup
2000-02-26 Michael Natterer <mitch@gimp.org> 2000-02-26 Michael Natterer <mitch@gimp.org>
* app/channels_dialog.c * app/channels_dialog.c

View File

@ -57,8 +57,6 @@ libgimpi_a_SOURCES = \
gimpwidgets.h \ gimpwidgets.h \
gimpwire.c \ gimpwire.c \
gimpwire.h \ gimpwire.h \
gserialize.c \
gserialize.h \
parasite.c \ parasite.c \
parasite.h \ parasite.h \
parasiteF.h \ parasiteF.h \
@ -103,8 +101,6 @@ libgimp_la_SOURCES = \
gimpvector.h \ gimpvector.h \
gimpwire.c \ gimpwire.c \
gimpwire.h \ gimpwire.h \
gserialize.c \
gserialize.h \
parasite.c \ parasite.c \
parasite.h \ parasite.h \
parasiteF.h \ parasiteF.h \
@ -162,7 +158,6 @@ gimpinclude_HEADERS = \
gimpvector.h \ gimpvector.h \
gimpwidgets.h \ gimpwidgets.h \
gimpintl.h \ gimpintl.h \
gserialize.h \
parasite.h \ parasite.h \
parasiteF.h \ parasiteF.h \
parasiteP.h \ parasiteP.h \

View File

@ -1,5 +1,5 @@
/* The GIMP -- an image manipulation program /* LIBGIMP - The GIMP Library
* Copyright (C) 1995 Spencer Kimball and Peter Mattis * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* Colour selector module (C) 1999 Austin Donnelly <austin@greenend.org.uk> * Colour selector module (C) 1999 Austin Donnelly <austin@greenend.org.uk>
* *

View File

@ -1,6 +1,9 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpchainbutton.c
* Copyright (C) 1999-2000 Sven Neumann <sven@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -1,6 +1,9 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpchainbutton.h
* Copyright (C) 1999-2000 Sven Neumann <sven@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
@ -17,11 +20,12 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
/* This implements a widget derived from gtk_button that visualizes /*
it's state with two different pixmaps showing a closed and a * This implements a widget derived from GtkTable that visualizes
broken chain. It's intented to be used with the gimpsizeentry * it's state with two different pixmaps showing a closed and a
widget. The usage is quite similar to the one the gtk_toggle_button * broken chain. It's intented to be used with the GimpSizeEntry
provides. * widget. The usage is quite similar to the one the GtkToggleButton
* provides.
*/ */
#ifndef __GIMP_CHAIN_BUTTON_H__ #ifndef __GIMP_CHAIN_BUTTON_H__
@ -56,7 +60,7 @@ typedef enum
struct _GimpChainButton struct _GimpChainButton
{ {
GtkTable table; GtkTable table;
GimpChainPosition position; GimpChainPosition position;
GtkWidget *button; GtkWidget *button;

View File

@ -1,7 +1,7 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* Gimp Color Button * gimpcolorbutton.c
* Copyright (C) 1999 Sven Neumann * Copyright (C) 1999 Sven Neumann
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -22,9 +22,10 @@
/* TODO: /* TODO:
* *
* handle bytes != 3|4 -- would we have to provide a special color select dialog * handle bytes != 3|4 -- would we have to provide a special color
* for that case? Another possibility could be to hide or * select dialog for that case? Another possibility
* destroy all color-related widgets in the gtk colorselector. * could be to hide or destroy all color-related
* widgets in the gtk colorselector.
*/ */
#include "config.h" #include "config.h"

View File

@ -1,7 +1,7 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* Gimp Color Button * gimpcolorbutton.h
* Copyright (C) 1999 Sven Neumann * Copyright (C) 1999 Sven Neumann
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or

View File

@ -1,5 +1,5 @@
/* The GIMP -- an image manipulation program /* LIBGIMP - The GIMP Library
* Copyright (C) 1995 Spencer Kimball and Peter Mattis * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* Colour selector module (C) 1999 Austin Donnelly <austin@greenend.org.uk> * Colour selector module (C) 1999 Austin Donnelly <austin@greenend.org.uk>
* *

View File

@ -1,4 +1,4 @@
/* /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -47,16 +47,6 @@ extern "C" {
#define gimp_image_freeze_undo gimp_image_undo_freeze #define gimp_image_freeze_undo gimp_image_undo_freeze
#define gimp_image_thaw_undo gimp_image_undo_thaw #define gimp_image_thaw_undo gimp_image_undo_thaw
/*
#define gimp_get_data gimp_procedural_db_get_data
#define gimp_get_data_size gimp_procedural_db_get_data_size
#define gimp_set_data(id, data, bytes) \
(gimp_procedural_db_set_data (id, bytes, data))
#define gimp_query_images gimp_image_list
*/
#endif /* GIMP_DISABLE_COMPAT_H */ #endif /* GIMP_DISABLE_COMPAT_H */
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -9,7 +9,7 @@
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details. * Library General Public License for more details.

View File

@ -27,6 +27,10 @@
#include "gimphelpui.h" #include "gimphelpui.h"
#include "gimpunit.h" #include "gimpunit.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
GtkWidget * gimp_dialog_new (const gchar *title, GtkWidget * gimp_dialog_new (const gchar *title,
const gchar *wmclass_name, const gchar *wmclass_name,
GimpHelpFunc help_func, GimpHelpFunc help_func,
@ -79,4 +83,24 @@ void gimp_dialog_create_action_area (GtkDialog *dialog,
void gimp_dialog_create_action_areav (GtkDialog *dialog, void gimp_dialog_create_action_areav (GtkDialog *dialog,
va_list args); va_list args);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __GIMP_DIALOG_H__ */ #endif /* __GIMP_DIALOG_H__ */

View File

@ -1,4 +1,7 @@
/* gimpenv.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* gimpenv.h
* *
* Copyright (C) 1999 Tor Lillqvist <tml@iki.fi> * Copyright (C) 1999 Tor Lillqvist <tml@iki.fi>
* *

View File

@ -1,6 +1,9 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpexport.c
* Copyright (C) 1999-2000 Sven Neumann <sven@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -1,6 +1,9 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1999 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1999 Peter Mattis and Spencer Kimball
* *
* gimpexport.h
* Copyright (C) 1999-2000 Sven Neumann <sven@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -21,7 +21,7 @@
*/ */
#include "config.h" #include "config.h"
#include <glib.h> /* Needed here by Win32 gcc compilation */ #include <glib.h> /* Needed here by Win32 gcc compilation */
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -24,8 +24,11 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
typedef void (* GimpHelpFunc) (gchar *help_data); #ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef void (* GimpHelpFunc) (gchar *help_data);
void gimp_help_init (void); void gimp_help_init (void);
void gimp_help_free (void); void gimp_help_free (void);
@ -49,4 +52,13 @@ void gimp_help_set_help_data (GtkWidget *widget,
/* activate the context help inspector */ /* activate the context help inspector */
void gimp_context_help (void); void gimp_context_help (void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __GIMP_HELP_UI_H__ */ #endif /* __GIMP_HELP_UI_H__ */

View File

@ -1,4 +1,7 @@
/* gimpmath.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* gimpmath.h
* *
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *

View File

@ -1,4 +1,7 @@
/* gimpmatrix.c /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* gimpmatrix.c
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or

View File

@ -1,4 +1,7 @@
/* gimpmatrix.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* gimpmatrix.h
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or

View File

@ -1,5 +1,5 @@
/* The GIMP -- an image manipulation program /* LIBGIMP - The GIMP Library
* Copyright (C) 1995 Spencer Kimball and Peter Mattis * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpmodule.h (C) 1999 Austin Donnelly <austin@greenend.org.uk> * gimpmodule.h (C) 1999 Austin Donnelly <austin@greenend.org.uk>
* *

View File

@ -1,4 +1,7 @@
/* parasite.c /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasite.c
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or

View File

@ -1,4 +1,7 @@
/* parasite.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasite.h
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -17,8 +20,8 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef _PARASITE_H_ #ifndef __PARASITE_H__
#define _PARASITE_H_ #define __PARASITE_H__
#include <glib.h> #include <glib.h>
#include <stdio.h> #include <stdio.h>
@ -68,4 +71,4 @@ glong parasite_data_size (const Parasite *p);
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* _PARASITE_H_ */ #endif /* __PARASITE_H__ */

View File

@ -1,4 +1,7 @@
/* parasiteF.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasiteF.h
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -17,9 +20,9 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef _PARASITEF_H_ #ifndef __PARASITEF_H__
#define _PARASITEF_H_ #define __PARASITEF_H__
typedef struct _Parasite Parasite; typedef struct _Parasite Parasite;
#endif /* _PARASITEF_H_ */ #endif /* __PARASITEF_H__ */

View File

@ -1,4 +1,7 @@
/* parasiteP.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasiteP.h
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -17,11 +20,15 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef _PARASITEP_H_ #ifndef __PARASITEP_H__
#define _PARASITEP_H_ #define __PARASITEP_H__
#include <glib.h> #include <glib.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
struct _Parasite struct _Parasite
{ {
char *name; /* The name of the parasite. USE A UNIQUE PREFIX! */ char *name; /* The name of the parasite. USE A UNIQUE PREFIX! */
@ -31,4 +38,8 @@ struct _Parasite
* responsible for tracking byte order */ * responsible for tracking byte order */
}; };
#endif /* _PARASITEP_H_ */ #ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __PARASITEP_H__ */

View File

@ -1,3 +1,24 @@
/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasite.c
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include "gimp.h" #include "gimp.h"
Parasite * Parasite *

View File

@ -1,5 +1,5 @@
/* Functions for bulding and parsing string representations of /* LIBGIMP - The GIMP Library
* various standard parasite types. * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* Copyright (C) 1999 Tor Lillqvist <tml@iki.fi> * Copyright (C) 1999 Tor Lillqvist <tml@iki.fi>
* *
@ -19,6 +19,11 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
/*
* Functions for bulding and parsing string representations of
* various standard parasite types.
*/
#include "config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>

View File

@ -1,4 +1,7 @@
/* parasite.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasiteio.h
* Copyright (C) 1999 Tor Lillqvist <tml@iki.fi> * Copyright (C) 1999 Tor Lillqvist <tml@iki.fi>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -17,8 +20,12 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef _PARASITEIO_H_ #ifndef __PARASITEIO_H__
#define _PARASITEIO_H_ #define __PARASITEIO_H__
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* Data structures for various standard parasites used by plug-ins and /* Data structures for various standard parasites used by plug-ins and
* the GIMP core, and functions to build and parse their string * the GIMP core, and functions to build and parse their string
@ -61,4 +68,4 @@ gchar *pixpipeparams_build (PixPipeParams *params);
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* _PARASITEIO_H_ */ #endif /* __PARASITEIO_H__ */

View File

@ -1,6 +1,9 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpquerybox.c
* Copyright (C) 1999-2000 Michael Natterer <mitch@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -1,6 +1,9 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpquerybox.h
* Copyright (C) 1999-2000 Michael Natterer <mitch@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -1,6 +1,10 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpsizeentry.c
* Copyright (C) 1999-2000 Sven Neumann <sven@gimp.org>
* Michael Natterer <mitch@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -1,6 +1,10 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpsizeentry.h
* Copyright (C) 1999-2000 Sven Neumann <sven@gimp.org>
* Michael Natterer <mitch@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -2,7 +2,7 @@
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpunit.c * gimpunit.c
* Copyright (C) 1999 Michael Natterer <mitschel@cs.tu-berlin.de> * Copyright (C) 1999 Michael Natterer <mitch@gimp.org>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -2,7 +2,7 @@
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpunit.c * gimpunit.c
* Copyright (C) 1999 Michael Natterer <mitschel@cs.tu-berlin.de> * Copyright (C) 1999 Michael Natterer <mitch@gimp.org>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -2,7 +2,7 @@
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpunit.c * gimpunit.c
* Copyright (C) 1999 Michael Natterer <mitschel@cs.tu-berlin.de> * Copyright (C) 1999 Michael Natterer <mitch@gimp.org>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -2,12 +2,12 @@
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpunitmenu.h * gimpunitmenu.h
* Copyright (C) 1999 Michael Natterer <mitschel@cs.tu-berlin.de> * Copyright (C) 1999 Michael Natterer <mitch@gimp.org>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of

View File

@ -1,4 +1,7 @@
/* parasite.c /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasite.c
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or

View File

@ -1,4 +1,7 @@
/* parasite.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasite.h
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -17,8 +20,8 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef _PARASITE_H_ #ifndef __PARASITE_H__
#define _PARASITE_H_ #define __PARASITE_H__
#include <glib.h> #include <glib.h>
#include <stdio.h> #include <stdio.h>
@ -68,4 +71,4 @@ glong parasite_data_size (const Parasite *p);
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* _PARASITE_H_ */ #endif /* __PARASITE_H__ */

View File

@ -1,4 +1,7 @@
/* parasiteF.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasiteF.h
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -17,9 +20,9 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef _PARASITEF_H_ #ifndef __PARASITEF_H__
#define _PARASITEF_H_ #define __PARASITEF_H__
typedef struct _Parasite Parasite; typedef struct _Parasite Parasite;
#endif /* _PARASITEF_H_ */ #endif /* __PARASITEF_H__ */

View File

@ -1,4 +1,7 @@
/* parasiteP.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasiteP.h
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -17,11 +20,15 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef _PARASITEP_H_ #ifndef __PARASITEP_H__
#define _PARASITEP_H_ #define __PARASITEP_H__
#include <glib.h> #include <glib.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
struct _Parasite struct _Parasite
{ {
char *name; /* The name of the parasite. USE A UNIQUE PREFIX! */ char *name; /* The name of the parasite. USE A UNIQUE PREFIX! */
@ -31,4 +38,8 @@ struct _Parasite
* responsible for tracking byte order */ * responsible for tracking byte order */
}; };
#endif /* _PARASITEP_H_ */ #ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __PARASITEP_H__ */

View File

@ -1,5 +1,5 @@
/* Functions for bulding and parsing string representations of /* LIBGIMP - The GIMP Library
* various standard parasite types. * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* Copyright (C) 1999 Tor Lillqvist <tml@iki.fi> * Copyright (C) 1999 Tor Lillqvist <tml@iki.fi>
* *
@ -19,6 +19,11 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
/*
* Functions for bulding and parsing string representations of
* various standard parasite types.
*/
#include "config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>

View File

@ -1,4 +1,7 @@
/* parasite.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasiteio.h
* Copyright (C) 1999 Tor Lillqvist <tml@iki.fi> * Copyright (C) 1999 Tor Lillqvist <tml@iki.fi>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -17,8 +20,12 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef _PARASITEIO_H_ #ifndef __PARASITEIO_H__
#define _PARASITEIO_H_ #define __PARASITEIO_H__
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* Data structures for various standard parasites used by plug-ins and /* Data structures for various standard parasites used by plug-ins and
* the GIMP core, and functions to build and parse their string * the GIMP core, and functions to build and parse their string
@ -61,4 +68,4 @@ gchar *pixpipeparams_build (PixPipeParams *params);
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* _PARASITEIO_H_ */ #endif /* __PARASITEIO_H__ */

View File

@ -1,7 +1,7 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* libgimp-intl.h * stdplugins-intl.h
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -1,4 +1,7 @@
/* gimpenv.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* gimpenv.h
* *
* Copyright (C) 1999 Tor Lillqvist <tml@iki.fi> * Copyright (C) 1999 Tor Lillqvist <tml@iki.fi>
* *

View File

@ -1,4 +1,7 @@
/* parasite.c /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasite.c
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or

View File

@ -1,4 +1,7 @@
/* parasite.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasite.h
* Copyright (C) 1998 Jay Cox <jaycox@earthlink.net> * Copyright (C) 1998 Jay Cox <jaycox@earthlink.net>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -17,8 +20,8 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef _PARASITE_H_ #ifndef __PARASITE_H__
#define _PARASITE_H_ #define __PARASITE_H__
#include <glib.h> #include <glib.h>
#include <stdio.h> #include <stdio.h>
@ -68,4 +71,4 @@ glong parasite_data_size (const Parasite *p);
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* _PARASITE_H_ */ #endif /* __PARASITE_H__ */

View File

@ -1,5 +1,5 @@
/* Functions for bulding and parsing string representations of /* LIBGIMP - The GIMP Library
* various standard parasite types. * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* Copyright (C) 1999 Tor Lillqvist <tml@iki.fi> * Copyright (C) 1999 Tor Lillqvist <tml@iki.fi>
* *
@ -19,6 +19,11 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
/*
* Functions for bulding and parsing string representations of
* various standard parasite types.
*/
#include "config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>

View File

@ -1,4 +1,7 @@
/* parasite.h /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* parasiteio.h
* Copyright (C) 1999 Tor Lillqvist <tml@iki.fi> * Copyright (C) 1999 Tor Lillqvist <tml@iki.fi>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -17,8 +20,12 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef _PARASITEIO_H_ #ifndef __PARASITEIO_H__
#define _PARASITEIO_H_ #define __PARASITEIO_H__
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* Data structures for various standard parasites used by plug-ins and /* Data structures for various standard parasites used by plug-ins and
* the GIMP core, and functions to build and parse their string * the GIMP core, and functions to build and parse their string
@ -61,4 +68,4 @@ gchar *pixpipeparams_build (PixPipeParams *params);
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* _PARASITEIO_H_ */ #endif /* __PARASITEIO_H__ */

View File

@ -1,6 +1,9 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpchainbutton.c
* Copyright (C) 1999-2000 Sven Neumann <sven@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -1,6 +1,9 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpchainbutton.h
* Copyright (C) 1999-2000 Sven Neumann <sven@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
@ -17,11 +20,12 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
/* This implements a widget derived from gtk_button that visualizes /*
it's state with two different pixmaps showing a closed and a * This implements a widget derived from GtkTable that visualizes
broken chain. It's intented to be used with the gimpsizeentry * it's state with two different pixmaps showing a closed and a
widget. The usage is quite similar to the one the gtk_toggle_button * broken chain. It's intented to be used with the GimpSizeEntry
provides. * widget. The usage is quite similar to the one the GtkToggleButton
* provides.
*/ */
#ifndef __GIMP_CHAIN_BUTTON_H__ #ifndef __GIMP_CHAIN_BUTTON_H__
@ -56,7 +60,7 @@ typedef enum
struct _GimpChainButton struct _GimpChainButton
{ {
GtkTable table; GtkTable table;
GimpChainPosition position; GimpChainPosition position;
GtkWidget *button; GtkWidget *button;

View File

@ -1,7 +1,7 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* Gimp Color Button * gimpcolorbutton.c
* Copyright (C) 1999 Sven Neumann * Copyright (C) 1999 Sven Neumann
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -22,9 +22,10 @@
/* TODO: /* TODO:
* *
* handle bytes != 3|4 -- would we have to provide a special color select dialog * handle bytes != 3|4 -- would we have to provide a special color
* for that case? Another possibility could be to hide or * select dialog for that case? Another possibility
* destroy all color-related widgets in the gtk colorselector. * could be to hide or destroy all color-related
* widgets in the gtk colorselector.
*/ */
#include "config.h" #include "config.h"

View File

@ -1,7 +1,7 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* Gimp Color Button * gimpcolorbutton.h
* Copyright (C) 1999 Sven Neumann * Copyright (C) 1999 Sven Neumann
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or

View File

@ -9,7 +9,7 @@
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details. * Library General Public License for more details.

View File

@ -27,6 +27,10 @@
#include "gimphelpui.h" #include "gimphelpui.h"
#include "gimpunit.h" #include "gimpunit.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
GtkWidget * gimp_dialog_new (const gchar *title, GtkWidget * gimp_dialog_new (const gchar *title,
const gchar *wmclass_name, const gchar *wmclass_name,
GimpHelpFunc help_func, GimpHelpFunc help_func,
@ -79,4 +83,24 @@ void gimp_dialog_create_action_area (GtkDialog *dialog,
void gimp_dialog_create_action_areav (GtkDialog *dialog, void gimp_dialog_create_action_areav (GtkDialog *dialog,
va_list args); va_list args);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __GIMP_DIALOG_H__ */ #endif /* __GIMP_DIALOG_H__ */

View File

@ -21,7 +21,7 @@
*/ */
#include "config.h" #include "config.h"
#include <glib.h> /* Needed here by Win32 gcc compilation */ #include <glib.h> /* Needed here by Win32 gcc compilation */
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -21,7 +21,7 @@
*/ */
#include "config.h" #include "config.h"
#include <glib.h> /* Needed here by Win32 gcc compilation */ #include <glib.h> /* Needed here by Win32 gcc compilation */
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -24,8 +24,11 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
typedef void (* GimpHelpFunc) (gchar *help_data); #ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef void (* GimpHelpFunc) (gchar *help_data);
void gimp_help_init (void); void gimp_help_init (void);
void gimp_help_free (void); void gimp_help_free (void);
@ -49,4 +52,13 @@ void gimp_help_set_help_data (GtkWidget *widget,
/* activate the context help inspector */ /* activate the context help inspector */
void gimp_context_help (void); void gimp_context_help (void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __GIMP_HELP_UI_H__ */ #endif /* __GIMP_HELP_UI_H__ */

View File

@ -1,6 +1,9 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpquerybox.c
* Copyright (C) 1999-2000 Michael Natterer <mitch@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -1,6 +1,9 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpquerybox.h
* Copyright (C) 1999-2000 Michael Natterer <mitch@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -1,6 +1,10 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpsizeentry.c
* Copyright (C) 1999-2000 Sven Neumann <sven@gimp.org>
* Michael Natterer <mitch@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -1,6 +1,10 @@
/* LIBGIMP - The GIMP Library /* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpsizeentry.h
* Copyright (C) 1999-2000 Sven Neumann <sven@gimp.org>
* Michael Natterer <mitch@gimp.org>
*
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either

View File

@ -2,12 +2,12 @@
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
* *
* gimpunitmenu.h * gimpunitmenu.h
* Copyright (C) 1999 Michael Natterer <mitschel@cs.tu-berlin.de> * Copyright (C) 1999 Michael Natterer <mitch@gimp.org>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version. * version 2 of the License, or (at your option) any later version
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of