Whole document tree
1.4.1 NewTypes.h
With Palm OS SDKs prior to the 3.5 SDK, programmers were encouraged to use
typedefs such as People wanting to write library header files capable of interacting with any SDK have a dilemma: which to use, old- or new-style type names? You can use old-style names by instructing developers to include `PalmCompatibility.h' before including your header file if they are using the 3.5 SDK. But this is not very satisfactory: the onus shouldn't be on developers to get this right, and you might prefer to use new-style names. You can ensure new-style names are available simply by including `NewTypes.h' at the top of your header file, and instructing developers to include at least `Common.h'/`PalmTypes.h' before your header. (They are probably including `Pilot.h'/`PalmOS.h' anyway.) Including `NewTypes.h' provides the following:
This document was generated by root on January, 30 2002 using texi2html |