~ubuntu-branches/debian/sid/cheese/sid

« back to all changes in this revision

Viewing changes to src/cheese-dbus.h

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2011-07-17 21:04:16 UTC
  • mfrom: (15.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110717210416-nt5qi659qei7a2yy
Tags: 3.0.1-2
* debian/control.in:
  - Change gir1.2-cheese-3.0 Section to libs
  - Make library packages depend against cheese-common package
  - Make cheese package recommends against hicolor-icon-theme
  - Move gst Dependency to libcheese package
* debian/patches/0002-fix-linking.patch: Add missing library to fix linking
* debian/watch:
  - Switch to .bz2 tarballs.
  - Bump version to 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
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>
5
 
 *
6
 
 * Licensed under the GNU General Public License Version 2
7
 
 *
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.
12
 
 *
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.
17
 
 *
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/>.
20
 
 */
21
 
 
22
 
#ifndef _CHEESE_DBUS_H_
23
 
#define _CHEESE_DBUS_H_
24
 
 
25
 
#include <dbus/dbus-glib.h>
26
 
#include <glib.h>
27
 
#include "cheese-window.h"
28
 
 
29
 
G_BEGIN_DECLS
30
 
 
31
 
typedef struct
32
 
{
33
 
  GObjectClass parent_class;
34
 
  DBusGConnection *connection;
35
 
} CheeseDbusClass;
36
 
 
37
 
typedef struct _CheeseDbus
38
 
{
39
 
  GObject parent;
40
 
} CheeseDbus;
41
 
 
42
 
 
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))
49
 
 
50
 
GType       cheese_dbus_get_type (void);
51
 
CheeseDbus *cheese_dbus_new (void);
52
 
 
53
 
void     cheese_dbus_set_window (CheeseWindow *window);
54
 
gboolean cheese_dbus_notify (void);
55
 
 
56
 
G_END_DECLS
57
 
 
58
 
#endif /* _CHEESE_DBUS_H_ */