Commit 30adcab2 authored by Manish Singh's avatar Manish Singh

added features header

-Yosh
parent fdb4b50f
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
......
......@@ -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
......
......@@ -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"
......
......@@ -24,6 +24,8 @@
#include <gtk/gtk.h>
#include "libgimp/gimpfeatures.h"
#include "appenv.h"
#include "app_procs.h"
#include "batch.h"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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
......
......@@ -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
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment