summaryrefslogtreecommitdiff
path: root/plugins/desktop-thumbnailer/desktop-thumbnailer.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/desktop-thumbnailer/desktop-thumbnailer.h')
-rw-r--r--plugins/desktop-thumbnailer/desktop-thumbnailer.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/plugins/desktop-thumbnailer/desktop-thumbnailer.h b/plugins/desktop-thumbnailer/desktop-thumbnailer.h
new file mode 100644
index 0000000..af0ef0c
--- /dev/null
+++ b/plugins/desktop-thumbnailer/desktop-thumbnailer.h
@@ -0,0 +1,42 @@
+/*
+ * Copyright (c) 2017 Ali Abdallah <ali@xfce.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library 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 Library 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 __DESKTOP_THUMBNAILER_H__
+#define __DESKTOP_THUMBNAILER_H__
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define TYPE_DESKTOP_THUMBNAILER (desktop_thumbnailer_get_type ())
+#define DESKTOP_THUMBNAILER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DESKTOP_THUMBNAILER, DesktopThumbnailer))
+#define DESKTOP_THUMBNAILER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DESKTOP_THUMBNAILER, DesktopThumbnailerClass))
+#define IS_DESKTOP_THUMBNAILER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DESKTOP_THUMBNAILER))
+#define IS_DESKTOP_THUMBNAILER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DESKTOP_THUMBNAILER)
+#define DESKTOP_THUMBNAILER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DESKTOP_THUMBNAILER, DesktopThumbnailerClass))
+
+typedef struct _DesktopThumbnailerClass DesktopThumbnailerClass;
+typedef struct _DesktopThumbnailer DesktopThumbnailer;
+
+GType desktop_thumbnailer_get_type (void) G_GNUC_CONST;
+void desktop_thumbnailer_register (TumblerProviderPlugin *plugin);
+
+G_END_DECLS
+
+#endif /* !__DESKTOP_THUMBNAILER_H__ */