tracker r2466 - in branches/libtracker-data: . src/libtracker-data src/trackerd
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2466 - in branches/libtracker-data: . src/libtracker-data src/trackerd
- Date: Thu, 6 Nov 2008 10:37:34 +0000 (UTC)
Author: juergbi
Date: Thu Nov 6 10:37:33 2008
New Revision: 2466
URL: http://svn.gnome.org/viewvc/tracker?rev=2466&view=rev
Log:
2008-11-06 JÃrg Billeter <j bitron ch>
* src/libtracker-data/tracker-data-manager.c:
* src/libtracker-data/tracker-data-manager.h:
* src/libtracker-data/tracker-data-update.c:
* src/libtracker-data/tracker-data-update.h:
* src/trackerd/tracker-files.c:
* src/trackerd/tracker-metadata.c:
* src/trackerd/tracker-xesam-manager.c:
Move tracker_db_xesam_delete_handled_events to tracker-data-update
Modified:
branches/libtracker-data/ChangeLog
branches/libtracker-data/src/libtracker-data/tracker-data-manager.c
branches/libtracker-data/src/libtracker-data/tracker-data-manager.h
branches/libtracker-data/src/libtracker-data/tracker-data-update.c
branches/libtracker-data/src/libtracker-data/tracker-data-update.h
branches/libtracker-data/src/trackerd/tracker-files.c
branches/libtracker-data/src/trackerd/tracker-metadata.c
branches/libtracker-data/src/trackerd/tracker-xesam-manager.c
Modified: branches/libtracker-data/src/libtracker-data/tracker-data-manager.c
==============================================================================
--- branches/libtracker-data/src/libtracker-data/tracker-data-manager.c (original)
+++ branches/libtracker-data/src/libtracker-data/tracker-data-manager.c Thu Nov 6 10:37:33 2008
@@ -211,14 +211,6 @@
return result_set;
}
-void
-tracker_db_xesam_delete_handled_events (TrackerDBInterface *iface)
-{
- g_return_if_fail (TRACKER_IS_DB_INTERFACE (iface));
-
- tracker_data_manager_exec (iface, "DELETE FROM Events WHERE BeingHandled = 1");
-}
-
gint
tracker_data_manager_get_db_option_int (const gchar *option)
{
Modified: branches/libtracker-data/src/libtracker-data/tracker-data-manager.h
==============================================================================
--- branches/libtracker-data/src/libtracker-data/tracker-data-manager.h (original)
+++ branches/libtracker-data/src/libtracker-data/tracker-data-manager.h Thu Nov 6 10:37:33 2008
@@ -60,8 +60,6 @@
void tracker_data_manager_set_db_option_int (const gchar *option,
gint value);
-/* XESAM API */
-void tracker_db_xesam_delete_handled_events (TrackerDBInterface *iface);
G_END_DECLS
#endif /* __TRACKER_DATA_MANAGER_H__ */
Modified: branches/libtracker-data/src/libtracker-data/tracker-data-update.c
==============================================================================
--- branches/libtracker-data/src/libtracker-data/tracker-data-update.c (original)
+++ branches/libtracker-data/src/libtracker-data/tracker-data-update.c Thu Nov 6 10:37:33 2008
@@ -544,3 +544,12 @@
g_free (service_id_str);
}
+
+void
+tracker_db_xesam_delete_handled_events (TrackerDBInterface *iface)
+{
+ g_return_if_fail (TRACKER_IS_DB_INTERFACE (iface));
+
+ tracker_data_manager_exec (iface, "DELETE FROM Events WHERE BeingHandled = 1");
+}
+
Modified: branches/libtracker-data/src/libtracker-data/tracker-data-update.h
==============================================================================
--- branches/libtracker-data/src/libtracker-data/tracker-data-update.h (original)
+++ branches/libtracker-data/src/libtracker-data/tracker-data-update.h Thu Nov 6 10:37:33 2008
@@ -73,6 +73,9 @@
guint32 service_id,
const gchar *type);
+/* XESAM API */
+void tracker_db_xesam_delete_handled_events (TrackerDBInterface *iface);
+
G_END_DECLS
#endif /* __TRACKER_DATA_UPDATE_H__ */
Modified: branches/libtracker-data/src/trackerd/tracker-files.c
==============================================================================
--- branches/libtracker-data/src/trackerd/tracker-files.c (original)
+++ branches/libtracker-data/src/trackerd/tracker-files.c Thu Nov 6 10:37:33 2008
@@ -35,6 +35,7 @@
#include <libtracker-data/tracker-data-manager.h>
#include <libtracker-data/tracker-data-query.h>
+#include <libtracker-data/tracker-data-schema.h>
#include <libtracker-data/tracker-data-search.h>
#include "tracker-dbus.h"
Modified: branches/libtracker-data/src/trackerd/tracker-metadata.c
==============================================================================
--- branches/libtracker-data/src/trackerd/tracker-metadata.c (original)
+++ branches/libtracker-data/src/trackerd/tracker-metadata.c Thu Nov 6 10:37:33 2008
@@ -35,6 +35,7 @@
#include <libtracker-data/tracker-data-manager.h>
#include <libtracker-data/tracker-data-query.h>
+#include <libtracker-data/tracker-data-schema.h>
#include <libtracker-data/tracker-rdf-query.h>
#include "tracker-indexer-client.h"
Modified: branches/libtracker-data/src/trackerd/tracker-xesam-manager.c
==============================================================================
--- branches/libtracker-data/src/trackerd/tracker-xesam-manager.c (original)
+++ branches/libtracker-data/src/trackerd/tracker-xesam-manager.c Thu Nov 6 10:37:33 2008
@@ -29,6 +29,8 @@
#include <libtracker-db/tracker-db-manager.h>
+#include <libtracker-data/tracker-data-update.h>
+
#include "tracker-xesam-manager.h"
#include "tracker-dbus.h"
#include "tracker-main.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]