2
* Copyright (C) 2010, Nokia <ivan.frade@nokia.com>
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* General Public License for more details.
14
* You should have received a copy of the GNU General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
* Boston, MA 02110-1301, USA.
20
#ifndef __TRACKER_MINER_FS_WRITEBACK_LISTENER_H__
21
#define __TRACKER_MINER_FS_WRITEBACK_LISTENER_H__
23
#include <glib-object.h>
25
#include "tracker-miner-files.h"
29
#define TRACKER_TYPE_WRITEBACK_LISTENER (tracker_writeback_listener_get_type ())
30
#define TRACKER_WRITEBACK_LISTENER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), TRACKER_TYPE_WRITEBACK_LISTENER, TrackerWritebackListener))
31
#define TRACKER_WRITEBACK_LISTENER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_DBUS_WRITEBACK_LISTENER, TrackerWritebackListenerClass))
32
#define TRACKER_IS_WRITEBACK_LISTENER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), TRACKER_TYPE_WRITEBACK_LISTENER))
33
#define TRACKER_IS_WRITEBACK_LISTENER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_WRITEBACK_LISTENER))
34
#define TRACKER_WRITEBACK_LISTENER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_WRITEBACK_LISTENER, TrackerWritebackListenerClass))
36
typedef struct TrackerWritebackListener TrackerWritebackListener;
37
typedef struct TrackerWritebackListenerClass TrackerWritebackListenerClass;
39
struct TrackerWritebackListener {
43
struct TrackerWritebackListenerClass {
47
GType tracker_writeback_listener_get_type (void);
48
TrackerWritebackListener *tracker_writeback_listener_new (TrackerMinerFiles *miner_files,
53
#endif /* __TRACKER_MINER_FS_WRITEBACK_LISTENER_H__ */