lib: fixed DueDateFlag bug and added AlarmFlag
commit6938f945f1ee45035fe2d99789b98ae55677f3fa
authorChris Frey <cdfrey@foursquare.net>
Thu, 22 Mar 2012 18:28:01 +0000 (22 14:28 -0400)
committerChris Frey <cdfrey@foursquare.net>
Fri, 30 Mar 2012 19:20:22 +0000 (30 15:20 -0400)
treeba808ead1e802331a1e4f4a3d34c4b49407c60ea
parent91c290f79fbad71b8d427a15d930314b249fe743
lib: fixed DueDateFlag bug and added AlarmFlag

In modern devices, in the Tasks database, when a DueTime or AlarmTime
are set, respectively, an extra field shows up for each with a flag.

On older devices, such as the 7750, these flags are not available.

This commit adds support for the AlarmFlag.

It also fixes the case where DueDateFlag would be false on old devices,
even though a due time was set.  And similar special casing is done for
the new AlarmFlag.
src/r_task.cc
src/r_task.h