gimp r25963 - in branches/soc-2008-tagging: . app/core
- From: aurisj svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25963 - in branches/soc-2008-tagging: . app/core
- Date: Tue, 17 Jun 2008 20:31:51 +0000 (UTC)
Author: aurisj
Date: Tue Jun 17 20:31:51 2008
New Revision: 25963
URL: http://svn.gnome.org/viewvc/gimp?rev=25963&view=rev
Log:
* app/core/Makefile.am
* app/core/core-types.h
* app/core/gimp.c
* app/core/gimp.h: integrated GimpTagCache.
* app/core/gimptagcache.c
* app/core/gimptagcache.h: added GimpTagCache which currently doesn't
have any real functionality.
Added:
branches/soc-2008-tagging/app/core/gimptagcache.h
Modified:
branches/soc-2008-tagging/ChangeLog
branches/soc-2008-tagging/app/core/gimp.h
Modified: branches/soc-2008-tagging/app/core/gimp.h
==============================================================================
--- branches/soc-2008-tagging/app/core/gimp.h (original)
+++ branches/soc-2008-tagging/app/core/gimp.h Tue Jun 17 20:31:51 2008
@@ -93,6 +93,8 @@
GimpDataFactory *gradient_factory;
GimpDataFactory *palette_factory;
+ GimpTagCache *tag_cache;
+
GimpPDB *pdb;
GimpContainer *tool_info_list;
Added: branches/soc-2008-tagging/app/core/gimptagcache.h
==============================================================================
--- (empty file)
+++ branches/soc-2008-tagging/app/core/gimptagcache.h Tue Jun 17 20:31:51 2008
@@ -0,0 +1,60 @@
+/* GIMP - The GNU Image Manipulation Program
+ * Copyright (C) 1995 Spencer Kimball and Peter Mattis
+ *
+ * gimptagcache.h
+ * Copyright (C) 2008 Aurimas JuÅka <aurisj svn gnome 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 __GIMP_TAG_CACHE_H__
+#define __GIMP_TAG_CACHE_H__
+
+
+#include "gimpobject.h"
+#include "gimptagged.h"
+
+#define GIMP_TYPE_TAG_CACHE (gimp_tag_cache_get_type ())
+#define GIMP_TAG_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_TAG_CACHE, GimpTagCache))
+#define GIMP_TAG_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_TAG_CACHE, GimpTagCacheClass))
+#define GIMP_IS_TAG_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_TAG_CACHE))
+#define GIMP_IS_TAG_CACHE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_TAG_CACHE))
+#define GIMP_TAG_CACHE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_TAG_CACHE, GimpTagCacheClass))
+
+
+typedef struct _GimpTagCacheClass GimpTagCacheClass;
+
+struct _GimpTagCache
+{
+ GimpObject parent_instance;
+
+ Gimp *gimp;
+};
+
+struct _GimpTagCacheClass
+{
+ GimpObjectClass parent_class;
+};
+
+
+GType gimp_tag_cache_get_type (void) G_GNUC_CONST;
+
+GimpTagCache * gimp_tag_cache_new (Gimp *gimp);
+
+void gimp_tag_cache_update (GimpTaggedInterface *tagged,
+ GimpTagCache *cache);
+
+
+#endif /* __GIMP_TAG_CACHE_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]