Remove Automake, introspection files, etc. in preparation for future development

pull/1/head
Timothy Pearson 12 years ago
parent 4d89fd747f
commit bf231a0d03

@ -1,4 +0,0 @@
AUTOMAKE_OPTIONS = foreign 1.6.1
include admin/deps.am
include admin/Doxyfile.am

@ -1,14 +0,0 @@
all:
@echo "This Makefile is only for the CVS repository"
@echo "This will be deleted before making the distribution"
@echo ""
@if test ! -d admin; then \
echo "Please recheckout this module!" ;\
echo "for cvs: use checkout once and after that update again" ;\
echo "for cvsup: checkout kde-common from cvsup and" ;\
echo " link kde-common/admin to ./admin" ;\
exit 1 ;\
fi
$(MAKE) -f admin/Makefile.common cvs
.SILENT:

@ -1,4 +0,0 @@
dnl Put here things to be done at the very end - telling users
dnl about additional packages to install. Better yet is giving
dnl each project / subdr its own configure.in.bot.

@ -1,13 +0,0 @@
#MIN_CONFIG(3.2)
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
AM_INIT_AUTOMAKE(knetworkmanager, 0.8, kb9vqf@pearsoncomputing.net)
if test "$build_arts" = "yes"; then
AC_DEFINE(USE_ARTS, 1, [If we use arts volume])
LIB_ARTS="-lartskde"
AC_SUBST(LIB_ARTS)
fi
KDE_INIT_DOXYGEN([KEG Network API Reference], [Version $VERSION])

@ -1,3 +1,4 @@
Timothy Pearson <kb9vqf@pearsoncomputing.net>
Timo Hoenig <thoenig@suse.de>
Will Stephenson <wstephenson@kde.org>
Valentine Sinitsyn <e_val@inbox.ru>

File diff suppressed because it is too large Load Diff

@ -1,167 +0,0 @@
Basic Installation
==================
These are generic installation instructions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.
The file `configure.in' is used to create `configure' by a program
called `autoconf'. You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes a while. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Type `make install' to install the programs and any data files and
documentation.
4. You can remove the program binaries and object files from the
source code directory by typing `make clean'.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory. After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Specifying the System Type
==========================
There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on. Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
CPU-COMPANY-SYSTEM
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.
If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Operation Controls
==================
`configure' recognizes the following options to control how it
operates.
`--cache-file=FILE'
Use and save the results of the tests in FILE instead of
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
debugging `configure'.
`--help'
Print a summary of the options to `configure', and exit.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made.
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--version'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`configure' also accepts some other, not widely useful, options.

@ -1,7 +0,0 @@
SUBDIRS = pics src vpn-plugins po
dbusservicedir = $(DBUS_SYS_DIR)
dbusservice_DATA = knetworkmanager.conf
EXTRA_DIST = COPYING configure.in.in $(dbusservice_DATA)

@ -1,10 +0,0 @@
AUTOMAKE_OPTIONS = foreign 1.6.1
include admin/deps.am
include admin/Doxyfile.am
dbusservicedir = $(DBUS_SYS_DIR)
dbusservice_DATA = knetworkmanager.conf
EXTRA_DIST = COPYING configure.in.in admin $(dbusservice_DATA)

@ -1,3 +0,0 @@
22 June 2007 - KNetworkManager 0.2
23 September 2006 - KNetworkManager 0.1
28 March 2006 - KNetworkManager moves to KDE SVN

@ -1,25 +1,4 @@
KNetworkManager is a system tray application for controlling network connections on systems that use the NetworkManager daemon.
Currently the following things work:
* Show all network interfaces known to HAL and therefore to NetworkManager
* Connect to wired and wireless networks
* User interaction for encrypted (WEP, WPA Personal and WPA Enterprise) wireless networks
* User interaction to join hidden wireless networks
* Show signal strength for wireless networks in context menu
* Show tool tip with connection status on tray icon
* Show verbose tool tip with interface and network information on context
menu entries
* Store passwords of encrypted networks
* Store hidden wireless networks (per-user)
* Show connection status in system tray
* VPN support
* Notifications (new networks, new devices, NM status changes)
NetworkManager 0.6.2 is required to build this version of KNetworkManager.
If you encounter bugs, please report them using
* http://bugs.kde.org
Last update: 20-Sep-2006 - Timoe Hoenig <thoenig@suse.de>, <thoenig@nouse.net>
* Nothing!

@ -0,0 +1,2 @@
VPN support
Translations

@ -1,10 +0,0 @@
if test -n "$MISSING_DEPS"; then
echo "**************************************************"
echo "*"
echo "* KNetworkManager will not be built due to missing dependencies!"
echo "* Missing: $MISSING_DEPS"
echo "*"
echo "**************************************************"
fi

@ -1,147 +0,0 @@
#MIN_CONFIG(3.2)
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
AM_INIT_AUTOMAKE(knetworkmanager, 0.8, kb9vqf@pearsoncomputing.net)
AC_C_BIGENDIAN
AC_CHECK_KDEMAXPATHLEN
KNETWORKMANAGER_VERSION="0.8"
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_VERSION, $KNETWORKMANAGER_VERSION, [KNetworkManager Version])
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_VERSION_STRING, "$KNETWORKMANAGER_VERSION", [KNetworkManager Version String])
# check for dbus, hal, libnm-util and libnl
PKG_CHECK_MODULES(HAL, [hal], [], [
AC_MSG_RESULT([no])
AC_MSG_WARN([You need Hal, knetworkmanager will not be compiled])
DO_NOT_COMPILE="$DO_NOT_COMPILE knetworkmanager"
MISSING_DEPS="$MISSING_DEPS hal"
])
PKG_CHECK_MODULES(LIBNMUTIL, [libnm-util >= 0.7], [], [
AC_MSG_RESULT([no])
AC_MSG_WARN([You need libnm-util >= 0.7, knetworkmanager will not be compiled])
DO_NOT_COMPILE="$DO_NOT_COMPILE knetworkmanager"
MISSING_DEPS="$MISSING_DEPS libnm-util"
])
PKG_CHECK_MODULES(LIBNMGLIB, [libnm_glib >= 0.7], [], [
AC_MSG_RESULT([no])
AC_MSG_WARN([You need libnm-util, knetworkmanager will not be compiled])
DO_NOT_COMPILE="$DO_NOT_COMPILE knetworkmanager"
MISSING_DEPS="$MISSING_DEPS libnm-glib"
])
PKG_CHECK_MODULES(LIBNL, [libnl-1], [], [
AC_MSG_RESULT([no])
AC_MSG_WARN([You need libnl, knetworkmanager will not be compiled])
DO_NOT_COMPILE="$DO_NOT_COMPILE knetworkmanager"
MISSING_DEPS="$MISSING_DEPS libnl-1"
])
PKG_CHECK_MODULES(DBUS_TQT, [dbus-1-tqt >= 0.8.1], [], [
AC_MSG_RESULT([no])
AC_MSG_ERROR([TQT dbus bindings missing])
])
AC_CHECK_PROG(DBUSXML2QT3, [dbusxml2qt3], [dbusxml2qt3], [no])
if test "$DBUSXML2QT3" = no ; then
AC_MSG_WARN([You need dbusxml2qt3, knetworkmanager will not be compiled])
DO_NOT_COMPILE="$DO_NOT_COMPILE knetworkmanager"
MISSING_DEPS="$MISSING_DEPS dbusxml2qt3"
fi
PACKAGE_CFLAGS="$HAL_CFLAGS $LIBNL_CFLAGS $DBUS_TQT_CFLAGS $LIBNMGLIB_CFLAGS"
PACKAGE_LIBS="$HAL_LIBS $LIBNL_LIBS $DBUS_TQT_LIBS"
AC_ARG_WITH(dbus-sys, AC_HELP_STRING([--with-dbus-sys=DIR], [D-BUS system.d directory]))
if ! test -z "$with_dbus_sys" ; then
DBUS_SYS_DIR="$with_dbus_sys"
else
DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
fi
AC_SUBST(DBUS_SYS_DIR)
AC_DEFINE_UNQUOTED(DBUS_SYSTEMD_DIR, "$DBUS_SYS_DIR", [D-BUS system.d directory])
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)
AC_SUBST(LIB_DL)
AC_ARG_WITH(distro, AC_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: suse, gentoo, fedora]))
if test "x$with_distro" = "x"; then
AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse")
AC_CHECK_FILE(/etc/gentoo-release,with_distro="gentoo")
AC_CHECK_FILE(/etc/redhat-release,with_distro="fedora")
if test "x$with_distro" = "x"; then
with_distro=`lsb_release -is`
fi
fi
with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' `
# Compile dialup support
AC_ARG_WITH(dialup, AC_HELP_STRING([--with-dialup], [Build KNetworkManager with Dialup support (default)]))
if test "x$with_dialup" != "xno"; then
if test "x$with_distro" = "x"; then
echo "Linux distribution autodetection failed, you must specify the distribution to target using --with-distro=DISTRO"
else
case $with_distro in
suse)
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_DIALUP_CONFIG,
"tdesu --nonewdcop /sbin/yast2 modem",
[Command to launch dial up configuration tool])
;;
gentoo)
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_DIALUP_CONFIG,
"tdesu --nonewdcop ${TDEDIR}/bin/kppp",
[Command to launch dial up configuration tool])
;;
fedora)
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_DIALUP_CONFIG,
"tdesu --nonewdcop /usr/bin/kppp",
[Command to launch dial up configuration tool])
;;
*)
echo "Your distribution (${with_distro}) is not yet supported (e.g. you will not be able to launch a tool to configure dial-up connections.)"
;;
esac
fi
fi
# openvpn support
AC_ARG_WITH(openvpn, AC_HELP_STRING([--with-openvpn], [Build KNetworkManager with openvpn plugin]))
if test "x$with_openvpn" = "x"; then
AC_CHECK_FILE(/etc/NetworkManager/VPN/nm-openvpn-service.name,with_openvpn="yes" )
fi
AM_CONDITIONAL(WITH_OPENVPN, test x"$with_openvpn" = "xyes")
# vpnc support
AC_ARG_WITH(vpnc, AC_HELP_STRING([--with-vpnc], [Build KNetworkManager with vpnc plugin]))
if test "x$with_vpnc" = "x"; then
AC_CHECK_FILE(/etc/NetworkManager/VPN/nm-vpnc-service.name,with_vpnc="yes" )
fi
AM_CONDITIONAL(WITH_VPNC, test x"$with_vpnc" = "xyes")
# pptp support
AC_ARG_WITH(pptp, AC_HELP_STRING([--with-pptp], [Build KNetworkManager with pptp plugin]))
if test "x$with_pptp" = "x"; then
AC_CHECK_FILE(/etc/NetworkManager/VPN/nm-pptp-service.name,with_pptp="yes" )
fi
AM_CONDITIONAL(WITH_PPTP, test x"$with_pptp" = "xyes")
# strongswan support
AC_ARG_WITH(strongswan, AC_HELP_STRING([--with-strongswan], [Build KNetworkManager with strongswan plugin]))
if test "x$with_strongswan" = "x"; then
AC_CHECK_FILE(/etc/NetworkManager/VPN/nm-strongswan-service.name,with_strongswan="yes" )
fi
AM_CONDITIONAL(WITH_STRONGSWAN, test x"$with_strongswan" = "xyes")
# set include path for knetworkmanager-plugin.h and knetworkmanager-vpnplugin.h when vpn plugins are built together with knetworkmanager
KNETWORKMANAGER_CFLAGS="-I\$(top_srcdir)/knetworkmanager-0.8/src"
AC_SUBST(KNETWORKMANAGER_CFLAGS)

@ -1,18 +0,0 @@
EXTRA_DIST = \
nm-access-point.xml \
nm-active-connection.xml \
nm-device-802-11-wireless.xml \
nm-device-802-3-ethernet.xml \
nm-device-cdma.xml \
nm-device-gsm.xml \
nm-device.xml \
nm-exported-connection.xml \
nm-ip4-config.xml \
nm-manager.xml \
nm-manager-client.xml \
nm-ppp-manager.xml \
nm-settings.xml \
nm-vpn-manager.xml \
nm-vpn-plugin.xml \
nm-vpn-connection.xml

@ -1,92 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.AccessPoint">
<property name="Flags" type="u" access="read" tp:type="NM_802_11_AP_FLAGS">
<tp:docstring>Flags describing the capabilities of the access point.</tp:docstring>
</property>
<property name="WpaFlags" type="u" access="read" tp:type="NM_802_11_AP_SEC">
<tp:docstring>Flags describing the access point's capabilities according to WPA (Wifi Protected Access).</tp:docstring>
</property>
<property name="RsnFlags" type="u" access="read" tp:type="NM_802_11_AP_SEC">
<tp:docstring>Flags describing the access point's capabilities according to the RSN (Robust Secure Network) protocol.</tp:docstring>
</property>
<property name="Ssid" type="ay" access="read">
<tp:docstring>The Service Set Identifier identifying the access point.</tp:docstring>
</property>
<property name="Frequency" type="u" access="read">
<tp:docstring>The radio channel frequency in use by the access point, in MHz.</tp:docstring>
</property>
<property name="HwAddress" type="s" access="read">
<tp:docstring>The hardware address of the access point.</tp:docstring>
</property>
<property name="Mode" type="u" access="read" tp:type="NM_802_11_MODE">
<tp:docstring>Describes the operating mode of the access point.</tp:docstring>
</property>
<property name="MaxBitrate" type="u" access="read">
<tp:docstring>The maximum bitrate this access point is capable of, in kilobits/second (Kb/s).</tp:docstring>
</property>
<property name="Strength" type="y" access="read">
<tp:docstring>The current signal strength received from this access point.</tp:docstring>
</property>
<signal name="PropertiesChanged">
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
A dictionary mapping property names to variant boxed values
</tp:docstring>
</arg>
</signal>
<tp:flags name="NM_802_11_AP_FLAGS" value-prefix="NM_802_11_AP_FLAGS" type="u">
<tp:docstring>
Flags describing the general capabilities of the access point.
</tp:docstring>
<tp:flag suffix="NONE" value="0x0">
<tp:docstring>Null capability - says nothing about the access point.</tp:docstring>
</tp:flag>
<tp:flag suffix="PRIVACY" value="0x1">
<tp:docstring>Access point supports privacy measures.</tp:docstring>
</tp:flag>
</tp:flags>
<tp:flags name="NM_802_11_AP_SEC" value-prefix="NM_802_11_AP_SEC" type="u">
<tp:docstring>
Flags describing the security capabilities of the access point.
</tp:docstring>
<tp:flag suffix="NONE" value="0x0">
<tp:docstring>Null flag.</tp:docstring>
</tp:flag>
<tp:flag suffix="PAIR_WEP40" value="0x1">
<tp:docstring>Access point supports pairwise 40-bit WEP encryption.</tp:docstring>
</tp:flag>
<tp:flag suffix="PAIR_WEP104" value="0x2">
<tp:docstring>Access point supports pairwise 104-bit WEP encryption.</tp:docstring>
</tp:flag>
<tp:flag suffix="PAIR_TKIP" value="0x4">
<tp:docstring>Access point supports pairwise TKIP encryption.</tp:docstring>
</tp:flag>
<tp:flag suffix="PAIR_CCMP" value="0x8">
<tp:docstring>Access point supports pairwise CCMP encryption.</tp:docstring>
</tp:flag>
<tp:flag suffix="GROUP_WEP40" value="0x10">
<tp:docstring>Access point supports a group 40-bit WEP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="GROUP_WEP104" value="0x20">
<tp:docstring>Access point supports a group 104-bit WEP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="GROUP_TKIP" value="0x40">
<tp:docstring>Access point supports a group TKIP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="GROUP_CCMP" value="0x80">
<tp:docstring>Access point supports a group CCMP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="KEY_MGMT_PSK" value="0x100">
<tp:docstring>Access point supports PSK key management.</tp:docstring>
</tp:flag>
<tp:flag suffix="KEY_MGMT_802_1X" value="0x200">
<tp:docstring>Access point supports 802.1x key management.</tp:docstring>
</tp:flag>
</tp:flags>
</interface>
</node>

@ -1,57 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.Connection.Active">
<property name="ServiceName" type="s" access="read">
<tp:docstring>The D-Bus service name providing this connection.</tp:docstring>
</property>
<property name="Connection" type="o" access="read">
<tp:docstring>The path of the connection.</tp:docstring>
</property>
<property name="SpecificObject" type="o" access="read">
<tp:docstring>A specific object associated with the active connection.</tp:docstring>
</property>
<property name="SharedServiceName" type="s" access="read">
<tp:docstring>The D-Bus service name that provides a connection with which this active connection is shared.</tp:docstring>
</property>
<property name="SharedConnection" type="o" access="read">
<tp:docstring>The path of a connection provided by the D-Bus service SharedServiceName which which this connection is shared.</tp:docstring>
</property>
<property name="Devices" type="ao" access="read">
<tp:docstring>Array of object paths representing devices which are part of this active connection.</tp:docstring>
</property>
<property name="State" type="u" access="read" tp:type="NM_ACTIVE_DEVICE_STATE">
<tp:docstring>The state of this active connection.</tp:docstring>
</property>
<property name="Default" type="b" access="read">
<tp:docstring>Whether this active connection is the default connection, i.e. whether it currently owns the default route.</tp:docstring>
</property>
<signal name="PropertiesChanged">
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
A dictionary mapping property names to variant boxed values
</tp:docstring>
</arg>
</signal>
<tp:enum name="NM_ACTIVE_CONNECTION_STATE" type="u">
<tp:enumvalue suffix="UNKNOWN" value="0">
<tp:docstring>
The active connection is in an unknown state.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="ACTIVATING" value="1">
<tp:docstring>
The connection is activating.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="ACTIVATED" value="2">
<tp:docstring>
The connection is activated.
</tp:docstring>
</tp:enumvalue>
</tp:enum>
</interface>
</node>

@ -1,104 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.Device.Wireless">
<method name="GetAccessPoints">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_device_get_access_points"/>
<arg name="access_points" type="ao" direction="out">
<tp:docstring>
List of access point object paths
</tp:docstring>
</arg>
<tp:docstring>
Get the list of access points visible to this device.
</tp:docstring>
</method>
<property name="HwAddress" type="s" access="read">
<tp:docstring>
The hardware address of the device.
</tp:docstring>
</property>
<property name="Mode" type="u" access="read" tp:type="NM_802_11_MODE">
<tp:docstring>
The operating mode of the wireless device.
</tp:docstring>
</property>
<property name="Bitrate" type="u" access="read">
<tp:docstring>
The bit rate currently used by the wireless device, in kilobits/second (Kb/s).
</tp:docstring>
</property>
<property name="ActiveAccessPoint" type="o" access="read">
<tp:docstring>
Object path of the access point currently used by the wireless device.
</tp:docstring>
</property>
<property name="WirelessCapabilities" type="u" access="read" tp:type="NM_802_11_DEVICE_CAP">
<tp:docstring>
The capabilities of the wireless device.
</tp:docstring>
</property>
<signal name="PropertiesChanged">
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
A dictionary containing the FIXME: check changed parameters.
</tp:docstring>
</arg>
<tp:docstring>
Emitted when the wireless device's properties changed.
</tp:docstring>
</signal>
<signal name="AccessPointAdded">
<arg name="access_point" type="o">
<tp:docstring>
The object path of the newly found access point.
</tp:docstring>
</arg>
<tp:docstring>
Emitted when a new access point is found by the device.
</tp:docstring>
</signal>
<signal name="AccessPointRemoved">
<arg name="access_point" type="o">
<tp:docstring>
The object path of the access point that has disappeared.
</tp:docstring>
</arg>
<tp:docstring>
Emitted when an access point disappears from view of the device.
</tp:docstring>
</signal>
<tp:flags name="NM_802_11_DEVICE_CAP" type="u">
<tp:docstring>
Flags describing the capabilities of a wireless device.
</tp:docstring>
<tp:flag suffix="NONE" value="0x0">
<tp:docstring>Null capability - syntactic sugar for no capabilities supported. Do not AND this with other capabilities!</tp:docstring>
</tp:flag>
<tp:flag suffix="CIPHER_WEP40" value="0x1">
<tp:docstring>The device supports the 40-bit WEP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="CIPHER_WEP104" value="0x2">
<tp:docstring>The device supports the 104-bit WEP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="CIPHER_TKIP" value="0x4">
<tp:docstring>The device supports the TKIP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="CIPHER_CCMP" value="0x8">
<tp:docstring>The device supports the CCMP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="WPA" value="0x10">
<tp:docstring>The device supports the WPA encryption/authentication protocol.</tp:docstring>
</tp:flag>
<tp:flag suffix="RSN" value="0x20">
<tp:docstring>The device supports the RSN encryption/authentication protocol.</tp:docstring>
</tp:flag>
</tp:flags>
</interface>
</node>

@ -1,33 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.Device.Wired">
<property name="HwAddress" type="s" access="read">
<tp:docstring>
Hardware address of the device.
</tp:docstring>
</property>
<property name="Speed" type="u" access="read">
<tp:docstring>
Design speed of the device.
</tp:docstring>
</property>
<property name="Carrier" type="b" access="read">
<tp:docstring>
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).
</tp:docstring>
</property>
<signal name="PropertiesChanged">
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
A dictionary mapping property names to variant boxed values
</tp:docstring>
</arg>
</signal>
</interface>
</node>

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.Device.Cdma">
<signal name="PropertiesChanged">
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
A dictionary mapping property names to variant boxed values
</tp:docstring>
</arg>
</signal>
</interface>
</node>

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.Device.Gsm">
<signal name="PropertiesChanged">
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
A dictionary mapping property names to variant boxed values
</tp:docstring>
</arg>
</signal>
</interface>
</node>

@ -1,126 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.Device">
<property name="Udi" type="s" access="read">
<tp:docstring>
HAL UDI for the device.
</tp:docstring>
</property>
<property name="Interface" type="s" access="read">
<tp:docstring>
The network interface offered by the device.
</tp:docstring>
</property>
<property name="Driver" type="s" access="read">
<tp:docstring>
The driver handling the device.
</tp:docstring>
</property>
<property name="Capabilities" type="u" access="read" tp:type="NM_DEVICE_CAP">
<tp:docstring>
Flags describing the capabilities of the device.
</tp:docstring>
</property>
<property name="Ip4Address" type="i" access="read">
<tp:docstring>
The IPv4 address bound to the device. FIXME: what about devices with >1 IP address?
</tp:docstring>
</property>
<property name="State" type="u" access="read" tp:type="NM_DEVICE_STATE">
<tp:docstring>
The current state of the device.
</tp:docstring>
</property>
<property name="Ip4Config" type="o" access="read">
<tp:docstring>
Object path of the Ip4Config object describing the configuration of the device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.
</tp:docstring>
</property>
<property name="Managed" type="b" access="read">
<tp:docstring>
Whether or not this device is managed by NetworkManager.
</tp:docstring>
</property>
<!-- Ugh, but I see no other way of getting the type on the caller
based on dbus object path only -->
<property name="DeviceType" type="u" access="read">
<tp:docstring>
</tp:docstring>
</property>
<signal name="StateChanged">
<arg name="state" type="u" tp:type="NM_DEVICE_STATE">
<tp:docstring>
The new state of the device.
</tp:docstring>
</arg>
</signal>
<tp:enum name="NM_DEVICE_STATE" type="u">
<tp:enumvalue suffix="UNKNOWN" value="0">
<tp:docstring>
The device is in an unknown state.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="DOWN" value="1">
<tp:docstring>
The device is down.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="DISCONNECTED" value="2">
<tp:docstring>
The device is not connected.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="PREPARE" value="3">
<tp:docstring>
The device is preparing to connect.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="CONFIG" value="4">
<tp:docstring>
The device is being configured.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="NEED_AUTH" value="5">
<tp:docstring>
The device is awaiting authorization credentials.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="IP_CONFIG" value="6">
<tp:docstring>
The IP address of the device is being configured.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="ACTIVATED" value="7">
<tp:docstring>
The device is active.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="FAILED" value="8">
<tp:docstring>
The device is in a failure state following an attempt to activate it.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="CANCELLED" value="9">
<tp:docstring>
The previous activation attempt on this device was cancelled.
</tp:docstring>
</tp:enumvalue>
</tp:enum>
<tp:flags name="NM_DEVICE_CAP" value-prefix="NM_DEVICE_CAP" type="u">
<tp:flag suffix="NONE" value="0x0">
<tp:docstring>Null capability.</tp:docstring>
</tp:flag>
<tp:flag suffix="NM_SUPPORTED" value="0x1">
<tp:docstring>The device is supported by NetworkManager.</tp:docstring>
</tp:flag>
<tp:flag suffix="CARRIER_DETECT" value="0x2">
<tp:docstring>The device supports carrier detection.</tp:docstring>
</tp:flag>
</tp:flags>
</interface>
</node>

@ -1,108 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManagerSettings.Connection">
<tp:docstring>
Represents a single network connection configuration.
</tp:docstring>
<method name="GetID">
<tp:docstring>
Obtain the ID of this connection.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_exported_connection_get_id"/>
<arg name="id" type="s" direction="out">
<tp:docstring>
The ID of this connection.
</tp:docstring>
</arg>
</method>
<method name="Update">
<tp:docstring>
Update the connection.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_exported_connection_update"/>
<arg name="properties" type="a{sa{sv}}" direction="in">
<tp:docstring>
New connection properties.
</tp:docstring>
</arg>
</method>
<method name="Delete">
<tp:docstring>
Delete the connection.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_exported_connection_delete"/>
</method>
<method name="GetSettings">
<tp:docstring>
Get the settings maps describing this object.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_exported_connection_get_settings"/>
<arg name="settings" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
<tp:docstring>
The nested settings maps describing this object.
</tp:docstring>
</arg>
</method>
<signal name="Updated">
<tp:docstring>
Emitted when some settings changed.
</tp:docstring>
<arg name="settings" type="a{sa{sv}}" tp:type="String_String_Variant_Map_Map">
<tp:docstring>
Contains the changed settings.
</tp:docstring>
</arg>
</signal>
<signal name="Removed">
<tp:docstring>
Emitted when this settings object was removed. FIXME: Is this emitted after it was removed or when it is about to be removed? If after removed, then different semantics to Device removed. if prior to removal, should be called AboutToBeRemoved.
</tp:docstring>
</signal>
</interface>
<interface name="org.freedesktop.NetworkManagerSettings.Connection.Secrets">
<tp:docstring>
Secrets have a separate interface so that they can be locked down.
</tp:docstring>
<method name="GetSecrets">
<tp:docstring>
Get the secrets encapsulated in this object.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_exported_connection_get_secrets"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg name="setting_name" type="s" direction="in">
<tp:docstring>
Name of the setting to return.
</tp:docstring>
</arg>
<arg name="hints" type="as" direction="in">
<tp:docstring>
Array of strings of key names in the Setting for which NM thinks
a secrets may be required.
</tp:docstring>
</arg>
<arg name="request_new" type="b" direction="in">
<tp:docstring>
Indicates whether new secrets should be requested or if the request can be fulfilled from storage.
</tp:docstring>
</arg>
<arg name="secrets" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
<tp:docstring>
Nested settings maps containing secrets. Each setting MUST contain at least the 'name' field, containing the name of the setting, and one or more secrets.
</tp:docstring>
</arg>
</method>
</interface>
</node>

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.IP4Config">
<property name="Addresses" type="aau" access="read">
<tp:docstring>Tuples of IPv4 address/netmask/gateway. The gateway is optional, if not given should be 0.</tp:docstring>
</property>
<property name="Hostname" type="s" access="read">
<tp:docstring>The hostname associated with this IPv4 address. FIXME: what about multiple hostnames?</tp:docstring>
</property>
<property name="Nameservers" type="au" access="read">
<tp:docstring>The nameservers in use.</tp:docstring>
</property>
<property name="Domains" type="as" access="read">
<tp:docstring>A list of domains this address belongs to.</tp:docstring>
</property>
<property name="NisDomain" type="s" access="read">
<tp:docstring>The NIS domain this address belongs to.</tp:docstring>
</property>
<property name="NisServers" type="au" access="read">
<tp:docstring>The NIS servers associated with this address.</tp:docstring>
</property>
</interface>
</node>

@ -1,63 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
READ ME! READ ME! READ ME! READ ME! READ ME!
This file needs to be kept in sync with nm-manager.xml with the exception of
the legacy methods at the end of nm-manager.xml.
This file is only used to ensure that a few legacy 0.6 D-DBus methods that
NM supports don't leak into libnm-glib, but are only exposed by the NMManager
object. dbus-glib generates the same bound function names for D-Bus the methods
"sleep" and "Sleep", unfortunately.
-->
<node name="/">
<interface name="org.freedesktop.NetworkManager">
<method name="GetDevices">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_devices"/>
<arg name="devices" type="ao" direction="out"/>
</method>
<method name="ActivateConnection">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_activate_connection"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg name="service_name" type="s" direction="in"/>
<arg name="connection" type="o" direction="in"/>
<arg name="device" type="o" direction="in"/>
<arg name="specific_object" type="o" direction="in"/>
<arg name="active_connection" type="o" direction="out"/>
</method>
<method name="DeactivateConnection">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_deactivate_connection"/>
<arg name="active_connection" type="o" direction="in"/>
</method>
<method name="Sleep">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_sleep"/>
<arg name="sleep" type="b" direction="in"/>
</method>
<property name="WirelessEnabled" type="b" access="readwrite"/>
<property name="WirelessHardwareEnabled" type="b" access="read"/>
<property name="ActiveConnections" type="ao" access="read"/>
<property name="State" type="u" access="read"/>
<signal name="StateChanged">
<arg name="state" type="u"/>
</signal>
<signal name="PropertiesChanged">
<arg name="properties" type="a{sv}"/>
</signal>
<signal name="DeviceAdded">
<arg name="state" type="o"/>
</signal>
<signal name="DeviceRemoved">
<arg name="state" type="o"/>
</signal>
</interface>
</node>

@ -1,227 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
READ ME! READ ME! READ ME! READ ME! READ ME!
This file needs to be kept in sync with nm-manager-client.xml with the exception of
the legacy methods at the end of this file.
-->
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager">
<method name="GetDevices">
<tp:docstring>
Get the list of network devices.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_devices"/>
<arg name="devices" type="ao" direction="out">
<tp:docstring>
List of object paths of network devices known to the system.
</tp:docstring>
</arg>
</method>
<method name="ActivateConnection">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_activate_connection"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<tp:docstring>
Activate a connection using the supplied device.
</tp:docstring>
<arg name="service_name" type="s" direction="in">
<tp:docstring>
The D-Bus service name of the settings service that provides this connection.
</tp:docstring>
</arg>
<arg name="connection" type="o" direction="in">
<tp:docstring>
The connection to activate the devices with.
</tp:docstring>
</arg>
<arg name="device" type="o" direction="in">
<tp:docstring>
The device to be activated.
</tp:docstring>
</arg>
<arg name="specific_object" type="o" direction="in">
<tp:docstring>
The path of a device-type-specific object this activation should use, for example a WiFi access point.
</tp:docstring>
</arg>
<arg name="active_connection" type="o" direction="out">
<tp:docstring>
The path of the active connection object representing this active connection.
</tp:docstring>
</arg>
<tp:possible-errors>
<tp:error name="org.freedesktop.NetworkManager.Error.UnknownConnection"/>
<tp:error name="org.freedesktop.NetworkManager.Error.UnknownDevice"/>
<tp:error name="org.freedesktop.NetworkManager.Error.InvalidService"/>
<tp:error name="org.freedesktop.NetworkManager.Error.ConnectionActivating">
<tp:docstring>Another connection is already activating or the same connection is already active. FIXME: check if the error name is correct. FIXME: split into 2 errors?</tp:docstring>
</tp:error>
<tp:error name="org.freedesktop.NetworkManager.Error.ConnectionInvalid">
<tp:docstring>The connection is invalid for this device.</tp:docstring>
</tp:error>
</tp:possible-errors>
</method>
<method name="DeactivateConnection">
<tp:docstring>
Deactivate an active connection.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_deactivate_connection"/>
<arg name="active_connection" type="o" direction="in">
<tp:docstring>
The currently active connection to deactivate.
</tp:docstring>
</arg>
</method>
<method name="Sleep">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_sleep"/>
<tp:docstring>
Control the NetworkManager daemon's sleep state. When asleep, all interfaces that it manages are deactivated. When awake, devices are available to be activated.
</tp:docstring>
<arg name="sleep" type="b" direction="in">
<tp:docstring>
Indicates whether the NetworkManager daemon should sleep or wake.
</tp:docstring>
</arg>
</method>
<property name="WirelessEnabled" type="b" access="readwrite">
<tp:docstring>
Indicates if wireless is currently enabled or not.
</tp:docstring>
</property>
<property name="WirelessHardwareEnabled" type="b" access="read">
<tp:docstring>
Indicates if the wireless hardware is currently enabled, i.e. the state of the RF kill switch.
</tp:docstring>
</property>
<property name="ActiveConnections" type="ao" access="read">
<tp:docstring>
List of active connection object paths.
</tp:docstring>
</property>
<property name="State" type="u" access="read" tp:type="NM_STATE">
<tp:docstring>
The overall state of the NetworkManager daemon.
</tp:docstring>
</property>
<signal name="StateChanged">
<tp:docstring>
NetworkManager's state changed.
</tp:docstring>
<arg name="state" type="u" tp:type="NM_STATE">
<tp:docstring>
The new state of NetworkManager.
</tp:docstring>
</arg>
</signal>
<signal name="PropertiesChanged">
<tp:docstring>
NetworkManager's properties changed.
</tp:docstring>
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
The changed properties.
</tp:docstring>
</arg>
</signal>
<signal name="DeviceAdded">
<tp:docstring>
A device was added to the system
</tp:docstring>
<arg name="device_path" type="o">
<tp:docstring>
The object path of the newly added device.
</tp:docstring>
</arg>
</signal>
<signal name="DeviceRemoved">
<tp:docstring>
A device was removed from the system, and is no longer available.
</tp:docstring>
<arg name="device_path" type="o">
<tp:docstring>
The object path of the device that was just removed.
</tp:docstring>
</arg>
</signal>
<tp:enum name="NM_STATE" type="u">
<tp:docstring>
Describes the overall state of the daemon.
</tp:docstring>
<tp:enumvalue suffix="UNKNOWN" value="0">
<tp:docstring>
The NetworkManager daemon is in an unknown state.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="ASLEEP" value="1">
<tp:docstring>
The NetworkManager daemon is asleep and all interfaces managed by it are inactive.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="CONNECTING" value="2">
<tp:docstring>
The NetworkManager daemon is connecting a device. FIXME: What does this mean when one device is active and another is connecting?
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="CONNECTED" value="3">
<tp:docstring>
The NetworkManager daemon is connected.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="DISCONNECTED" value="4">
<tp:docstring>
The NetworkManager daemon is disconnected.
</tp:docstring>
</tp:enumvalue>
</tp:enum>
<!-- Legacy methods to maintain backwards compatibility for 0.6 branch. -->
<signal name="StateChange">
<tp:docstring>
DEPRECATED. NetworkManager's state changed. Use the 'StateChanged' signal instead.
</tp:docstring>
<arg name="state" type="u" tp:type="NM_STATE">
<tp:docstring>
The new state of NetworkManager.
</tp:docstring>
</arg>
</signal>
<method name="sleep">
<tp:docstring>
DEPRECATED. Control the NetworkManager daemon's sleep state. When asleep, all interfaces that it manages are deactivated.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_legacy_sleep"/>
</method>
<method name="wake">
<tp:docstring>
DEPRECATED. Control the NetworkManager daemon's sleep state. When awake, all known interfaces are available to be activated.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_legacy_wake"/>
</method>
<method name="state">
<tp:docstring>
DEPRECATED. The overall state of the NetworkManager daemon.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_legacy_state"/>
<arg name="state" type="u" direction="out" tp:type="NM_STATE"/>
</method>
</interface>
</node>

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/">
<interface name="org.freedesktop.NetworkManager.PPP">
<method name="NeedSecrets">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_ppp_manager_need_secrets"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg name="username" type="s" direction="out"/>
<arg name="password" type="s" direction="out"/>
</method>
<method name="SetIp4Config">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_ppp_manager_set_ip4_config"/>
<arg name="config" type="a{sv}" direction="in"/>
</method>
<method name="SetState">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_ppp_manager_set_state"/>
<arg name="state" type="u" direction="in"/>
</method>
</interface>
</node>

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManagerSettings">
<tp:docstring>
The NetworkManagerSettings interface is provided by the service which provides connections to NetworkManager.
</tp:docstring>
<method name="ListConnections">
<tp:docstring>
List the connections stored by this Settings object.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_settings_list_connections"/>
<arg name="connections" type="ao" direction="out">
<tp:docstring>
List of connections.
</tp:docstring>
</arg>
</method>
<signal name="NewConnection">
<tp:docstring>
Emitted when a new connection has been configured.
</tp:docstring>
<arg name="connection" type="o">
<tp:docstring>
Object path of the new connection.
</tp:docstring>
</arg>
</signal>
</interface>
</node>

@ -1,136 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.VPN.Connection">
<tp:docstring>
Represents an active connection to a Virtual Private Network.
</tp:docstring>
<signal name="PropertiesChanged">
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
A dictionary mapping property names to variant boxed values
</tp:docstring>
</arg>
</signal>
<property name="VpnState" type="u" access="read" tp:type="NM_VPN_CONNECTION_STATE">
<tp:docstring>The VPN-specific state of the connection.</tp:docstring>
</property>
<property name="Banner" type="s" access="read">
<tp:docstring>The banner string of the VPN connection.</tp:docstring>
</property>
<signal name="VpnStateChanged">
<tp:docstring>
Emitted when the state of the VPN connection has changed.
</tp:docstring>
<arg name="state" type="u" tp:type="NM_VPN_CONNECTION_STATE">
<tp:docstring>
The new state of the VPN connection.
</tp:docstring>
</arg>
<arg name="reason" type="u" tp:type="NM_VPN_CONNECTION_STATE_REASON">
<tp:docstring>
Reason code describing the change to the new state.
</tp:docstring>
</arg>
</signal>
<tp:enum name="NM_VPN_CONNECTION_STATE" type="u">
<tp:enumvalue suffix="UNKNOWN" value="0">
<tp:docstring>
The state of the VPN connection is unknown.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="PREPARE" value="1">
<tp:docstring>
The VPN connection is preparing to connect.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="NEED_AUTH" value="2">
<tp:docstring>
The VPN connection needs authorization credentials.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="CONNECT" value="3">
<tp:docstring>
The VPN connection is being established. FIXME: Should be CONNECTING or CONNECTED.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="IP_CONFIG_GET" value="4">
<tp:docstring>
The VPN connection is getting an IP address. FIXME: Should be an -ING
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="ACTIVATED" value="5">
<tp:docstring>
The VPN connection is active.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="FAILED" value="6">
<tp:docstring>
The VPN connection failed.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="DISCONNECTED" value="7">
<tp:docstring>
The VPN connection is disconnected.
</tp:docstring>
</tp:enumvalue>
</tp:enum>
<tp:enum name="NM_VPN_CONNECTION_STATE_REASON" type="u">
<tp:enumvalue suffix="UNKNOWN" value="0">
<tp:docstring>
The reason for the VPN connection state change is unknown.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="NONE" value="1">
<tp:docstring>
No reason was given for the VPN connection state change.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="USER_DISCONNECTED" value="2">
<tp:docstring>
The VPN connection changed state because the user disconnected it.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="DEVICE_DISCONNECTED" value="3">
<tp:docstring>
The VPN connection changed state because the device it was using was disconnected.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="SERVICE_STOPPED" value="4">
<tp:docstring>
The service providing the VPN connection was stopped.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="IP_CONFIG_INVALID" value="5">
<tp:docstring>
The IP config of the VPN connection was invalid.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="CONNECT_TIMEOUT" value="6">
<tp:docstring>
The connection attempt to the VPN service timed out.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="SERVICE_START_TIMEOUT" value="7">
<tp:docstring>
A timeout occurred while starting the service providing the VPN connection.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="SERVICE_START_FAILED" value="8">
<tp:docstring>
Starting the service starting the service providing the VPN connection failed.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="NO_SECRETS" value="9">
<tp:docstring>
Necessary secrets for the VPN connection were not provided.
</tp:docstring>
</tp:enumvalue>
</tp:enum>
</interface>
</node>

@ -1,163 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.Connection.Active">
<property name="ServiceName" type="s" access="read">
<tp:docstring>The D-Bus service name providing this connection.</tp:docstring>
</property>
<property name="Connection" type="o" access="read">
<tp:docstring>The path of the connection.</tp:docstring>
</property>
<property name="SpecificObject" type="o" access="read">
<tp:docstring>A specific object associated with the active connection.</tp:docstring>
</property>
<property name="SharedServiceName" type="s" access="read">
<tp:docstring>The D-Bus service name that provides a connection with which this active connection is shared.</tp:docstring>
</property>
<property name="SharedConnection" type="o" access="read">
<tp:docstring>The path of a connection provided by the D-Bus service SharedServiceName which which this connection is shared.</tp:docstring>
</property>
<property name="Devices" type="ao" access="read">
<tp:docstring>Array of object paths representing devices which are part of this active connection.</tp:docstring>
</property>
<property name="State" type="u" access="read" tp:type="NM_ACTIVE_DEVICE_STATE">
<tp:docstring>The state of this active connection.</tp:docstring>
</property>
<property name="Default" type="b" access="read">
<tp:docstring>Whether this active connection is the default connection, i.e. whether it currently owns the default route.</tp:docstring>
</property>
</interface>
<interface name="org.freedesktop.NetworkManager.VPN.Connection">
<tp:docstring>
Represents an active connection to a Virtual Private Network.
</tp:docstring>
<signal name="PropertiesChanged">
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
A dictionary mapping property names to variant boxed values
</tp:docstring>
</arg>
</signal>
<property name="VpnState" type="u" access="read" tp:type="NM_VPN_CONNECTION_STATE">
<tp:docstring>The VPN-specific state of the connection.</tp:docstring>
</property>
<property name="Banner" type="s" access="read">
<tp:docstring>The banner string of the VPN connection.</tp:docstring>
</property>
<signal name="VpnStateChanged">
<tp:docstring>
Emitted when the state of the VPN connection has changed.
</tp:docstring>
<arg name="state" type="u" tp:type="NM_VPN_CONNECTION_STATE">
<tp:docstring>
The new state of the VPN connection.
</tp:docstring>
</arg>
<arg name="reason" type="u" tp:type="NM_VPN_CONNECTION_STATE_REASON">
<tp:docstring>
Reason code describing the change to the new state.
</tp:docstring>
</arg>
</signal>
<tp:enum name="NM_VPN_CONNECTION_STATE" type="u">
<tp:enumvalue suffix="UNKNOWN" value="0">
<tp:docstring>
The state of the VPN connection is unknown.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="PREPARE" value="1">
<tp:docstring>
The VPN connection is preparing to connect.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="NEED_AUTH" value="2">
<tp:docstring>
The VPN connection needs authorization credentials.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="CONNECT" value="3">
<tp:docstring>
The VPN connection is being established. FIXME: Should be CONNECTING or CONNECTED.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="IP_CONFIG_GET" value="4">
<tp:docstring>
The VPN connection is getting an IP address. FIXME: Should be an -ING
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="ACTIVATED" value="5">
<tp:docstring>
The VPN connection is active.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="FAILED" value="6">
<tp:docstring>
The VPN connection failed.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="DISCONNECTED" value="7">
<tp:docstring>
The VPN connection is disconnected.
</tp:docstring>
</tp:enumvalue>
</tp:enum>
<tp:enum name="NM_VPN_CONNECTION_STATE_REASON" type="u">
<tp:enumvalue suffix="UNKNOWN" value="0">
<tp:docstring>
The reason for the VPN connection state change is unknown.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="NONE" value="1">
<tp:docstring>
No reason was given for the VPN connection state change.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="USER_DISCONNECTED" value="2">
<tp:docstring>
The VPN connection changed state because the user disconnected it.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="DEVICE_DISCONNECTED" value="3">
<tp:docstring>
The VPN connection changed state because the device it was using was disconnected.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="SERVICE_STOPPED" value="4">
<tp:docstring>
The service providing the VPN connection was stopped.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="IP_CONFIG_INVALID" value="5">
<tp:docstring>
The IP config of the VPN connection was invalid.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="CONNECT_TIMEOUT" value="6">
<tp:docstring>
The connection attempt to the VPN service timed out.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="SERVICE_START_TIMEOUT" value="7">
<tp:docstring>
A timeout occurred while starting the service providing the VPN connection.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="SERVICE_START_FAILED" value="8">
<tp:docstring>
Starting the service starting the service providing the VPN connection failed.
</tp:docstring>
</tp:enumvalue>
<tp:enumvalue suffix="NO_SECRETS" value="9">
<tp:docstring>
Necessary secrets for the VPN connection were not provided.
</tp:docstring>
</tp:enumvalue>
</tp:enum>
</interface>
</node>

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.VPN.Manager">
<method name="Connect">
<tp:docstring>
Establish a VPN connection.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_manager_connect"/>
<arg name="connection_type" type="s" direction="in">
<tp:docstring>
String describing the connection type.
</tp:docstring>
</arg>
<arg name="connection" type="o" direction="in">
<tp:docstring>
Object path of the network connection to establish the VPN connection on.
</tp:docstring>
</arg>
<arg name="device" type="o" direction="in">
<tp:docstring>
Object path of the device to establish the VPN connection on.
</tp:docstring>
</arg>
<arg name="vpn_connection" type="o" direction="out">
<tp:docstring>
Object path of the newly created VPN connection.
</tp:docstring>
</arg>
</method>
<method name="ListConnections">
<tp:docstring>
Get the list of active VPN connections.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_manager_get_connections"/>
<arg name="connections" type="ao" direction="out">
<tp:docstring>
List of object paths of active VPN connections.
</tp:docstring>
</arg>
</method>
</interface>
</node>

@ -1,132 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.VPN.Plugin">
<tp:docstring>
This interface is provided by plugins providing VPN services to the NetworkManager daemon.
</tp:docstring>
<method name="Connect">
<tp:docstring>
Tells the plugin to connect.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_connect"/>
<arg name="connection" type="a{sa{sv}}" direction="in" tp:type="String_String_Variant_Map_Map">
<tp:docstring>
Describes the connection to be established.
</tp:docstring>
</arg>
<tp:possible-errors>
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.StartingInProgress"/>
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.AlreadyStarted"/>
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.StoppingInProgress"/>
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.BadArguments"/>
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.LaunchFailed"/>
</tp:possible-errors>
</method>
<method name="NeedSecrets">
<tp:docstring>
Asks the plugin whether the provided connection will require secrets to connect successfully.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_need_secrets"/>
<arg name="settings" type="a{sa{sv}}" direction="in" tp:type="String_String_Variant_Map_Map">
<tp:docstring>
Describes the connection that may need secrets.
</tp:docstring>
</arg>
<arg name="setting_name" type="s" direction="out">
<tp:docstring>
The setting name within the provided connection that requires secrets, if any.
</tp:docstring>
</arg>
<tp:possible-errors>
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.ConnectionInvalid"/>
</tp:possible-errors>
</method>
<method name="Disconnect">
<tp:docstring>
Disconnect the plugin.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_disconnect"/>
<tp:possible-errors>
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.StoppingInProgress"/>
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.AlreadyStopped"/>
</tp:possible-errors>
</method>
<method name="SetIp4Config">
<tp:docstring>
Set IPv4 details on the connection.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_ip4_config"/>
<arg name="config" type="a{sv}" direction="in" tp:type="String_Variant_Map">
<tp:docstring>
Ip4Config details for the conneciton.
</tp:docstring>
</arg>
</method>
<method name="SetFailure">
<tp:docstring>
Indicate a failure to the plugin.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_failure"/>
<arg name="reason" type="s" direction="in">
<tp:docstring>
The reason for the failure.
</tp:docstring>
</arg>
</method>
<property name="State" type="u" access="read" tp:type="NM_VPN_CONNECTION_STATE">
<tp:docstring>
The state of the plugin.
</tp:docstring>
</property>
<signal name="StateChanged">
<tp:docstring>
Emitted when the plugin state changes.
</tp:docstring>
<arg name="state" type="u" tp:type="NM_VPN_CONNECTION_STATE">
<tp:docstring>
The new state of the plugin.
</tp:docstring>
</arg>
</signal>
<signal name="Ip4Config">
<tp:docstring>
The plugin obtained an IPv4 configuration.
</tp:docstring>
<arg name="ip4config" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
The IPv4 configuration.
</tp:docstring>
</arg>
</signal>
<signal name="LoginBanner">
<tp:docstring>
Emitted when the plugin receives a login banner from the VPN service.
</tp:docstring>
<arg name="banner" type="s">
<tp:docstring>
The login banner string.
</tp:docstring>
</arg>
</signal>
<signal name="Failure">
<tp:docstring>
Emitted when a failure in the VPN plugin occurs.
</tp:docstring>
<arg name="reason" type="u" tp:type="NM_VPN_CONNECTION_STATE_REASON">
<tp:docstring>
Reason code for the failure.
</tp:docstring>
</arg>
</signal>
</interface>
</node>

@ -1,5 +0,0 @@
knmicondir = $(kde_datadir)/knetworkmanager/icons
knmicon_ICON = AUTO
KDE_ICON = knetworkmanager knetworkmanager_disabled

@ -9,8 +9,6 @@
#
#################################################
add_subdirectory( dbus )
add_definitions( -UQT_NO_ASCII_CAST )
include_directories(
@ -89,5 +87,5 @@ tde_add_tdeinit_executable( knetworkmanager AUTOMOC
knetworkmanager-pluginmanager.cpp knetworkmanager-vpnservice.cpp knetworkmanager-vpnmanager.cpp
knetworkmanager-vpnauthenticationdialog.cpp devicetraycomponent.cpp traycomponent.cpp
vpn_tray_component.cpp secret_storage_plugin.cpp
LINK knm_dbus-static tdeui-shared kutils-shared ${DBUS_TQT_LIBRARIES}
LINK tdecore-shared tdeui-shared kutils-shared ${DBUS_TQT_LIBRARIES}
)

@ -1,220 +0,0 @@
SUBDIRS = dbus
# set the include path for X, qt and KDE
INCLUDES = $(PACKAGE_CFLAGS) $(all_includes)
# headers to install
include_HEADERS = knetworkmanager-plugin.h \
knetworkmanager-vpnplugin.h
# these are the headers for your project
noinst_HEADERS = knetworkmanager.h \
knetworkmanager-tray.h \
knetworkmanager-hal_device_proxy.h \
knetworkmanager-nm_proxy.h \
knetworkmanager-device.h \
knetworkmanager-wired_device.h \
knetworkmanager-vpn_device.h \
knetworkmanager-vpn_plugin.h \
knetworkmanager-gsm_device.h \
knetworkmanager-cdma_device.h \
knetworkmanager-cellular_device.h \
knetworkmanager-wireless_device.h \
knetworkmanager-devicestore.h \
knetworkmanager-cellular_device_tray.h \
knetworkmanager-device_tray.h \
knetworkmanager-wired_device_tray.h \
knetworkmanager-wireless_device_tray.h \
knetworkmanager-accesspoint.h \
knetworkmanager-wireless_menuitem.h \
knetworkmanager-menuitem.h \
knetworkmanager-menu_subhead.h \
knetworkmanager-connection_setting.h \
knetworkmanager-connection_setting_info.h \
knetworkmanager-connection_setting_ipv4.h \
knetworkmanager-connection_setting_wired.h \
knetworkmanager-connection_setting_wireless.h \
knetworkmanager-connection_setting_wireless_security.h \
knetworkmanager-connection_setting_8021x.h \
knetworkmanager-connection_setting_vpn.h \
knetworkmanager-connection_setting_serial.h \
knetworkmanager-connection_setting_cdma.h \
knetworkmanager-connection_setting_gsm.h \
knetworkmanager-connection_setting_ppp.h \
knetworkmanager-ppp_connection.h \
knetworkmanager-cdma_connection.h \
knetworkmanager-gsm_connection.h \
knetworkmanager-wired_connection.h \
knetworkmanager-vpn_connection.h \
knetworkmanager-wireless_connection.h \
knetworkmanager-generic_connection.h \
knetworkmanager-connection.h \
knetworkmanager-connection_dbus.h \
knetworkmanager-connection_secrets_dbus.h \
knetworkmanager-connection_store.h \
knetworkmanager-connection_setting_gsm_widget.h \
knetworkmanager-connection_setting_cdma_widget.h \
knetworkmanager-connection_setting_info_widget.h \
knetworkmanager-connection_setting_ipv4_widget.h \
knetworkmanager-connection_setting_ppp_widget.h \
knetworkmanager-connection_setting_serial_widget.h \
knetworkmanager-connection_setting_widget_interface.h \
knetworkmanager-connection_setting_wireless_security_widget.h \
knetworkmanager-connection_setting_wireless_widget.h \
knetworkmanager-connection_setting_vpn_widget.h \
knetworkmanager-connection_setting_widget_interface.h \
knetworkmanager-nmsettings.h \
sha1.h \
md5.h \
xmlmarshaller.h \
knetworkmanager-storage.h \
knetworkmanager-wireless_network.h \
knetworkmanager-wireless_manager.h \
knetworkmanager-connection_editor.h \
knetworkmanager-plugin.h \
knetworkmanager-vpnplugin.h \
knetworkmanager-pluginmanager.h \
knetworkmanager-vpnservice.h \
knetworkmanager-vpnmanager.h \
knetworkmanager-vpnauthenticationdialog.h \
devicetraycomponent.h \
traycomponent.h \
vpn_tray_component.h \
secret_storage_plugin.h
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
messages: rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/knetworkmanager.pot
#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS =
lib_LTLIBRARIES =
tdeinit_LTLIBRARIES = knetworkmanager.la
KDE_CXXFLAGS = -UQT_NO_ASCII_CAST ${LIBNMUTIL_CFLAGS}
# the application source, library search path, and link libraries
knetworkmanager_la_SOURCES = connection_setting_info.ui \
connection_setting_wireless_security_wep.ui \
connection_setting_gsm.ui \
connection_setting_cdma.ui \
connection_setting_ipv4.ui \
connection_setting_ppp.ui \
connection_setting_serial.ui \
connection_setting_wireless_security_wpacipher.ui \
connection_setting_wireless_security_eap.ui \
connection_setting_wireless_security_wpapsk.ui \
connection_setting_wireless_security_phase2.ui \
connection_setting_wireless_security_wpaversion.ui \
connection_setting_wireless_security.ui \
connection_setting_wireless.ui \
connection_setting_wireless_security_wepencryption.ui \
connection_settings.ui \
connection_setting_wireless_security_auth.ui \
connection_setting_vpn.ui \
connection_editor.ui \
vpnauthentication.ui \
main.cpp \
knetworkmanager.cpp \
knetworkmanager-tray.cpp \
knetworkmanager-hal_device_proxy.cpp \
knetworkmanager-nm_proxy.cpp \
knetworkmanager-device.cpp \
knetworkmanager-cdma_device.cpp \
knetworkmanager-cellular_device.cpp \
knetworkmanager-gsm_device.cpp \
knetworkmanager-wired_device.cpp \
knetworkmanager-vpn_device.cpp \
knetworkmanager-vpn_plugin.cpp \
knetworkmanager-wireless_device.cpp \
knetworkmanager-devicestore.cpp \
knetworkmanager-cellular_device_tray.cpp \
knetworkmanager-device_tray.cpp \
knetworkmanager-wired_device_tray.cpp \
knetworkmanager-wireless_device_tray.cpp \
knetworkmanager-accesspoint.cpp \
knetworkmanager-wireless_menuitem.cpp \
knetworkmanager-menuitem.cpp \
knetworkmanager-menu_subhead.cpp \
knetworkmanager-connection_setting.cpp \
knetworkmanager-connection_setting_info.cpp \
knetworkmanager-connection_setting_ipv4.cpp \
knetworkmanager-connection_setting_wired.cpp \
knetworkmanager-connection_setting_wireless.cpp \
knetworkmanager-connection_setting_wireless_security.cpp \
knetworkmanager-connection_setting_8021x.cpp \
knetworkmanager-connection_setting_vpn.cpp \
knetworkmanager-connection_setting_serial.cpp \
knetworkmanager-connection_setting_cdma.cpp \
knetworkmanager-connection_setting_gsm.cpp \
knetworkmanager-connection_setting_ppp.cpp \
knetworkmanager-connection_dbus.cpp \
knetworkmanager-connection_secrets_dbus.cpp \
knetworkmanager-connection.cpp \
knetworkmanager-generic_connection.cpp \
knetworkmanager-cdma_connection.cpp \
knetworkmanager-gsm_connection.cpp \
knetworkmanager-ppp_connection.cpp \
knetworkmanager-wireless_connection.cpp \
knetworkmanager-wired_connection.cpp \
knetworkmanager-vpn_connection.cpp \
knetworkmanager-connection_store.cpp \
knetworkmanager-connection_setting_cdma_widget.cpp \
knetworkmanager-connection_setting_gsm_widget.cpp \
knetworkmanager-connection_setting_info_widget.cpp \
knetworkmanager-connection_setting_ipv4_widget.cpp \
knetworkmanager-connection_setting_ppp_widget.cpp \
knetworkmanager-connection_setting_serial_widget.cpp \
knetworkmanager-connection_setting_wireless_security_widget.cpp \
knetworkmanager-connection_setting_wireless_widget.cpp \
knetworkmanager-connection_setting_vpn_widget.cpp \
knetworkmanager-connection_settings_dialog.cpp \
knetworkmanager-connection_setting_widget_interface.cpp \
knetworkmanager-nmsettings.cpp \
sha1.cpp \
md5.cpp \
xmlmarshaller.cpp \
knetworkmanager-storage.cpp \
knetworkmanager-wireless_network.cpp \
knetworkmanager-wireless_manager.cpp \
knetworkmanager-connection_editor.cpp \
knetworkmanager-plugin.cpp \
knetworkmanager-vpnplugin.cpp \
knetworkmanager-pluginmanager.cpp \
knetworkmanager-vpnservice.cpp \
knetworkmanager-vpnmanager.cpp \
knetworkmanager-vpnauthenticationdialog.cpp \
devicetraycomponent.cpp \
traycomponent.cpp \
vpn_tray_component.cpp \
secret_storage_plugin.cpp
knetworkmanager_la_LDFLAGS = -module \
$(KDE_RPATH) \
$(all_libraries) \
$(KDE_PLUGIN)
knetworkmanager_la_LIBADD = dbus/libknm_dbus.la \
$(PACKAGE_LIBS) \
$(LIB_TDEUI) \
$(LIB_KUTILS) \
$(LIB_KWALLETCLIENT) \
$(LIB_TDEUI)
# this is where the desktop file will go
xdg_apps_DATA = knetworkmanager.desktop
mydatadir = $(kde_datadir)/knetworkmanager
mydata_DATA = eventsrc
servicetype_DATA = knetworkmanager_plugin.desktop knetworkmanager_vpnplugin.desktop
servicetypedir = $(kde_servicetypesdir)
EXTRA_DIST = $(xdg_apps_DATA) $(mydata_DATA) $(servicetype_DATA)

@ -1,88 +0,0 @@
#################################################
#
# (C) 2010 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${TQT_INCLUDE_DIRS}
${DBUS_TQT_INCLUDE_DIRS}
)
##### knm_dbus (static) #########################
set( INTROSPECTIONPATH "${CMAKE_SOURCE_DIR}/knetworkmanager-0.8/introspection" )
# options:
# p - generate proxy files
# i - generate interface files
# n - generate node files
function( add_dbus_xml option basename classname namespace xmlfile )
if( classname )
set( classname -c ${classname} )
endif( )
add_custom_command( OUTPUT ${basename}.cpp ${basename}.h
COMMAND ${DBUSXML2QT3_EXECUTABLE} -${option} ${basename} ${classname} -N ${namespace} ${INTROSPECTIONPATH}/${xmlfile} 2>/dev/null
DEPENDS ${INTROSPECTIONPATH}/${xmlfile} )
endfunction( )
add_dbus_xml( p networkmanagerproxy NetworkManagerProxy DBus nm-manager.xml )
add_dbus_xml( p networkmanagervpnproxy NetworkManagerVPNProxy DBus nm-vpn-manager.xml )
add_dbus_xml( p deviceproxy DeviceProxy DBus nm-device.xml )
add_dbus_xml( p wirelessproxy WirelessDeviceProxy DBus nm-device-802-11-wireless.xml )
add_dbus_xml( p wiredproxy WiredDeviceProxy DBus nm-device-802-3-ethernet.xml )
add_dbus_xml( p gsmproxy GSMDeviceProxy DBus nm-device-gsm.xml )
add_dbus_xml( p cdmaproxy CDMADeviceProxy DBus nm-device-cdma.xml )
add_dbus_xml( p accesspointproxy AccessPointProxy DBus nm-access-point.xml )
add_dbus_xml( p activeconnectionproxy ActiveConnectionProxy DBus nm-active-connection.xml )
add_dbus_xml( p vpnconnectionproxy VPNConnectionProxy DBus nm-vpn-connection-only.xml )
add_dbus_xml( p vpnpluginproxy VPNPluginProxy DBus nm-vpn-plugin.xml )
add_dbus_xml( i networkmanagersettings SettingsInterface DBus nm-settings.xml )
add_dbus_xml( i connection "" DBus nm-exported-connection.xml )
add_custom_command( OUTPUT connectionnode.cpp connectionnode.h introspectableinterface.cpp introspectableinterface.h
COMMAND ${DBUSXML2QT3_EXECUTABLE} -n connectionnode -c ConnectionNode -N DBus ${INTROSPECTIONPATH}/nm-exported-connection.xml 2>/dev/null
COMMAND sed s/\#include\\ \\"secrets.h\\"// connectionnode.cpp > connectionnode.cpp_tmp
COMMAND sed s/\#include\\ \\"introspectable.h\\"/\#include\\ \\"introspectableinterface.h\\"/ connectionnode.cpp_tmp > connectionnode.cpp
COMMAND rm -f connectionnode.cpp_tmp
DEPENDS ${INTROSPECTIONPATH}/nm-exported-connection.xml )
# generate moc files
set( MOCHEADERS accesspointproxy.h deviceproxy.h networkmanagerproxy.h networkmanagervpnproxy.h wiredproxy.h
wirelessproxy.h activeconnectionproxy.h vpnconnectionproxy.h vpnpluginproxy.h gsmproxy.h cdmaproxy.h )
foreach( _header_file ${MOCHEADERS} )
get_filename_component( _basename "${_header_file}" NAME_WE )
set( _moc_file ${_basename}.moc )
list( APPEND _moc_files ${_moc_file} )
add_custom_command( OUTPUT ${_moc_file}
COMMAND ${TMOC_EXECUTABLE} ${_header_file} -o ${_moc_file}
DEPENDS ${_header_file} )
endforeach( )
add_custom_command( OUTPUT mocfiles.cpp
COMMAND cat ${_moc_files} > mocfiles.cpp
DEPENDS ${_moc_files} )
# build the library
tde_add_library( knm_dbus STATIC_PIC
SOURCES
networkmanagerproxy.cpp networkmanagervpnproxy.cpp
deviceproxy.cpp wiredproxy.cpp wirelessproxy.cpp
accesspointproxy.cpp networkmanagersettings.cpp
connection.cpp connectionnode.cpp introspectableinterface.cpp
mocfiles.cpp activeconnectionproxy.cpp vpnconnectionproxy.cpp
vpnpluginproxy.cpp gsmproxy.cpp cdmaproxy.cpp
)

@ -1,129 +0,0 @@
INCLUDES = $(DBUS_TQT_CFLAGS) $(QT_INCLUDES)
INTROSPECTIONPATH = $(srcdir)/../../introspection/
MOCHEADERS = accesspointproxy.h deviceproxy.h networkmanagerproxy.h networkmanagervpnproxy.h \
wiredproxy.h wirelessproxy.h activeconnectionproxy.h vpnconnectionproxy.h vpnpluginproxy.h gsmproxy.h cdmaproxy.h
#ip4configproxy.h
MOCSUBS = accesspointproxy.moc deviceproxy.moc networkmanagerproxy.moc networkmanagervpnproxy.moc \
wiredproxy.moc wirelessproxy.moc activeconnectionproxy.moc vpnconnectionproxy.moc vpnpluginproxy.moc gsmproxy.moc cdmaproxy.moc
#ip4configproxy.moc
DBUSPROXY = networkmanagerproxy.cpp \
networkmanagervpnproxy.cpp \
deviceproxy.cpp \
wiredproxy.cpp \
wirelessproxy.cpp \
accesspointproxy.cpp \
networkmanagersettings.cpp \
connection.cpp \
connectionnode.cpp \
introspectableinterface.cpp \
mocfiles.cpp \
activeconnectionproxy.cpp \
vpnconnectionproxy.cpp \
vpnpluginproxy.cpp \
gsmproxy.cpp \
cdmaproxy.cpp
# ip4configproxy.cpp
DBUSPROXYHEADERS = networkmanagerproxy.h \
networkmanagervpnproxy.h \
deviceproxy.h \
wiredproxy.h \
wirelessproxy.h \
accesspointproxy.h \
networkmanagersettings.h \
connection.h \
connectionnode.h \
introspectableinterface.h \
activeconnectionproxy.h \
vpnconnectionproxy.h \
vpnpluginproxy.h \
gsmproxy.h \
cdmaproxy.h
# ip4configproxy.h
noinst_HEADERS = accesspointproxy.h \
connection.h \
connectionnode.h \
deviceproxy.h \
introspectableinterface.h \
networkmanagerproxy.h \
networkmanagervpnproxy.h \
networkmanagersettings.h \
wiredproxy.h \
wirelessproxy.h \
activeconnectionproxy.h \
vpnconnectionproxy.h \
vpnpluginproxy.h \
gsmproxy.h \
cdmaproxy.h
#ip4configproxy.h
noinst_LTLIBRARIES = libknm_dbus.la
libknm_dbus_la_SOURCES = $(DBUSPROXY)
CLEANFILES = $(DBUSPROXY) $(DBUSPROXYHEADERS) $(MOCSUBS)
.h.moc:
$(TQTMOC) $< -o $@
mocfiles.cpp: $(MOCSUBS)
cat $(MOCSUBS) > mocfiles.cpp
networkmanagerproxy.cpp networkmanagerproxy.h:
$(DBUSXML2QT3) -p networkmanagerproxy -c NetworkManagerProxy -N DBus $(INTROSPECTIONPATH)nm-manager.xml
networkmanagervpnproxy.cpp networkmanagervpnproxy.h:
$(DBUSXML2QT3) -p networkmanagervpnproxy -c NetworkManagerVPNProxy -N DBus $(INTROSPECTIONPATH)nm-vpn-manager.xml
deviceproxy.cpp deviceproxy.h:
$(DBUSXML2QT3) -p deviceproxy -c DeviceProxy -N DBus $(INTROSPECTIONPATH)nm-device.xml
wirelessproxy.cpp wirelessproxy.h:
$(DBUSXML2QT3) -p wirelessproxy -c WirelessDeviceProxy -N DBus $(INTROSPECTIONPATH)nm-device-802-11-wireless.xml
wiredproxy.cpp wiredproxy.h:
$(DBUSXML2QT3) -p wiredproxy -c WiredDeviceProxy -N DBus $(INTROSPECTIONPATH)nm-device-802-3-ethernet.xml
gsmproxy.cpp gsmproxy.h:
$(DBUSXML2QT3) -p gsmproxy -c GSMDeviceProxy -N DBus $(INTROSPECTIONPATH)nm-device-gsm.xml
cdmaproxy.cpp cdmaproxy.h:
$(DBUSXML2QT3) -p cdmaproxy -c CDMADeviceProxy -N DBus $(INTROSPECTIONPATH)nm-device-cdma.xml
#ip4configproxy.cpp ip4configproxy.h:
# $(DBUSXML2QT3) -p ip4configproxy -c IP4ConfigProxy -N DBus $(INTROSPECTIONPATH)nm-ip4-config.xml
accesspointproxy.cpp accesspointproxy.h:
$(DBUSXML2QT3) -p accesspointproxy -c AccessPointProxy -N DBus $(INTROSPECTIONPATH)nm-access-point.xml
activeconnectionproxy.cpp activeconnectionproxy.h:
$(DBUSXML2QT3) -p activeconnectionproxy -c ActiveConnectionProxy -N DBus $(INTROSPECTIONPATH)nm-active-connection.xml
#vpnconnectionproxy.cpp vpnconnectionproxy.h:
# $(DBUSXML2QT3) -p vpnconnectionproxy -c VPNConnectionProxy -N DBus $(INTROSPECTIONPATH)nm-vpn-connection.xml
#vpnconnectionproxy.cpp vpnconnectionproxy.h:
# $(DBUSXML2QT3) -p vpnconnectionproxy -N DBus $(INTROSPECTIONPATH)nm-vpn-connection.xml
vpnconnectionproxy.cpp vpnconnectionproxy.h:
$(DBUSXML2QT3) -p vpnconnectionproxy -c VPNConnectionProxy -N DBus $(INTROSPECTIONPATH)nm-vpn-connection-only.xml
vpnpluginproxy.cpp vpnpluginproxy.h:
$(DBUSXML2QT3) -p vpnpluginproxy -c VPNPluginProxy -N DBus $(INTROSPECTIONPATH)nm-vpn-plugin.xml
networkmanagersettings.cpp networkmanagersettings.h:
$(DBUSXML2QT3) -i networkmanagersettings -c SettingsInterface -N DBus $(INTROSPECTIONPATH)nm-settings.xml
connection.cpp connection.h:
$(DBUSXML2QT3) -i connection -N DBus $(INTROSPECTIONPATH)nm-exported-connection.xml
connectionnode.cpp connectionnode.h introspectableinterface.cpp introspectableinterface.h:
$(DBUSXML2QT3) -n connectionnode -c ConnectionNode -N DBus $(INTROSPECTIONPATH)nm-exported-connection.xml
sed s/#include\ \"secrets.h\"// connectionnode.cpp > connectionnode.cpp_tmp
sed s/#include\ \"introspectable.h\"/#include\ \"introspectableinterface.h\"/ connectionnode.cpp_tmp > connectionnode.cpp
rm -f connectionnode.cpp_tmp

@ -1,17 +0,0 @@
SUBDIRS=
if WITH_OPENVPN
SUBDIRS += openvpn
endif
if WITH_VPNC
SUBDIRS += vpnc
endif
if WITH_STRONGSWAN
SUBDIRS += strongswan
endif
if WITH_PPTP
SUBDIRS += pptp
endif

@ -1,5 +0,0 @@
SUBDIRS = src
service_DATA = knetworkmanager_openvpn.desktop
servicedir = $(kde_servicesdir)

@ -1,14 +0,0 @@
KNETWORKMANAGER_OPENVPN_VERSION=0.1
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_OPENVPN_VERSION, $KNETWORKMANAGER_OPENVPN_VERSION, [KNetworkManager OpenVPN Plugin Version])
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_OPENVPN_VERSION_STRING, "$KNETWORKMANAGER_OPENVPN_VERSION", [KNetworkManager OpenVPN Plugin Version String])
PKG_CHECK_MODULES(DBUS_TQT, [dbus-1-tqt >= 0.8.1], [], [
AC_MSG_RESULT([no])
AC_MSG_ERROR([TQT dbus bindings missing])
])
OPENVPN_CFLAGS="$DBUS_TQT_CFLAGS"
OPENVPN_LIBS="$DBUS_TQT_LIBS"
AC_SUBST(OPENVPN_CFLAGS)
AC_SUBST(OPENVPN_LIBS)

@ -1,12 +0,0 @@
INCLUDES = $(KNETWORKMANAGER_CFLAGS) $(OPENVPN_CFLAGS) $(all_includes)
METASOURCES = AUTO
kde_module_LTLIBRARIES = knetworkmanager_openvpn.la
knetworkmanager_openvpn_la_SOURCES = knetworkmanager-openvpn.cpp \
openvpnprop.ui \
openvpnauth.ui
noinst_HEADERS = knetworkmanager-openvpn.h
knetworkmanager_openvpn_la_LDFLAGS = -module $(all_libraries)
knetworkmanager_openvpn_la_LIBADD = $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT)

@ -1,5 +0,0 @@
SUBDIRS = src
service_DATA = knetworkmanager_pptp.desktop
servicedir = $(kde_servicesdir)

@ -1,5 +0,0 @@
KNETWORKMANAGER_PPTP_VERSION=0.1
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_PPTP_VERSION, $KNETWORKMANAGER_PPTP_VERSION, [KNetworkManager PPTP Plugin Version])
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_PPTP_VERSION_STRING, "$KNETWORKMANAGER_PPTP_VERSION", [KNetworkManager PPTP Plugin Version String])

@ -1,12 +0,0 @@
INCLUDES = $(KNETWORKMANAGER_CFLAGS) $(PACKAGE_CFLAGS) $(all_includes)
METASOURCES = AUTO
kde_module_LTLIBRARIES = knetworkmanager_pptp.la
knetworkmanager_pptp_la_SOURCES = knetworkmanager-pptp.cpp \
pptpprop.ui \
pptpauth.ui
noinst_HEADERS = knetworkmanager-pptp.h
knetworkmanager_pptp_la_LDFLAGS = -module $(all_libraries)
knetworkmanager_pptp_la_LIBADD = $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT)

@ -1,34 +0,0 @@
INCLUDES = $(PACKAGE_CFLAGS) $(all_includes)
# rule for creating tqmoc files
%.tqmoc.cpp: %.h
$(TQMOC) -o $@ $<
# rules for creating .h and .cpp from .ui
%.cpp: %.ui %.h
$(UIC) -tr tr2i18n -pch klocale.h -o $@ -impl $*.h $<
%.h: %.ui
$(UIC) -o $@ $<
all_TQMOC = knetworkmanager-vpnc.tqmoc.cpp \
vpncauth.tqmoc.cpp \
vpncprop.tqmoc.cpp
all_METASOURCES = vpncauth.cpp \
vpncprop.cpp
all_IMPLEMENTATIONS = knetworkmanager-vpnc.cpp
kde_module_LTLIBRARIES = knetworkmanager_vpnc.la
knetworkmanager_vpnc_la_SOURCES = $(all_METASOURCES) $(all_TQMOC) $(all_IMPLEMENTATIONS)
noinst_HEADERS = knetworkmanager-vpnc.h
knetworkmanager_vpnc_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN)
knetworkmanager_vpnc_la_LIBADD = $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT)
service_DATA = knetworkmanager_vpnc.desktop
servicedir = $(kde_servicesdir)
CLEANFILES = $(all_TQMOC) $(all_METASOURCES)

@ -1,5 +0,0 @@
SUBDIRS = src
service_DATA = knetworkmanager_strongswan.desktop
servicedir = $(kde_servicesdir)

@ -1,14 +0,0 @@
KNETWORKMANAGER_STRONGSWAN_VERSION=0.1
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_STRONGSWAN_VERSION, $KNETWORKMANAGER_STRONGSWAN_VERSION, [KNetworkManager StrongSwan Plugin Version])
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_STRONGSWAN_VERSION_STRING, "$KNETWORKMANAGER_STRONGSWAN_VERSION", [KNetworkManager StrongSwan Plugin Version String])
PKG_CHECK_MODULES(DBUS_TQT, [dbus-1-tqt >= 0.8.1], [], [
AC_MSG_RESULT([no])
AC_MSG_ERROR([TQT dbus bindings missing])
])
STRONGSWAN_CFLAGS="$DBUS_TQT_CFLAGS"
STRONGSWAN_LIBS="$DBUS_TQT_LIBS"
AC_SUBST(STRONGSWAN_CFLAGS)
AC_SUBST(STRONGSWAN_LIBS)

@ -1,12 +0,0 @@
INCLUDES = $(PACKAGE_CFLAGS) $(KNETWORKMANAGER_CFLAGS) $(SSWAN_FLAGS) $(all_includes)
METASOURCES = AUTO
kde_module_LTLIBRARIES = knetworkmanager_strongswan.la
knetworkmanager_strongswan_la_SOURCES = knetworkmanager-strongswan.cpp \
strongswanprop.ui \
strongswanauth.ui
noinst_HEADERS = knetworkmanager-strongswan.h
knetworkmanager_strongswan_la_LDFLAGS = -module $(all_libraries)
knetworkmanager_strongswan_la_LIBADD = $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT)

@ -1,5 +0,0 @@
SUBDIRS = src
service_DATA = knetworkmanager_vpnc.desktop
servicedir = $(kde_servicesdir)

@ -1,14 +0,0 @@
KNETWORKMANAGER_VPNC_VERSION=0.1
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_VPNC_VERSION, $KNETWORKMANAGER_VPNC_VERSION, [KNetworkManager VPNC Plugin Version])
AC_DEFINE_UNQUOTED(KNETWORKMANAGER_VPNC_VERSION_STRING, "$KNETWORKMANAGER_VPNC_VERSION", [KNetworkManager VPNC Plugin Version String])
PKG_CHECK_MODULES(DBUS_TQT, [dbus-1-tqt >= 0.8.1], [], [
AC_MSG_RESULT([no])
AC_MSG_ERROR([TQT dbus bindings missing])
])
VPNC_CFLAGS="$DBUS_TQT_CFLAGS"
VPNC_LIBS="$DBUS_TQT_LIBS"
AC_SUBST(VPNC_CFLAGS)
AC_SUBST(VPNC_LIBS)

@ -1,12 +0,0 @@
INCLUDES = $(KNETWORKMANAGER_CFLAGS) $(VPNC_CFLAGS) $(all_includes)
METASOURCES = AUTO
kde_module_LTLIBRARIES = knetworkmanager_vpnc.la
knetworkmanager_vpnc_la_SOURCES = knetworkmanager-vpnc.cpp \
vpncprop.ui \
vpncauth.ui
noinst_HEADERS = knetworkmanager-vpnc.h
knetworkmanager_vpnc_la_LDFLAGS = -module $(all_libraries)
knetworkmanager_vpnc_la_LIBADD = $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT)
Loading…
Cancel
Save