View Single Post
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#4
Originally Posted by falkontre View Post
http://pymaemo.garage.maemo.org/development.html - that exists a binding (version 0.1) for fremantle....maybe this info confused me.
Oooh, exciting. That's new; I dunno if they've released it yet.

I've already looked source code of Hermes, and in contact.py the author[...]
...that's me :-)...

[...]used abook as import statement
Not that I can see. I was wrong, it doesn't use abook at the moment (it did in an earlier version). contacts.py uses ctypes to access the low-level C API of libebook (i.e. Evolution), due to limitations in python-evolution.

Whereas, hermes.py uses the "proper" Python API: python-evolution.

Sorry for any confusion. Anyway, you can access libabook via ctypes; I've done it in earlier versions of Hermes; but it's not very Pythonic.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following 2 Users Say Thank You to Jaffa For This Useful Post: