wwan: Add new panel for modem management
The panel supports 2G/3G/4G GSM/LTE modems. CDMA2000 Modems are not supported. If a supported modem is present, the panel will be shown and the modem will be handled, else, network-panel shall manage the modem as it did in the past. If more than one modem with data enabled is present, the user is allowed to set priority of one SIM over the other (the priority is for SIM, not modem). Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/132
This commit is contained in:
parent
f3f4f13fe4
commit
dc840f0aec
34 changed files with 8587 additions and 1 deletions
|
@ -65,6 +65,9 @@ extern GType cc_user_panel_get_type (void);
|
|||
#ifdef BUILD_WACOM
|
||||
extern GType cc_wacom_panel_get_type (void);
|
||||
#endif /* BUILD_WACOM */
|
||||
#ifdef BUILD_WWAN
|
||||
extern GType cc_wwan_panel_get_type (void);
|
||||
#endif /* BUILD_WWAN */
|
||||
extern GType cc_location_panel_get_type (void);
|
||||
extern GType cc_camera_panel_get_type (void);
|
||||
extern GType cc_microphone_panel_get_type (void);
|
||||
|
@ -80,6 +83,9 @@ extern void cc_wifi_panel_static_init_func (void);
|
|||
#ifdef BUILD_WACOM
|
||||
extern void cc_wacom_panel_static_init_func (void);
|
||||
#endif /* BUILD_WACOM */
|
||||
#ifdef BUILD_WWAN
|
||||
extern void cc_wwan_panel_static_init_func (void);
|
||||
#endif /* BUILD_WWAN */
|
||||
|
||||
#define PANEL_TYPE(name, get_type, init_func) { name, get_type, init_func }
|
||||
|
||||
|
@ -131,6 +137,9 @@ static CcPanelLoaderVtable default_panels[] =
|
|||
#ifdef BUILD_WACOM
|
||||
PANEL_TYPE("wacom", cc_wacom_panel_get_type, cc_wacom_panel_static_init_func),
|
||||
#endif
|
||||
#ifdef BUILD_WWAN
|
||||
PANEL_TYPE("wwan", cc_wwan_panel_get_type, cc_wwan_panel_static_init_func),
|
||||
#endif
|
||||
};
|
||||
|
||||
/* Override for the panel vtable. When NULL, the default_panels will
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue