NetworkManager/clients/common
Thomas Haller a8d2a4ebaf cli: implement dcb priority as plain int property
There are basically three options:

1)  use a separate _get_fcn_gobject_dcb_priority() getter and
    implement them as a new type _pt_gobject_dcb_priority.
2a) implement them as _pt_gobject_int and set nicks as value_infos,
    repeating the nicks 3 times.
2b) like 2a, but use a macro to define how the DCB priority shall
    behave at one place.

I think 1) is ugly. In the previous form, it also does not support
setting the property to "unset". We should implement properties as
types, and modify their behavior (by setting value_infos), instead
of implementing multiple, different types.

I slightly prefer 2b) over 2a) because it defines the behavior once,
but it's a bit harder to follow.
2017-09-12 16:34:17 +02:00
..
tests cli: make properties list a list of pointers 2017-04-13 10:10:12 +02:00
nm-client-utils.c clients: replace nmc_string_to_int() by _nm_utils_ascii_str_to_int64() 2017-05-23 13:37:10 +02:00
nm-client-utils.h clients: replace nmc_string_to_int() by _nm_utils_ascii_str_to_int64() 2017-05-23 13:37:10 +02:00
nm-meta-setting-access.c cli: fix returning no results in complete function 2017-06-28 14:46:15 +02:00
nm-meta-setting-access.h cli: make properties list a list of pointers 2017-04-13 10:10:12 +02:00
nm-meta-setting-desc.c cli: implement dcb priority as plain int property 2017-09-12 16:34:17 +02:00
nm-meta-setting-desc.h clients: make meta data subtypes of NMObjBaseInst 2017-07-05 14:22:10 +02:00
nm-polkit-listener.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-polkit-listener.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nm-secret-agent-simple.c all: change handling of connection.type for bluetooth NAP and in general 2017-06-07 09:07:17 +02:00
nm-secret-agent-simple.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-vpn-helpers.c cli: make static arrays in nm_vpn_get_secret_names() const 2017-04-05 14:18:55 +02:00
nm-vpn-helpers.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
settings-docs.c.in docs: fix spelling errors in tranlated strings and documentation 2017-08-11 11:05:12 +02:00
settings-docs.xsl cli: fix marking settings docs for translation 2017-04-23 23:45:02 +02:00