gck: Enumerator can now retrieve object attributes
authorStef Walter <stefw@collabora.co.uk>
Wed, 12 Oct 2011 09:18:05 +0000 (11:18 +0200)
committerStef Walter <stefw@collabora.co.uk>
Wed, 12 Oct 2011 10:15:47 +0000 (12:15 +0200)
commit074c6666bb3bb5264d9a0833c136c44ee9492b5e
tree41ce6bea9b6b468094582d4d6efb205a9b89efda
parentfdd117df3883adbd25f0eaa40c50129b23584429
gck: Enumerator can now retrieve object attributes

 * New interface called GckObjectAttributes. Callers derive from
   GckObject, implement GckObjectAttributes and set fields in the
   iface to denote which attributes are interested in.
 * Caller passes type of derived object to gck_enumerator_set_object_type()
   and then enumerator will retrieve attributes set in iface, and return
   objects of that type
 * GckObjectAttributes has attributes property.
15 files changed:
.gitignore
docs/reference/gck/Makefile.am
docs/reference/gck/gck-docs.sgml
docs/reference/gck/gck-sections.txt
docs/reference/gck/gck.interfaces [new file with mode: 0644]
docs/reference/gcr/gcr.interfaces [new file with mode: 0644]
gck/Makefile.am
gck/gck-enumerator.c
gck/gck-object-attributes.c [new file with mode: 0644]
gck/gck-object.c
gck/gck-private.h
gck/gck.h
gck/gck.symbols
gck/tests/Makefile.am
gck/tests/test-gck-enumerator.c