/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2006, Mr Jamie McCracken (jamiemcc@gnome.org) * Copyright (C) 2008, Nokia * * This library 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 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 * General Public License for more details. * * You should have received a copy of the GNU 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 __TRACKERD_DBUS_H__ #define __TRACKERD_DBUS_H__ #include #include G_BEGIN_DECLS #define TRACKER_INDEXER_PAUSE_TIME_FOR_REQUESTS 5 /* seconds */ gboolean tracker_dbus_init (void); void tracker_dbus_shutdown (void); gboolean tracker_dbus_register_objects (void); GObject *tracker_dbus_get_object (GType type); void tracker_dbus_indexer_check_is_paused (void); DBusGProxy *tracker_dbus_indexer_get_proxy (void); G_END_DECLS #endif /* __TRACKERD_DBUS_H__ */