1
/* NetworkManager Wireless Applet -- Display wireless access points and allow user control
3
* Dan Williams <dcbw@redhat.com>
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (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
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
* Copyright 2007 - 2014 Red Hat, Inc.
23
/* WARNING: this file is private API between nm-applet and various GNOME
24
* bits; it may change without notice and is not guaranteed to be stable.
27
#ifndef NMA_WIFI_DIALOG_H
28
#define NMA_WIFI_DIALOG_H
32
#include <glib-object.h>
34
#include <NetworkManager.h>
36
#define NMA_TYPE_WIFI_DIALOG (nma_wifi_dialog_get_type ())
37
#define NMA_WIFI_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NMA_TYPE_WIFI_DIALOG, NMAWifiDialog))
38
#define NMA_WIFI_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NMA_TYPE_WIFI_DIALOG, NMAWifiDialogClass))
39
#define NMA_IS_WIFI_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NMA_TYPE_WIFI_DIALOG))
40
#define NMA_IS_WIFI_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NMA_TYPE_WIFI_DIALOG))
41
#define NMA_WIFI_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NMA_TYPE_WIFI_DIALOG, NMAWifiDialogClass))
48
GtkDialogClass parent;
51
GType nma_wifi_dialog_get_type (void);
53
GtkWidget *nma_wifi_dialog_new (NMClient *client,
54
NMConnection *connection,
57
gboolean secrets_only);
59
GtkWidget *nma_wifi_dialog_new_for_hidden (NMClient *client);
61
GtkWidget *nma_wifi_dialog_new_for_create (NMClient *client);
63
NMConnection * nma_wifi_dialog_get_connection (NMAWifiDialog *self,
68
GtkWidget * nma_wifi_dialog_nag_user (NMAWifiDialog *self);
71
void nma_wifi_dialog_set_nag_ignored (NMAWifiDialog *self, gboolean ignored);
74
gboolean nma_wifi_dialog_get_nag_ignored (NMAWifiDialog *self);
76
GLIB_DEPRECATED_FOR(nma_wifi_dialog_new_for_hidden)
77
GtkWidget *nma_wifi_dialog_new_for_other (NMClient *client);
79
#endif /* NMA_WIFI_DIALOG_H */