diff options
author | Pavel Březina <pbrezina@redhat.com> | 2014-12-17 13:26:16 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-02-17 15:53:39 +0100 |
commit | df4e1db5d41c903ae57fd880acc76a0ad84aa7b2 (patch) | |
tree | fa052523b587c0728638b513582694e61134f409 /src/db | |
parent | e8058322725ba050014777ee2484f7e833ab1e3a (diff) | |
download | sssd-df4e1db5d41c903ae57fd880acc76a0ad84aa7b2.tar.gz sssd-df4e1db5d41c903ae57fd880acc76a0ad84aa7b2.tar.xz sssd-df4e1db5d41c903ae57fd880acc76a0ad84aa7b2.zip |
sbus: use hard coded getters instead of generated
Properties are single value of a small number of predefined D-Bus
types. There is no need to generate them with codegen. Actually,
the source generator for property getters is already quite mess
with branching for array, strings and object paths. Adding any
more complex type in the future (such as dictionary) would require
even more branching or creating a separate path for it.
Hard coding the getters will simplify creating new ones for more
complex types. This patch also reduces lots of code duplication
and creates a simple function for GetAll.
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/db')
0 files changed, 0 insertions, 0 deletions