Hi,
I'm want to be sure to detect 5way navigator with the correct version, but
there is
so many way to detect it, what is the good one and teh difference between :
FtrGet(navFtrCreator, navFtrVersion, &version);
FtrGet(sysFtrCreator, sysFtrNumFiveWayNavVersion, &version)
FtrGet(hsFtrCreator, hsFtrIDNavigationSupported, &version)
Do I need to the those three requests ?
I use :
if (!FtrGet(hsFtrCreator, hsFtrIDNavigationSupported, &version)) {
if (version >= 2)
OPTIONS_SET(kOpt5WayNavigatorV2);
} else if (!FtrGet(sysFtrCreator, sysFtrNumFiveWayNavVersion,
&version)) {
if (version >= 1) // why 1 ?
OPTIONS_SET(kOpt5WayNavigatorV2);
} else if (!FtrGet(navFtrCreator, navFtrVersion, &version)) {
if (version >= 1)
OPTIONS_SET(kOpt5WayNavigatorV1);
}
Thanks for your help.
Chris
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/