1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301 USA.
19 * Copyright 2009 Novell, Inc.
22 #ifndef NM_SETTING_WIMAX_H
23 #define NM_SETTING_WIMAX_H
25 #include <nm-setting.h>
29 #define NM_TYPE_SETTING_WIMAX (nm_setting_wimax_get_type ())
30 #define NM_SETTING_WIMAX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_SETTING_WIMAX, NMSettingWimax))
31 #define NM_SETTING_WIMAX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_SETTING_WIMAX, NMSettingWimaxClass))
32 #define NM_IS_SETTING_WIMAX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_SETTING_WIMAX))
33 #define NM_IS_SETTING_WIMAX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_SETTING_WIMAX))
34 #define NM_SETTING_WIMAX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_SETTING_WIMAX, NMSettingWimaxClass))
36 #define NM_SETTING_WIMAX_SETTING_NAME "wimax"
39 * NMSettingWimaxError:
40 * @NM_SETTING_WIMAX_ERROR_UNKNOWN: unknown or unclassified error
41 * @NM_SETTING_WIMAX_ERROR_INVALID_PROPERTY: the property was invalid
42 * @NM_SETTING_WIMAX_ERROR_MISSING_PROPERTY: the property was missing and is
46 NM_SETTING_WIMAX_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/
47 NM_SETTING_WIMAX_ERROR_INVALID_PROPERTY, /*< nick=InvalidProperty >*/
48 NM_SETTING_WIMAX_ERROR_MISSING_PROPERTY /*< nick=MissingProperty >*/
49 } NMSettingWimaxError;
51 #define NM_SETTING_WIMAX_ERROR nm_setting_wimax_error_quark ()
53 GQuark nm_setting_wimax_error_quark (void);
55 #define NM_SETTING_WIMAX_NETWORK_NAME "network-name"
56 #define NM_SETTING_WIMAX_MAC_ADDRESS "mac-address"
63 NMSettingClass parent;
64 } NMSettingWimaxClass;
67 GType nm_setting_wimax_get_type (void);
70 NMSetting *nm_setting_wimax_new (void);
72 const char *nm_setting_wimax_get_network_name (NMSettingWimax *setting);
74 const GByteArray *nm_setting_wimax_get_mac_address (NMSettingWimax *setting);
78 #endif /* NM_SETTING_WIMAX_H */