added features header

-Yosh
This commit is contained in:
Manish Singh 1998-07-15 02:28:31 +00:00
parent fdb4b50f58
commit 30adcab214
11 changed files with 37 additions and 15 deletions

View File

@ -1,3 +1,13 @@
Tue Jul 14 19:22:46 PDT 1998 Manish Singh <yosh@gimp.org>
* acconfig.h
* configure.in
* app/about_dialog.c
* app/app_procs.c
* app/main.c
* libgimp/gimp.[ch]
* libgimp/gimpfeatures.h.in: added features header
Mon Jul 13 22:49:15 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: check for inline by ourselves if it's not

View File

@ -14,11 +14,6 @@
Leave the following blank line there!! Autoheader needs it. */
#undef GIMP_MAJOR_VERSION
#undef GIMP_MINOR_VERSION
#undef GIMP_MICRO_VERSION
#undef GIMP_VERSION
#undef HAVE_DIRENT_H
#undef HAVE_DOPRNT
#undef HAVE_IPC_H

View File

@ -18,7 +18,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <gtk/gtk.h>
#include "libgimp/gimpfeatures.h"
#include "about_dialog.h"
#include "interface.h"

View File

@ -24,6 +24,8 @@
#include <gtk/gtk.h>
#include "libgimp/gimpfeatures.h"
#include "appenv.h"
#include "app_procs.h"
#include "batch.h"

View File

@ -18,7 +18,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <gtk/gtk.h>
#include "libgimp/gimpfeatures.h"
#include "about_dialog.h"
#include "interface.h"

View File

@ -18,7 +18,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <gtk/gtk.h>
#include "libgimp/gimpfeatures.h"
#include "about_dialog.h"
#include "interface.h"

View File

@ -29,6 +29,8 @@
#define WAIT_ANY -1
#endif /* WAIT_ANY */
#include "libgimp/gimpfeatures.h"
#include "appenv.h"
#include "app_procs.h"
#include "errors.h"

View File

@ -49,11 +49,6 @@
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
#undef GIMP_MAJOR_VERSION
#undef GIMP_MINOR_VERSION
#undef GIMP_MICRO_VERSION
#undef GIMP_VERSION
#undef HAVE_DIRENT_H
#undef HAVE_DOPRNT
#undef HAVE_IPC_H

View File

@ -407,11 +407,6 @@ if test $ac_cv_path_LPC_COMMAND != ":"; then
LPC_DEF="-DLPC_COMMAND=\\\"$ac_cv_path_LPC_COMMAND\\\""
fi
AC_DEFINE_UNQUOTED(GIMP_MAJOR_VERSION, $GIMP_MAJOR_VERSION)
AC_DEFINE_UNQUOTED(GIMP_MINOR_VERSION, $GIMP_MINOR_VERSION)
AC_DEFINE_UNQUOTED(GIMP_MICRO_VERSION, $GIMP_MICRO_VERSION)
AC_DEFINE_UNQUOTED(GIMP_VERSION, "$GIMP_VERSION")
AC_SUBST(GIMP_MAJOR_VERSION)
AC_SUBST(GIMP_MINOR_VERSION)
AC_SUBST(GIMP_MICRO_VERSION)
@ -460,6 +455,7 @@ Makefile
gimprc
gimprc_user
gimptool
libgimp/gimpfeatures.h
libgimp/Makefile
plug-ins/Makefile
plug-ins/libgck/Makefile

View File

@ -60,6 +60,10 @@ int _writefd = 0;
int _shm_ID = -1;
guchar *_shm_addr = NULL;
const guint gimp_major_version = GIMP_MAJOR_VERSION;
const guint gimp_minor_version = GIMP_MINOR_VERSION;
const guint gimp_micro_version = GIMP_MICRO_VERSION;
static gdouble _gamma_val;
static gint _install_cmap;
static gint _use_xshm;

View File

@ -22,6 +22,7 @@
#include <glib.h>
#include <libgimp/gimpenums.h>
#include <libgimp/gimpfeatures.h>
#ifdef __cplusplus
@ -29,6 +30,11 @@ extern "C" {
#endif /* __cplusplus */
extern const guint gimp_major_version;
extern const guint gimp_minor_version;
extern const guint gimp_micro_version;
typedef struct _GPlugInInfo GPlugInInfo;
typedef struct _GTile GTile;
typedef struct _GDrawable GDrawable;