[gegl] Install gegl-cpuaccel.h



commit 2611fb840439244dce7e1974150860f44848a4b5
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Sun Apr 7 23:43:30 2013 -0700

    Install gegl-cpuaccel.h
    
    Install gegl-cpuaccel.h so it can be used by external operations.

 gegl/Makefile.am          |    4 ++--
 gegl/gegl-cpuaccel-priv.h |   33 +++++++++++++++++++++++++++++++++
 gegl/gegl-cpuaccel.c      |    2 +-
 gegl/gegl-cpuaccel.h      |    4 ----
 4 files changed, 36 insertions(+), 7 deletions(-)
---
diff --git a/gegl/Makefile.am b/gegl/Makefile.am
index 83aa1ce..2f7d787 100644
--- a/gegl/Makefile.am
+++ b/gegl/Makefile.am
@@ -60,8 +60,8 @@ GEGL_introspectable_headers = \
 GEGL_public_HEADERS = \
        $(GEGL_introspectable_headers) \
     gegl-plugin.h                      \
-    gegl-chant.h
-
+    gegl-chant.h      \
+    gegl-cpuaccel.h
 
 GEGL_introspectable_sources = \
        gegl-c.c                        \
diff --git a/gegl/gegl-cpuaccel-priv.h b/gegl/gegl-cpuaccel-priv.h
new file mode 100644
index 0000000..26cc215
--- /dev/null
+++ b/gegl/gegl-cpuaccel-priv.h
@@ -0,0 +1,33 @@
+/* LIBGEGL - The GEGL Library
+ * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
+ *
+ * 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
+ * Library 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., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef __GEGL_CPU_ACCEL_PRIV_H__
+#define __GEGL_CPU_ACCEL_PRIV_H__
+
+G_BEGIN_DECLS
+
+#include "gegl-cpuaccel.h"
+
+/* for internal use only */
+void               gegl_cpu_accel_set_use     (gboolean use);
+
+
+G_END_DECLS
+
+#endif  /* __GEGL_CPU_ACCEL_PRIV_H__ */
diff --git a/gegl/gegl-cpuaccel.c b/gegl/gegl-cpuaccel.c
index d1af1b5..bec1621 100644
--- a/gegl/gegl-cpuaccel.c
+++ b/gegl/gegl-cpuaccel.c
@@ -36,7 +36,7 @@
 
 #include <glib.h>
 
-#include "gegl-cpuaccel.h"
+#include "gegl-cpuaccel-priv.h"
 
 
 static GeglCpuAccelFlags  cpu_accel (void) G_GNUC_CONST;
diff --git a/gegl/gegl-cpuaccel.h b/gegl/gegl-cpuaccel.h
index e601e95..66b7163 100644
--- a/gegl/gegl-cpuaccel.h
+++ b/gegl/gegl-cpuaccel.h
@@ -43,10 +43,6 @@ typedef enum
 GeglCpuAccelFlags  gegl_cpu_accel_get_support (void);
 
 
-/* for internal use only */
-void               gegl_cpu_accel_set_use     (gboolean use);
-
-
 G_END_DECLS
 
 #endif  /* __GEGL_CPU_ACCEL_H__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]