2
* Copyright © 2008 James Liggett <jrliggett@cox.net>
3
* Copyright © 2008 Ryan Zeigler <zeiglerr@gmail.com>
5
* Licensed under the GNU General Public License Version 2
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
#ifndef _CHEESE_PREFS_WEBCAM_COMBO_H_
22
#define _CHEESE_PREFS_WEBCAM_COMBO_H_
24
#include <glib-object.h>
25
#include "cheese-prefs-widget.h"
26
#include "cheese-webcam.h"
30
#define CHEESE_TYPE_PREFS_WEBCAM_COMBO (cheese_prefs_webcam_combo_get_type ())
31
#define CHEESE_PREFS_WEBCAM_COMBO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHEESE_TYPE_PREFS_WEBCAM_COMBO, \
32
CheesePrefsWebcamCombo))
33
#define CHEESE_PREFS_WEBCAM_COMBO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CHEESE_TYPE_PREFS_WEBCAM_COMBO, \
34
CheesePrefsWebcamComboClass))
35
#define CHEESE_IS_PREFS_WEBCAM_COMBO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CHEESE_TYPE_PREFS_WEBCAM_COMBO))
36
#define CHEESE_IS_PREFS_WEBCAM_COMBO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CHEESE_TYPE_PREFS_WEBCAM_COMBO))
37
#define CHEESE_PREFS_WEBCAM_COMBO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CHEESE_TYPE_PREFS_WEBCAM_COMBO, \
38
CheesePrefsWebcamComboClass))
40
typedef struct _CheesePrefsWebcamComboClass CheesePrefsWebcamComboClass;
41
typedef struct _CheesePrefsWebcamCombo CheesePrefsWebcamCombo;
43
struct _CheesePrefsWebcamComboClass
45
CheesePrefsWidgetClass parent_class;
48
struct _CheesePrefsWebcamCombo
50
CheesePrefsWidget parent_instance;
53
GType cheese_prefs_webcam_combo_get_type (void) G_GNUC_CONST;
54
CheesePrefsWebcamCombo *cheese_prefs_webcam_combo_new (GtkWidget *combo_box,
56
const gchar *webcam_device_key);
58
char *cheese_prefs_webcam_combo_get_selected_webcam (CheesePrefsWebcamCombo *webcam);
60
#endif /* _CHEESE_PREFS_WEBCAM_COMBO_H_ */