Fix broken markup in Finnish user docs translation
[nijm-empathy.git] / src / empathy-preferences.h
blobb8b126bd8988dee7d69b3d0c41af016ffc3d1fee
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Copyright (C) 2003-2007 Imendio AB
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program 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 * General Public License for more details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 * Boston, MA 02110-1301 USA
20 * Authors: Mikael Hallendal <micke@imendio.com>
21 * Richard Hult <richard@imendio.com>
22 * Martyn Russell <martyn@imendio.com>
23 * Danielle Madeley <danielle.madeley@collabora.co.uk>
26 #ifndef __EMPATHY_PREFERENCES_H__
27 #define __EMPATHY_PREFERENCES_H__
29 #include <gtk/gtk.h>
31 G_BEGIN_DECLS
33 #define EMPATHY_TYPE_PREFERENCES (empathy_preferences_get_type ())
34 #define EMPATHY_PREFERENCES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_PREFERENCES, EmpathyPreferences))
35 #define EMPATHY_PREFERENCES_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EMPATHY_TYPE_PREFERENCES, EmpathyPreferencesClass))
36 #define EMPATHY_IS_PREFERENCES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_PREFERENCES))
37 #define EMPATHY_IS_PREFERENCES_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_PREFERENCES))
38 #define EMPATHY_PREFERENCES_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_PREFERENCES, EmpathyPreferencesClass))
40 typedef struct _EmpathyPreferences EmpathyPreferences;
41 typedef struct _EmpathyPreferencesClass EmpathyPreferencesClass;
42 typedef struct _EmpathyPreferencesPriv EmpathyPreferencesPriv;
44 struct _EmpathyPreferences {
45 GtkDialog parent;
46 gpointer priv;
49 struct _EmpathyPreferencesClass {
50 GtkDialogClass parent_class;
53 /* Keep this enum and the array in empathy-preferences.c in sync */
54 typedef enum
56 EMPATHY_PREFERENCES_TAB_GENERAL,
57 EMPATHY_PREFERENCES_TAB_NOTIFICATIONS,
58 EMPATHY_PREFERENCES_TAB_SOUNDS,
59 EMPATHY_PREFERENCES_TAB_CALLS,
60 EMPATHY_PREFERENCES_TAB_LOCATION,
61 EMPATHY_PREFERENCES_TAB_SPELL,
62 EMPATHY_PREFERENCES_TAB_THEMES,
63 } EmpathyPreferencesTab;
65 GType empathy_preferences_get_type (void);
67 GtkWidget *empathy_preferences_new (GtkWindow *parent,
68 gboolean shell_running);
70 void empathy_preferences_show_tab (EmpathyPreferences *self,
71 const gchar *tab);
73 const gchar *
74 empathy_preferences_tab_to_string (EmpathyPreferencesTab tab);
76 G_END_DECLS
78 #endif /* __EMPATHY_PREFERENCES_H__ */