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

« back to all changes in this revision

Viewing changes to src/cheese-prefs-resolution-combo.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 © 2008 James Liggett <jrliggett@cox.net>
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_PREFS_RESOLUTION_COMBO_H_
21
 
#define _CHEESE_PREFS_RESOLUTION_COMBO_H_
22
 
 
23
 
#include <glib-object.h>
24
 
#include <cheese-camera.h>
25
 
#include "cheese-prefs-widget.h"
26
 
 
27
 
G_BEGIN_DECLS
28
 
 
29
 
#define CHEESE_TYPE_PREFS_RESOLUTION_COMBO (cheese_prefs_resolution_combo_get_type ())
30
 
#define CHEESE_PREFS_RESOLUTION_COMBO(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj),                              \
31
 
                                                                                   CHEESE_TYPE_PREFS_RESOLUTION_COMBO, \
32
 
                                                                                   CheesePrefsResolutionCombo))
33
 
#define CHEESE_PREFS_RESOLUTION_COMBO_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),                            \
34
 
                                                                                CHEESE_TYPE_PREFS_RESOLUTION_COMBO, \
35
 
                                                                                CheesePrefsResolutionComboClass))
36
 
#define CHEESE_IS_PREFS_RESOLUTION_COMBO(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
37
 
                                                                                   CHEESE_TYPE_PREFS_RESOLUTION_COMBO))
38
 
#define CHEESE_IS_PREFS_RESOLUTION_COMBO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
39
 
                                                                                CHEESE_TYPE_PREFS_RESOLUTION_COMBO))
40
 
#define CHEESE_PREFS_RESOLUTION_COMBO_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),                              \
41
 
                                                                                  CHEESE_TYPE_PREFS_RESOLUTION_COMBO, \
42
 
                                                                                  CheesePrefsResolutionComboClass))
43
 
 
44
 
typedef struct _CheesePrefsResolutionComboClass CheesePrefsResolutionComboClass;
45
 
typedef struct _CheesePrefsResolutionCombo CheesePrefsResolutionCombo;
46
 
 
47
 
struct _CheesePrefsResolutionComboClass
48
 
{
49
 
  CheesePrefsWidgetClass parent_class;
50
 
};
51
 
 
52
 
struct _CheesePrefsResolutionCombo
53
 
{
54
 
  CheesePrefsWidget parent_instance;
55
 
};
56
 
 
57
 
GType                       cheese_prefs_resolution_combo_get_type (void) G_GNUC_CONST;
58
 
CheesePrefsResolutionCombo *cheese_prefs_resolution_combo_new (GtkWidget    *combo_box,
59
 
                                                               CheeseCamera *camera,
60
 
                                                               const gchar  *x_resolution_key,
61
 
                                                               const gchar  *y_resolution_key,
62
 
                                                               unsigned int  max_x_resolution,
63
 
                                                               unsigned int  max_y_resolution);
64
 
 
65
 
CheeseVideoFormat *cheese_prefs_resolution_combo_get_selected_format (CheesePrefsResolutionCombo *resolution_combo);
66
 
 
67
 
G_END_DECLS
68
 
 
69
 
#endif /* _CHEESE_PREFS_RESOLUTION_COMBO_H_ */