2 * Copyright (C) 2009 Nokia Corporation.
4 * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
5 * <zeeshan.ali@nokia.com>
7 * This file is part of Rygel.
9 * Rygel is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * Rygel is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with this program; if not, write to the Free Software Foundation,
21 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 [DBus (name = "org.freedesktop.Tracker1.Statistics")]
25 public interface Rygel.Tracker.StatsIface : DBusProxy {
26 public abstract async string[,] get_statistics () throws IOError;
29 [DBus (name = "org.freedesktop.Tracker1.Resources")]
30 public interface Rygel.Tracker.ResourcesIface: DBusProxy {
31 public abstract async string[,] sparql_query (string query)
33 public abstract async HashTable<string,string>[,] sparql_update_blank (
34 string query) throws IOError;
37 [DBus (name = "org.freedesktop.Tracker1.Resources.Class")]
38 public interface Rygel.Tracker.ResourcesClassIface: DBusProxy {
39 public abstract signal void subjects_added (string[] subjects);
40 public abstract signal void subjects_removed (string[] subjects);
41 public abstract signal void subjects_changed (string[] before,
45 [DBus (name = "org.freedesktop.Tracker1.Miner")]
46 public interface Rygel.Tracker.MinerIface : DBusProxy {
47 public abstract async void ignore_next_update (string[] urls)
52 public const string RESOURCES_CLASS_PATH = "/org/freedesktop/Tracker1/" +
54 public const string MUSIC_RESOURCES_CLASS_PATH = RESOURCES_CLASS_PATH +
56 public const string VIDEO_RESOURCES_CLASS_PATH = RESOURCES_CLASS_PATH +
58 public const string PHOTO_RESOURCES_CLASS_PATH = RESOURCES_CLASS_PATH +