2
* Copyright © 2007,2008 daniel g. siegel <dgsiegel@gnome.org>
3
* Copyright © 2007,2008 Jaap Haitsma <jaap@haitsma.org>
4
* Copyright © 2008 Felix Kaser <f.kaser@gmx.net>
6
* Licensed under the GNU General Public License Version 2
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
22
#ifndef _CHEESE_DBUS_H_
23
#define _CHEESE_DBUS_H_
25
#include <dbus/dbus-glib.h>
27
#include "cheese-window.h"
33
GObjectClass parent_class;
34
DBusGConnection *connection;
37
typedef struct _CheeseDbus
43
#define CHEESE_TYPE_DBUS (cheese_dbus_get_type ())
44
#define CHEESE_DBUS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHEESE_TYPE_DBUS, CheeseDbus))
45
#define CHEESE_DBUS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CHEESE_TYPE_DBUS, CheeseDbusClass))
46
#define CHEESE_IS_DBUS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CHEESE_TYPE_DBUS))
47
#define CHEESE_IS_DBUS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CHEESE_TYPE_DBUS))
48
#define CHEESE_DBUS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CHEESE_TYPE_DBUS, CheeseDbusClass))
50
GType cheese_dbus_get_type (void);
51
CheeseDbus *cheese_dbus_new (void);
53
void cheese_dbus_set_window (CheeseWindow *window);
54
gboolean cheese_dbus_notify (void);
58
#endif /* _CHEESE_DBUS_H_ */