Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-02

dbus in Pascal

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

Hello,

I haven't touched in dbus in ages, so I was wondering how people are using it. Did anyone write a wrapper around libdbus for Lazarus or is everyone using directly libdbus or something like dbus-glib? Do we have bindings for dbus-glib already translated?

thanks,

Felipe Monteiro de Carvalho

Reply by email

Michael Van Canneyt
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 6 lines
Hello, I haven't touched in dbus in ages, so I was wondering how people are using it. Did anyone write a wrapper around libdbus for Lazarus or is everyone using directly libdbus or something like dbus-glib? Do we have bindings for dbus-glib already translated?

I have written dbus classes/components.
I never committed them, but they work, and if you want I can send them to you. If you think they're good enough, we can include them in FPC.

Michael.

Reply by email

Felipe Monteiro de Carvalho
to Michael Van Canneyt
Michael Van Canneyt wrote
I have written dbus classes/components. I never committed them, but they work, and if you want I can send them to you. If you think they're good enough, we can include them in FPC.

Yes, I am very interrested in seeing this

How do you get messages with this library? You need to call something periodically? I always thought that dbus needs integration with the application loop.

Felipe Monteiro de Carvalho

Reply by email

Unknown author
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 7 lines
On Thu, Feb 23, 2012 at 8:42 AM, Michael Van Canneyt wrote: > I have written dbus classes/components. I never committed them, but they > work, and if you want I can send them to you. > If you think they're good enough, we can include them in FPC. Yes, I am very interrested in seeing this

Sent in a private mail.

How do you get messages with this library? You need to call something periodically? I always thought that dbus needs integration with the application loop.

It does. You can make do with the OnIdle event, but for true lazarus integration one needs support for such things in TApplication.

It's time to revive the fpasync package by Sebastian Guenther. At the time it was written, I didn't think much of it, but over time I've come to see that it is in fact very much needed. I talked to Mattias once, but didn't get around to a working implementation yet. (Item 548987 on my todo list)

Michael.

Reply by email

Jorge Aldo G. de F. Junior
to Unknown author

i need dbus too...

i was going to do with plain tcp sockets, but dbus would be nice to integrate....

2012/2/23 :

Show quoted text 38 lines
On Thu, 23 Feb 2012, Felipe Monteiro de Carvalho wrote: > On Thu, Feb 23, 2012 at 8:42 AM, Michael Van Canneyt > wrote: >> >> I have written dbus classes/components. I never committed them, but they >> work, and if you want I can send them to you. >> If you think they're good enough, we can include them in FPC. > > > Yes, I am very interrested in seeing this Sent in a private mail. > > How do you get messages with this library? You need to call something > periodically? I always thought that dbus needs integration with the > application loop. It does. You can make do with the OnIdle event, but for true lazarus integration one needs support for such things in TApplication. It's time to revive the fpasync package by Sebastian Guenther. At the time it was written, I didn't think much of it, but over time I've come to see that it is in fact very much needed. I talked to Mattias once, but didn't get around to a working implementation yet. (Item 548987 on my todo list) Michael. _______________________________________________ fpc-pascal maillist  -   http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email