[maemo-developers] Optimal battery life considerations in apps

From: David King davidk at openismus.com
Date: Fri Jul 24 16:51:07 EEST 2009
On 2009-07-24 09:11, Anderson Lizardo <anderson.lizardo at openbossa.org> wrote:
>On Fri, Jul 24, 2009 at 8:57 AM, Andrew Flegg<andrew at bleb.org> wrote:
>> On Fri, Jul 24, 2009 at 13:17, Anderson
>> Lizardo<anderson.lizardo at openbossa.org> wrote:
>>> Note that they may contain some errors, as they were partially
>>> converted from C docs. Feel free to report any errors you find in our
>>> bugzilla.
>>
>> Is there any sharing of code between the OpenSismus folks who are
>> converting the C docs into OO C++ docs for maemomm, and the PyMaemo
>> guys?
>>
>>    http://amigadave.blogspot.com/2009/07/hew-hildonmm-and-gtkmm-releases.html
>
>Unfortunately no. It is the first time I see this :). We developed a
>"quick" tool using Qt (IIRC, I didn't actually worked on the tool
>development) that partially parses the Docbook XML sources. I'll see
>with the developer if we can get the tool published ASAP.
>
>Any links to the tool they used for maemomm?

We use the same tools that Gtkmm uses, which are explained in
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-wrapping-documentation.html
This uses docextract_to_xml.py from pygobject, which I would guess is
used in PyMaemo too? Our other tool for wrapping a C API to a C++ API
is gmmproc, which does much of the more clever transformations, for
example changing NULL to 0. I guess that a lot of this would not be
relevant for PyMaemo, but the gmmproc tool is in glibmm if you are
interested.

Please let me know if any more information would be useful.

-- 
David King | http://amigadave.blogspot.com/ | davidk at openismus.com
More information about the maemo-developers mailing list