Merging upstream version 0.7.0 (Closes: #493243, #510888, #567617, #699414, #709777...
[debian/lxpanel.git] / plugins / netstatus / netstatus-dialog.h
1 /*
2 * Copyright (C) 2003 Sun Microsystems, Inc.
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 as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * 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., 59 Temple Place - Suite 330, Boston, MA
17 * 02111-1307, USA.
18
19 * Authors:
20 * Mark McLoughlin <mark@skynet.ie>
21 */
22
23 #ifndef __NETSTATUS_DIALOG_H__
24 #define __NETSTATUS_DIALOG_H__
25
26 #include <gtk/gtk.h>
27
28 #include "netstatus-iface.h"
29
30 G_BEGIN_DECLS
31
32 GtkWidget *netstatus_dialog_new (NetstatusIface *iface);
33
34 /* 2006.10.08 Add by Hong Jen Yee (PCMan) to be used in lxpanel plugin */
35 void netstatus_dialog_set_configuration_tool( GtkWidget* dialog, const char* tool );
36 const char* netstatus_dialog_get_configuration_tool( GtkWidget* dialog );
37
38 /* 2009.05.10 Add by Hong Jen Yee (PCMan) to be used in lxpanel plugin */
39 const char* netstatus_dialog_get_iface_name( GtkWidget* dialog );
40
41 G_END_DECLS
42
43 #endif /* __NETSTATUS_DIALOG_H__ */