1
/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
2
/* NetworkManager Wireless Applet -- Display wireless access points and allow user control
4
* Dan Williams <dcbw@redhat.com>
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (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
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
* (C) Copyright 2004-2005 Red Hat, Inc.
23
#ifndef APPLET_DBUS_DEVICES_H
24
#define APPLET_DBUS_DEVICES_H
27
#include <dbus/dbus.h>
28
#include "NetworkManager.h"
30
#include "nm-device.h"
31
#include "wireless-network.h"
32
#include "wireless-security-option.h"
34
void nma_dbus_update_one_vpn_connection (DBusConnection *connection, const char *name, NMApplet *applet, gboolean is_active);
35
void nma_dbus_update_vpn_connections (NMApplet *applet);
36
gboolean nma_dbus_update_device_strength (NMApplet *applet);
38
void nma_dbus_update_nm_state (NMApplet *applet);
40
void nma_dbus_update_devices (NMApplet *applet);
41
void nma_dbus_update_dialup (NMApplet *applet);
42
void nma_dbus_dialup_activate_connection (NMApplet *applet, const char *name);
43
void nma_dbus_dialup_deactivate_connection (NMApplet *applet, const char *name);
44
void nma_dbus_device_update_one_device (NMApplet *applet, const char *dev_path);
45
void nma_dbus_device_activated (NMApplet *applet, const char *dev_path, const char *essid);
46
void nma_dbus_device_deactivated (NMApplet *applet, const char *dev_path);
47
void nma_dbus_device_remove_one_device (NMApplet *applet, const char *dev_path);
49
void nma_dbus_device_update_one_network (NMApplet *applet, const char *dev_path, const char *net_path, const char *active_net_path);
50
void nma_dbus_device_remove_one_network (NMApplet *applet, const char *dev_path, const char *net_path);
51
void nma_dbus_update_strength (NMApplet *applet, const char *dev_path, const char *net_path, int strength);
52
void nma_dbus_set_device (DBusConnection *connection, NetworkDevice *dev, const char *essid, WirelessSecurityOption *opt);
53
void nma_dbus_create_network (DBusConnection *connection, NetworkDevice *dev, const char *essid, WirelessSecurityOption *opt);
55
void nma_free_data_model (NMApplet *applet);