|
|
Choosing A Webhost: |
Re: about signals: msg#00083freedesktop.dbus
Hi, I think maybe this is more evidence that we need to get the GLib/Qt/Python bindings done; Seth and Dan were just bitching to me about the raw C API, which is indeed a low-level thing designed to implement bindings and not much else. The way this is supposed to look in the GLib bindings: proxy = dbus_gproxy_new_for_service (connection, "org.blah.MyService", "/blah/blah/blah", "org.blah.MyInterface"); dbus_gproxy_connect_signal (proxy, "Frobated", handler, data); That's it - which is really very easy to use. And get rid of the C-specific dbus_gproxy_ prefixing and so forth and you can see how in Python or C++ or whatever it will be even easier. Maybe this answers one of the questions in the TODO, which is whether dbus/dbus.h should be included when you include the glib bindings - I think the answer is no, we should do a full opaque wrapper that bumps the API to the higher object-based level. Havoc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: about signals, Havoc Pennington |
|---|---|
| Next by Date: | Re: about signals, Olivier Andrieu |
| Previous by Thread: | Re: about signals, Havoc Pennington |
| Next by Thread: | Re: about signals, Olivier Andrieu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|