org.freedesktop.PowerManagement

Kevin Krammer kevin.krammer at gmx.at
Wed Mar 21 14:05:34 PDT 2007


On Wednesday 21 March 2007 21:57 +0100, Richard Hughes wrote:
> On Wed, 2007-03-21 at 15:58 -0400, Havoc Pennington wrote:

> > As an alternative to a bitfield, one option is a dictionary of
> > properties. This is most likely nicer than a bitfield in say python,
> > and more annoying than a bitfield in C.
>
> Yes, a dictionary might be nice, but it's not trivial to access in C.
> This stuff really needs to be *trivial* for an application to access,
> hence why I think booleans are probably best.

How likely is an application written in C not going to use the D-Bus glib 
bindings?

(Assuming that these bindings support dictionaries)

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20070321/d361e504/attachment.pgp 


More information about the xdg mailing list