summaryrefslogtreecommitdiff
path: root/libmediaart/extractgeneric.h
diff options
context:
space:
mode:
authorMartyn Russell <martyn@lanedo.com>2013-08-13 18:52:23 +0100
committerMartyn Russell <martyn@lanedo.com>2013-08-13 18:52:23 +0100
commit600b229cc956760959db928d9e6b92aacf9e0f48 (patch)
treee56b51a1df3594872156620974379b00d696ba60 /libmediaart/extractgeneric.h
parent9ca023a8ea5883f9d054954dc389e6f5a0372c24 (diff)
downloadlibmediaart-600b229cc956760959db928d9e6b92aacf9e0f48.tar.gz
build: Initial import of files needed to make new project here...
Including AUTHORS, README, NEWS. Including autogen.sh, configure.ac and all Makefile.am files Also moved many files that were scattered around the Tracker project and brought them together. Some source files had to be fixed up to build properly.
Diffstat (limited to 'libmediaart/extractgeneric.h')
-rw-r--r--libmediaart/extractgeneric.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/libmediaart/extractgeneric.h b/libmediaart/extractgeneric.h
new file mode 100644
index 0000000..eb9ebf4
--- /dev/null
+++ b/libmediaart/extractgeneric.h
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2008, Nokia <ivan.frade@nokia.com>
+ *
+ * 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.1 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
+ * Lesser 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.
+ *
+ * Authors:
+ * Philip Van Hoof <philip@codeminded.be>
+ */
+
+
+#ifndef __LIBMEDIAART_EXTRACTGENERIC_H__
+#define __LIBMEDIAART_EXTRACTGENERIC_H__
+
+#include <glib.h>
+
+#if !defined (__LIBMEDIAART_INSIDE__) && !defined (LIBMEDIAART_COMPILATION)
+#error "Only <libmediaart/mediaart.h> must be included directly."
+#endif
+
+G_BEGIN_DECLS
+
+void tracker_media_art_plugin_init (gint max_width);
+void tracker_media_art_plugin_shutdown (void);
+
+gboolean tracker_media_art_file_to_jpeg (const gchar *filename,
+ const gchar *target);
+gboolean tracker_media_art_buffer_to_jpeg (const unsigned char *buffer,
+ size_t len,
+ const gchar *buffer_mime,
+ const gchar *target);
+
+G_END_DECLS
+
+#endif /* __LIBMEDIAART_EXTRACTGENERIC_H__ */