summaryrefslogtreecommitdiff
path: root/tumbler/tumbler-thumbnailer.h
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2009-05-21 13:31:29 +0200
committerJannis Pohlmann <jannis@xfce.org>2009-05-21 13:31:29 +0200
commit28e782dfe7df25e2e41a319d44c32a61644ae44e (patch)
tree630e0896a9c6c75dfa9dcbc013df091b7df4979a /tumbler/tumbler-thumbnailer.h
parent233d958a6630d4972fdd2c24c72bab6b9a7b5d01 (diff)
downloadtumbler-28e782dfe7df25e2e41a319d44c32a61644ae44e.tar.gz
Add tumbler utility library, rename the service to tumblerd.
There's a library called tumbler (or tumbler-1) now which provides utility classes and functions for writing specialized thumbnailers. The libary is LGPL while the D-Bus service itself is GPL. The tumbler service was renamed to tumblerd and the marshallers were moved into the library.
Diffstat (limited to 'tumbler/tumbler-thumbnailer.h')
-rw-r--r--tumbler/tumbler-thumbnailer.h70
1 files changed, 0 insertions, 70 deletions
diff --git a/tumbler/tumbler-thumbnailer.h b/tumbler/tumbler-thumbnailer.h
deleted file mode 100644
index 76158fa..0000000
--- a/tumbler/tumbler-thumbnailer.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/* vi:set et ai sw=2 sts=2 ts=2: */
-/*-
- * Copyright (c) 2009 Jannis Pohlmann <jannis@xfce.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., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef __TUMBLER_THUMBNAILER_H__
-#define __TUMBLER_THUMBNAILER_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-#define TUMBLER_TYPE_THUMBNAILER (tumbler_thumbnailer_get_type ())
-#define TUMBLER_THUMBNAILER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TUMBLER_TYPE_THUMBNAILER, TumblerThumbnailer))
-#define TUMBLER_IS_THUMBNAILER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TUMBLER_TYPE_THUMBNAILER))
-#define TUMBLER_THUMBNAILER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TUMBLER_TYPE_THUMBNAILER, TumblerThumbnailerIface))
-
-typedef struct _TumblerThumbnailer TumblerThumbnailer;
-typedef struct _TumblerThumbnailerIface TumblerThumbnailerIface;
-
-struct _TumblerThumbnailerIface
-{
- GTypeInterface __parent__;
-
- /* signals */
- void (*ready) (TumblerThumbnailer *thumbnailer,
- const gchar *uri);
- void (*error) (TumblerThumbnailer *thumbnailer,
- const gchar *failed_uri,
- gint error_code,
- const gchar *message);
- void (*unregister) (TumblerThumbnailer *thumbnailer);
-
- /* virtual methods */
- void (*create) (TumblerThumbnailer *thumbnailer,
- const gchar *uri,
- const gchar *mime_hint);
-};
-
-GType tumbler_thumbnailer_get_type (void) G_GNUC_CONST;
-
-void tumbler_thumbnailer_create (TumblerThumbnailer *thumbnailer,
- const gchar *uri,
- const gchar *mime_hint);
-
-GStrv tumbler_thumbnailer_get_hash_keys (TumblerThumbnailer *thumbnailer);
-GStrv tumbler_thumbnailer_get_mime_types (TumblerThumbnailer *thumbnailer);
-GStrv tumbler_thumbnailer_get_uri_schemes (TumblerThumbnailer *thumbnailer);
-
-TumblerThumbnailer **tumbler_thumbnailer_array_copy (TumblerThumbnailer **thumbnailers);
-void tumbler_thumbnailer_array_free (TumblerThumbnailer **thumbnailers);
-
-G_END_DECLS
-
-#endif /* !__TUMBLER_THUMBNAILER_H__ */