[maemo-commits] [maemo-commits] r15995 - in projects/haf/branches/hildon-thumbnail/daemonize/daemon: . plugins
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Sep 3 17:24:25 EEST 2008
- Previous message: [maemo-commits] r15994 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Next message: [maemo-commits] r15996 - in projects/haf/trunk/gtk+: . gtk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-09-03 17:24:22 +0300 (Wed, 03 Sep 2008) New Revision: 15995 Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/dbus-utils.c projects/haf/branches/hildon-thumbnail/daemonize/daemon/dbus-utils.h projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-plugin.c projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.h projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.c projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.h projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.h Log: Added copyright info Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/dbus-utils.c =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/dbus-utils.c 2008-09-03 13:18:50 UTC (rev 15994) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/dbus-utils.c 2008-09-03 14:24:22 UTC (rev 15995) @@ -0,0 +1,23 @@ +/* + * This file is part of hildon-thumbnail package + * + * Copyright (C) 2005 Nokia Corporation. All Rights reserved. + * + * Contact: Marius Vollmer <marius.vollmer at nokia.com> + * Author: Philip Van Hoof <philip at codeminded.be> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * 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 St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/dbus-utils.h =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/dbus-utils.h 2008-09-03 13:18:50 UTC (rev 15994) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/dbus-utils.h 2008-09-03 14:24:22 UTC (rev 15995) @@ -1,6 +1,30 @@ #ifndef __DBUS_UTILS_H__ #define __DBUS_UTILS_H__ +/* + * This file is part of hildon-thumbnail package + * + * Copyright (C) 2005 Nokia Corporation. All Rights reserved. + * + * Contact: Marius Vollmer <marius.vollmer at nokia.com> + * Author: Philip Van Hoof <philip at codeminded.be> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * 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 St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ + #define DBUS_ERROR_DOMAIN "HildonThumbnailer" #define DBUS_ERROR g_quark_from_static_string (DBUS_ERROR_DOMAIN) Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-plugin.c =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-plugin.c 2008-09-03 13:18:50 UTC (rev 15994) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-plugin.c 2008-09-03 14:24:22 UTC (rev 15995) @@ -1,3 +1,26 @@ +/* + * This file is part of hildon-thumbnail package + * + * Copyright (C) 2005 Nokia Corporation. All Rights reserved. + * + * Contact: Marius Vollmer <marius.vollmer at nokia.com> + * Author: Philip Van Hoof <philip at codeminded.be> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * 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 St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ #include "hildon-thumbnail-plugin.h" Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c 2008-09-03 13:18:50 UTC (rev 15994) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c 2008-09-03 14:24:22 UTC (rev 15995) @@ -1,3 +1,27 @@ +/* + * This file is part of hildon-thumbnail package + * + * Copyright (C) 2005 Nokia Corporation. All Rights reserved. + * + * Contact: Marius Vollmer <marius.vollmer at nokia.com> + * Author: Philip Van Hoof <philip at codeminded.be> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * 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 St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ + #include <string.h> #include <glib.h> #include <dbus/dbus-glib-bindings.h> Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.h =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.h 2008-09-03 13:18:50 UTC (rev 15994) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.h 2008-09-03 14:24:22 UTC (rev 15995) @@ -1,6 +1,30 @@ #ifndef __MANAGER_H__ #define __MANAGER_H__ +/* + * This file is part of hildon-thumbnail package + * + * Copyright (C) 2005 Nokia Corporation. All Rights reserved. + * + * Contact: Marius Vollmer <marius.vollmer at nokia.com> + * Author: Philip Van Hoof <philip at codeminded.be> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * 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 St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ + #define MANAGER_SERVICE "org.freedesktop.thumbnailer.manager" #define MANAGER_PATH "/org/freedesktop/thumbnailer/manager" #define MANAGER_INTERFACE "org.freedesktop.thumbnailer.manager" Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.c =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.c 2008-09-03 13:18:50 UTC (rev 15994) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.c 2008-09-03 14:24:22 UTC (rev 15995) @@ -1,3 +1,27 @@ +/* + * This file is part of hildon-thumbnail package + * + * Copyright (C) 2005 Nokia Corporation. All Rights reserved. + * + * Contact: Marius Vollmer <marius.vollmer at nokia.com> + * Author: Philip Van Hoof <philip at codeminded.be> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * 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 St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ + #include <glib.h> #include <dbus/dbus-glib-bindings.h> #include <hildon-thumbnail-factory.h> Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.h =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.h 2008-09-03 13:18:50 UTC (rev 15994) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.h 2008-09-03 14:24:22 UTC (rev 15995) @@ -1,5 +1,28 @@ #ifndef __DEFAULT_H__ #define __DEFAULT_H__ +/* + * This file is part of hildon-thumbnail package + * + * Copyright (C) 2005 Nokia Corporation. All Rights reserved. + * + * Contact: Marius Vollmer <marius.vollmer at nokia.com> + * Author: Philip Van Hoof <philip at codeminded.be> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * 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 St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ #endif Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c 2008-09-03 13:18:50 UTC (rev 15994) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c 2008-09-03 14:24:22 UTC (rev 15995) @@ -1,3 +1,27 @@ +/* + * This file is part of hildon-thumbnail package + * + * Copyright (C) 2005 Nokia Corporation. All Rights reserved. + * + * Contact: Marius Vollmer <marius.vollmer at nokia.com> + * Author: Philip Van Hoof <philip at codeminded.be> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * 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 St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -92,6 +116,7 @@ G_FILE_ATTRIBUTE_THUMBNAIL_PATH); *has_thumb = tp?g_file_test (tp, G_FILE_TEST_EXISTS):FALSE; *mime_type = content_type?g_strdup (content_type):g_strdup ("unknown/unknown"); + // g_print ("T: %s\n", tp); g_object_unref (info); } @@ -206,6 +231,7 @@ 0, task->num, 1, error->message); g_error_free (error); } else { + // g_print ("M: %s\n", mime_type); if (mime_type && !has_thumb) { GList *urls_for_mime = g_hash_table_lookup (hash, mime_type); urls_for_mime = g_list_prepend (urls_for_mime, urls[i]); Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.h =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.h 2008-09-03 13:18:50 UTC (rev 15994) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.h 2008-09-03 14:24:22 UTC (rev 15995) @@ -1,6 +1,30 @@ #ifndef __THUMBNAILER_H__ #define __THUMBNAILER_H__ +/* + * This file is part of hildon-thumbnail package + * + * Copyright (C) 2005 Nokia Corporation. All Rights reserved. + * + * Contact: Marius Vollmer <marius.vollmer at nokia.com> + * Author: Philip Van Hoof <philip at codeminded.be> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * 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 St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ + #include <gmodule.h> #include "manager.h"
- Previous message: [maemo-commits] r15994 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Next message: [maemo-commits] r15996 - in projects/haf/trunk/gtk+: . gtk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]