Re: [Dbus-cxx-devel] How do I access properties of an Interface.
Status: Beta
Brought to you by:
rvinyard
From: roland r. <rro...@gm...> - 2010-02-12 04:03:39
|
Thanks Rick, How do I access interface properties in dbus c ? Can you point me to an example that does that? I found many example that demonstrate methods and signals, but none that access properties. I tried invoking "Get" method on "org.freedesktop.DBus.Properties", but that returned "Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist" ??? I might help contribute patches for this library. But first let me come up to the mark. On Thu, Feb 11, 2010 at 8:19 AM, Rick L. Vinyard, Jr. <rvi...@cs...>wrote: > roland roland wrote: > > Can someone help me understand, how I could access an Interfaces > > properties? > > There are Interface and InterfaceProxy classes depending on whether you're > on server or client side. > > I haven't written anything wrapping interface properties; just methods and > signals for now, since that's what I needed. > > > In general, I read that dbus-cxx attempts to provide high-level > > dbus-binding. What are its limitation? > > There are a number of aspects that still aren't wrapped... like properties > and Variants. > > > Given a DBus service, what things can I not do with dbus-cxx? > > I intentionally exposed the underlying dbus C library. Anything that isn't > supported yet in dbus-cxx can still be handled in the C library. > > > --- > > Rick > > > > |