1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */
3 * Copyright (C) 2007-2009 Collabora Ltd.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 * Authors: Xavier Claessens <xclaesse@gmail.com>
20 * Jonny Lamb <jonny.lamb@collabora.co.uk
23 #ifndef __EMPATHY_PROFILE_CHOOSER_H__
24 #define __EMPATHY_PROFILE_CHOOSER_H__
26 #include <glib-object.h>
29 #include <libmissioncontrol/mc-profile.h>
33 #define EMPATHY_TYPE_PROFILE_CHOOSER (empathy_profile_chooser_get_type ())
34 #define EMPATHY_PROFILE_CHOOSER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
35 EMPATHY_TYPE_PROFILE_CHOOSER, EmpathyProfileChooser))
36 #define EMPATHY_PROFILE_CHOOSER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
37 EMPATHY_TYPE_PROFILE_CHOOSER, EmpathyProfileChooserClass))
38 #define EMPATHY_IS_PROFILE_CHOOSER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
39 EMPATHY_TYPE_PROFILE_CHOOSER))
40 #define EMPATHY_IS_PROFILE_CHOOSER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
41 EMPATHY_TYPE_PROFILE_CHOOSER))
42 #define EMPATHY_PROFILE_CHOOSER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
43 EMPATHY_TYPE_PROFILE_CHOOSER, EmpathyProfileChooserClass))
45 typedef struct _EmpathyProfileChooser EmpathyProfileChooser;
46 typedef struct _EmpathyProfileChooserClass EmpathyProfileChooserClass;
48 struct _EmpathyProfileChooser
56 struct _EmpathyProfileChooserClass
58 GtkComboBoxClass parent_class;
61 GType empathy_profile_chooser_get_type (void) G_GNUC_CONST;
62 GtkWidget * empathy_profile_chooser_new (void);
63 McProfile * empathy_profile_chooser_dup_selected (
64 EmpathyProfileChooser *profile_chooser);
65 gint empathy_profile_chooser_n_profiles (
66 EmpathyProfileChooser *profile_chooser);
69 #endif /* __EMPATHY_PROFILE_CHOOSER_H__ */