1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-
3
* Copyright (C) 2007 Javier Goday <jgoday@gmail.com>
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* General Public License for more details.
15
* You should have received a copy of the GNU Library General Public
16
* License along with this library; if not, write to the
17
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
* Boston, MA 02110-1301, USA.
20
* Author : Javier Goday <jgoday@gmail.com>
22
#ifndef __TOTEM_TRACKER_WIDGET_H__
23
#define __TOTEM_TRACKER_WIDGET_H__
29
#include <libtracker-sparql/tracker-sparql.h>
31
#define TOTEM_TYPE_TRACKER_WIDGET (totem_tracker_widget_get_type ())
32
#define TOTEM_TRACKER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TOTEM_TYPE_TRACKER_WIDGET, TotemTrackerWidget))
33
#define TOTEM_TRACKER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TOTEM_TYPE_TRACKER_WIDGET, TotemTrackerWidgetClass))
34
#define TOTEM_IS_TRACKER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TOTEM_TYPE_TRACKER_WIDGET))
35
#define TOTEM_IS_TRACKER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TOTEM_TYPE_TRACKER_WIDGET))
36
#define TOTEM_TRACKER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TOTEM_TYPE_TRACKER_WIDGET, TotemTrackerWidgetClass))
38
typedef struct TotemTrackerWidgetPrivate TotemTrackerWidgetPrivate;
40
typedef struct TotemTrackerWidget {
44
TotemTrackerWidgetPrivate *priv;
48
GtkEventBoxClass parent_class;
49
} TotemTrackerWidgetClass;
51
GType totem_tracker_widget_get_type (void);
52
GtkWidget* totem_tracker_widget_new (TotemObject *totem);
54
#endif /* __TOTEM_TRACKER_WIDGET_H__ */