On 02/08/11 04:56, Olivier Migeot wrote:
And then, I wonder : what would the python-implemented hooks have
access to? Will they only be limited to "take input, process/change
it, and then return it"? Or will they be able to call some
functions/methods from the ObjC codebase? And if so, which ones?
What we did is port PyObjC to GNUstep (and the GCC/GNUstep Objective-C
runtimes).
PyObjC is a bridge, that means you have access to _everything_ - all
SOGo/SOPE/GNUstep/whatever objects, just like if your hook was
implemented in Objective-C.
Once your hook is called, you can do _whatever_ you want.
--
Ludovic Marcotte
[email protected] :: +1.514.755.3630 :: www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)
--
[email protected]
https://inverse.ca/sogo/lists