Tagged for release 2.26.0.
[empathy-mirror.git] / gnome-2-26 / src / empathy-ft-manager.h
blob4803bc8145c82059a3e29f5ea242eecea54f0f35
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Copyright (C) 2007 Marco Barisione <marco@barisione.org>
4 * Copyright (C) 2008 Collabora Ltd.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
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 GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
21 * Authors: Marco Barisione <marco@barisione.org>
22 * Jonny Lamb <jonny.lamb@collabora.co.uk>
25 #ifndef __EMPATHY_FT_MANAGER_H__
26 #define __EMPATHY_FT_MANAGER_H__
28 #include <gtk/gtk.h>
29 #include <glib-object.h>
30 #include <glib.h>
32 #include <libempathy/empathy-tp-file.h>
34 G_BEGIN_DECLS
36 #define EMPATHY_TYPE_FT_MANAGER (empathy_ft_manager_get_type ())
37 #define EMPATHY_FT_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_FT_MANAGER, EmpathyFTManager))
38 #define EMPATHY_FT_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EMPATHY_TYPE_FT_MANAGER, EmpathyFTManagerClass))
39 #define EMPATHY_IS_FT_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_FT_MANAGER))
40 #define EMPATHY_IS_FT_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_FT_MANAGER))
41 #define EMPATHY_FT_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_FT_MANAGER, EmpathyFTManagerClass))
43 typedef struct _EmpathyFTManager EmpathyFTManager;
44 typedef struct _EmpathyFTManagerPriv EmpathyFTManagerPriv;
45 typedef struct _EmpathyFTManagerClass EmpathyFTManagerClass;
47 struct _EmpathyFTManager
49 GObject parent;
51 EmpathyFTManagerPriv *priv;
54 struct _EmpathyFTManagerClass
56 GObjectClass parent_class;
59 GType empathy_ft_manager_get_type (void);
61 EmpathyFTManager *empathy_ft_manager_dup_singleton (void);
62 void empathy_ft_manager_add_tp_file (EmpathyFTManager *ft_manager, EmpathyTpFile *tp_file);
63 GtkWidget *empathy_ft_manager_get_dialog (EmpathyFTManager *ft_manager);
65 G_END_DECLS
67 #endif /* __EMPATHY_FT_MANAGER_H__ */