~ubuntu-branches/ubuntu/trusty/gnome-contacts/trusty

« back to all changes in this revision

Viewing changes to src/cheese-flash.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Jeremy Bicha, Michael Biebl
  • Date: 2013-09-19 18:23:06 UTC
  • mfrom: (1.3.10) (0.3.4 experimental)
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: package-import@ubuntu.com-20130919182306-rcatwotzg94pr884
Tags: 3.8.3-1
[ Jeremy Bicha ]
* debian/control.in:
  - Drop alternate build-depends on valac-0.18 since it's no longer
    in Debian

[ Michael Biebl ]
* New upstream release.
* Loosen Build-Depends on libgnome-desktop-3-dev, we do not strictly require
  version (>= 3.6.0) which is not yet available in unstable.
* Bump Standards-Version to 3.9.4. No further changes.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2008 Alexander “weej” Jones <alex@weej.com>
 
3
 *
 
4
 * Licensed under the GNU General Public License Version 2
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; either version 2 of the License, or
 
9
 * (at your option) any later version.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 * GNU General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
18
 */
 
19
 
 
20
#ifndef _CHEESE_FLASH_H_
 
21
#define _CHEESE_FLASH_H_
 
22
 
 
23
#include <gtk/gtk.h>
 
24
#include <glib-object.h>
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
#define CHEESE_TYPE_FLASH (cheese_flash_get_type ())
 
29
#define CHEESE_FLASH(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHEESE_TYPE_FLASH, CheeseFlash))
 
30
#define CHEESE_FLASH_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), CHEESE_TYPE_FLASH, CheeseFlashClass))
 
31
#define CHEESE_IS_FLASH(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CHEESE_TYPE_FLASH))
 
32
#define CHEESE_IS_FLASH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CHEESE_TYPE_FLASH))
 
33
#define CHEESE_FLASH_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), CHEESE_TYPE_FLASH, CheeseFlashClass))
 
34
 
 
35
typedef struct _CheeseFlashPrivate CheeseFlashPrivate;
 
36
typedef struct _CheeseFlashClass CheeseFlashClass;
 
37
typedef struct _CheeseFlash CheeseFlash;
 
38
 
 
39
/**
 
40
 * CheeseFlashClass:
 
41
 *
 
42
 * Use the accessor functions below.
 
43
 */
 
44
struct _CheeseFlashClass
 
45
{
 
46
  /*< private >*/
 
47
  GtkWindowClass parent_class;
 
48
};
 
49
 
 
50
/**
 
51
 * CheeseFlash:
 
52
 *
 
53
 * Use the accessor functions below.
 
54
 */
 
55
struct _CheeseFlash
 
56
{
 
57
  /*< private >*/
 
58
  GtkWindow parent_instance;
 
59
  CheeseFlashPrivate *priv;
 
60
};
 
61
 
 
62
GType        cheese_flash_get_type (void) G_GNUC_CONST;
 
63
CheeseFlash *cheese_flash_new (GtkWidget *parent);
 
64
 
 
65
void cheese_flash_fire (CheeseFlash *flash);
 
66
 
 
67
#include <cheese/cheese-widget.h>
 
68
 
 
69
GObject   *cheese_widget_get_camera (CheeseWidget *widget);
 
70
 
 
71
G_END_DECLS
 
72
 
 
73
#endif /* _CHEESE_FLASH_H_ */