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

« back to all changes in this revision

Viewing changes to libcheese/cheese-camera-device-monitor.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2010-05-04 17:37:18 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100504173718-k2rx3nryi4vd0xyx
Tags: 2.30.1-1
* New upstream release.
  - HAL dependency has been dropped. Use (g)udev for v4l capability probing
    on Linux. Closes: #573774
  - Split code into separate libraries.
* debian/control.in
  - Drop Build-Depends on libhal-dev.
  - Drop Build-Depends on libebook1.2-dev.
  - Bump Build-Depends on libgtk2.0-dev to (>= 2.19.1).
  - Bump Build-Depends on libgstreamer*-dev to (>= 0.10.23).
  - Add Build-Depends on libcanberra-gtk-dev.
  - Add Build-Depends on libxtst-dev.
  - Add Build-Depends on libgudev-1.0-dev on Linux.
  - Bump Standards-Version to 3.8.4. No further changes.
* Switch to source format 3.0 (quilt)
  - Add debian/source/format.
* debian/rules
  - Drop lpia specific configure flags, lpia is dead.
* Update package layout (based on work by Ubuntu)
  - Move data files into new cheese-common package.
  - Keep binary along with its desktop and dbus service file in the cheese
    package.
  - Add libcheese-gtk18 and libcheese-gtk-dev package for the new
    libcheese-gtk library. Use a symbols file for improved shlibs
    dependencies.
  - Add Conflicts/Replaces to cheese-common to ensure proper upgrades from
    previous versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2007,2008 Jaap Haitsma <jaap@haitsma.org>
 
3
 * Copyright © 2007-2009 daniel g. siegel <dgsiegel@gnome.org>
 
4
 * Copyright © 2008 Ryan zeigler <zeiglerr@gmail.com>
 
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
 
 
23
#ifndef __CHEESE_CAMERA_DEVICE_MONITOR_H__
 
24
#define __CHEESE_CAMERA_DEVICE_MONITOR_H__
 
25
 
 
26
#include <glib-object.h>
 
27
#include <gtk/gtk.h>
 
28
#include <gst/interfaces/xoverlay.h>
 
29
 
 
30
G_BEGIN_DECLS
 
31
 
 
32
#define CHEESE_TYPE_CAMERA_DEVICE_MONITOR (cheese_camera_device_monitor_get_type ())
 
33
#define CHEESE_CAMERA_DEVICE_MONITOR(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), CHEESE_TYPE_CAMERA_DEVICE_MONITOR, \
 
34
                                                                               CheeseCameraDeviceMonitor))
 
35
#define CHEESE_CAMERA_DEVICE_MONITOR_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST ((k), CHEESE_TYPE_CAMERA_DEVICE_MONITOR, \
 
36
                                                                            CheeseCameraDeviceMonitorClass))
 
37
#define CHEESE_IS_CAMERA_DEVICE_MONITOR(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), CHEESE_TYPE_CAMERA_DEVICE_MONITOR))
 
38
#define CHEESE_IS_CAMERA_DEVICE_MONITOR_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), CHEESE_TYPE_CAMERA_DEVICE_MONITOR))
 
39
#define CHEESE_CAMERA_DEVICE_MONITOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CHEESE_TYPE_CAMERA_DEVICE_MONITOR, \
 
40
                                                                              CheeseCameraDeviceMonitorClass))
 
41
 
 
42
typedef struct _CheeseCameraDeviceMonitorClass CheeseCameraDeviceMonitorClass;
 
43
typedef struct _CheeseCameraDeviceMonitor CheeseCameraDeviceMonitor;
 
44
 
 
45
struct _CheeseCameraDeviceMonitor
 
46
{
 
47
  GObject parent;
 
48
};
 
49
 
 
50
struct _CheeseCameraDeviceMonitorClass
 
51
{
 
52
  GObjectClass parent_class;
 
53
 
 
54
  void (*added)(CheeseCameraDeviceMonitor *camera,
 
55
                const char *id,
 
56
                const char *device_file,
 
57
                const char *product_name,
 
58
                int api_version);
 
59
  void (*removed)(CheeseCameraDeviceMonitor *camera, const char *id);
 
60
};
 
61
 
 
62
GType                      cheese_camera_device_monitor_get_type (void) G_GNUC_CONST;
 
63
CheeseCameraDeviceMonitor *cheese_camera_device_monitor_new (void);
 
64
void                       cheese_camera_device_monitor_coldplug (CheeseCameraDeviceMonitor *monitor);
 
65
 
 
66
G_END_DECLS
 
67
 
 
68
#endif /* __CHEESE_CAMERA_DEVICE_MONITOR_H__ */