All we need is the toplevel, here, so pass that in directly. https://bugzilla.gnome.org/show_bug.cgi?id=690086
48 lines
2 KiB
C
48 lines
2 KiB
C
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
|
*
|
|
* Copyright (C) 2011 Giovanni Campagna <scampa.giovanni@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#ifndef _NETWORK_DIALOGS_H
|
|
#define _NETWORK_DIALOGS_H
|
|
|
|
#include <nm-client.h>
|
|
#include <nm-remote-settings.h>
|
|
#include <nm-device.h>
|
|
#include <nm-access-point.h>
|
|
#include <gtk/gtk.h>
|
|
|
|
void cc_network_panel_create_wifi_network (GtkWidget *toplevel,
|
|
NMClient *client,
|
|
NMRemoteSettings *settings);
|
|
|
|
void cc_network_panel_connect_to_hidden_network (GtkWidget *toplevel,
|
|
NMClient *client,
|
|
NMRemoteSettings *settings);
|
|
|
|
void cc_network_panel_connect_to_8021x_network (GtkWidget *toplevel,
|
|
NMClient *client,
|
|
NMRemoteSettings *settings,
|
|
NMDevice *device,
|
|
const gchar *arg_access_point);
|
|
|
|
void cc_network_panel_connect_to_3g_network (GtkWidget *toplevel,
|
|
NMClient *client,
|
|
NMRemoteSettings *settings,
|
|
NMDevice *device);
|
|
|
|
#endif /* _NETWORK_DIALOGS_H */
|