~ubuntu-branches/ubuntu/raring/tracker/raring

« back to all changes in this revision

Viewing changes to src/miners/fs/tracker-writeback-listener.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2011-08-26 00:26:14 UTC
  • mfrom: (4.3.17 sid)
  • Revision ID: package-import@ubuntu.com-20110826002614-4qjfs9jhh5gs4p13
Tags: 0.10.24-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2010, Nokia <ivan.frade@nokia.com>
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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.
 
18
 */
 
19
 
 
20
#ifndef __TRACKER_MINER_FS_WRITEBACK_LISTENER_H__
 
21
#define __TRACKER_MINER_FS_WRITEBACK_LISTENER_H__
 
22
 
 
23
#include <glib-object.h>
 
24
 
 
25
#include "tracker-miner-files.h"
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
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))
 
35
 
 
36
typedef struct TrackerWritebackListener TrackerWritebackListener;
 
37
typedef struct TrackerWritebackListenerClass TrackerWritebackListenerClass;
 
38
 
 
39
struct TrackerWritebackListener {
 
40
        GObject parent;
 
41
};
 
42
 
 
43
struct TrackerWritebackListenerClass {
 
44
        GObjectClass parent;
 
45
};
 
46
 
 
47
GType                     tracker_writeback_listener_get_type (void);
 
48
TrackerWritebackListener *tracker_writeback_listener_new      (TrackerMinerFiles  *miner_files,
 
49
                                                               GError            **error);
 
50
 
 
51
G_END_DECLS
 
52
 
 
53
#endif /* __TRACKER_MINER_FS_WRITEBACK_LISTENER_H__ */