1 /*
2  * Copyright (C) 2009 - 2011 Vivien Malerba <malerba@gnome-db.org>
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17  */
18 
19 
20 #ifndef __BROWSER_CONNECTIONS_LIST_H_
21 #define __BROWSER_CONNECTIONS_LIST_H_
22 
23 #include <gtk/gtk.h>
24 #include "decl.h"
25 
26 G_BEGIN_DECLS
27 
28 #define BROWSER_TYPE_CONNECTIONS_LIST          (browser_connections_list_get_type())
29 #define BROWSER_CONNECTIONS_LIST(obj)          G_TYPE_CHECK_INSTANCE_CAST (obj, browser_connections_list_get_type(), BrowserConnectionsList)
30 #define BROWSER_CONNECTIONS_LIST_CLASS(klass)  G_TYPE_CHECK_CLASS_CAST (klass, browser_connections_list_get_type (), BrowserConnectionsListClass)
31 #define BROWSER_IS_CONNECTIONS_LIST(obj)       G_TYPE_CHECK_INSTANCE_TYPE (obj, browser_connections_list_get_type ())
32 
33 typedef struct _BrowserConnectionsList BrowserConnectionsList;
34 typedef struct _BrowserConnectionsListPrivate BrowserConnectionsListPrivate;
35 typedef struct _BrowserConnectionsListClass BrowserConnectionsListClass;
36 
37 /* struct for the object's data */
38 struct _BrowserConnectionsList
39 {
40 	GtkWindow                      object;
41 	BrowserConnectionsListPrivate *priv;
42 };
43 
44 /* struct for the object's class */
45 struct _BrowserConnectionsListClass
46 {
47 	GtkWindowClass                 parent_class;
48 };
49 
50 GType           browser_connections_list_get_type               (void) G_GNUC_CONST;
51 void            browser_connections_list_show                   (BrowserConnection *current);
52 
53 G_END_DECLS
54 
55 #endif
56