Menu

#1 Diff to prevent AutoPowerOff while playing Frodo

open
nobody
None
5
2003-12-07
2003-12-07
Anonymous
No

Frodo for PalmOS is outstanding.

This is a diff to for one a prevention of Auto Off while
playing with Frodo.

The main item was to decide which of the API auto poweroff
funcitons to use, and where to put them in the loop, so that
there isn't any performance hit to the emulation. Only
worring about Palm 5 only is helpful in that regard. This is
done. When the low battery dialog appears, however, it will
go back to its usual behaviour of powering off. This is to
prevent the device running all the way down and wiping
clean of data.

A Prefs()-> item, included at the end of the if
statements would probably be helpful. Perhaps then an
EnableAutoPowerOff(Boolean switch) function to share
among the Prefs form and PalmOSGUI.c, so that the variable
of the users normal autooff doesn't need to leave the
PalmOSGUI.c private variables.

The strategy used sets the number for timeout (it sets 0
which means never). The prefs could alternatively be to let
the user set the autooff timer length for PalmFrodo.

Keep up the good work!

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.