MorePalmOS
A development library for developing Palm OS applications

MoreVersion.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  * MorePalmOS
00003  * Copyright (c) 2004 Steven Fisher
00004  *
00005  * Distributed under the Boost Software License, Version 1.0. See accompanying
00006  * license file License.txt or <http://www.boost.org/LICENSE_1_0.txt>.
00007  *
00008  * http://morepalmos.sourceforge.net
00009  *
00010  *   MorePalmOS is the humble begining of an attempt to provide a library for
00011  *   Palm OS development which works around system bugs, illustrate how to
00012  *   use system calls, and provide "glue code" for programming Palm OS
00013  *   applications in a more straightforward way while minimally impacting
00014  *   code size.
00015  *****************************************************************************/
00016 
00022 #ifndef MOREVERSION_H
00023 #define MOREVERSION_H 1 /* in case it's included by an old PILRC. */
00024 
00025 /* We don't include MoreConfig.h, as (1) we don't need any of the values in it,
00026    and (b) the preprocessor directives in it are a bit challenging to PILRC. */
00027 
00028 /* These values are from Palm OS Programmer's Companion, chapter 11:
00029      <http://www.palmos.com/dev/support/docs/palmos/SystemFeatures.html#1045513>
00030 */
00031 #define MOREPALMOS_PALMOS10 0x01003001
00032 #define MOREPALMOS_PALMOS20 0x02003000
00033 #define MOREPALMOS_PALMOS30 0x03003000
00034 #define MOREPALMOS_PALMOS31 0x03103000
00035 #define MOREPALMOS_PALMOS32 0x03203000
00036 #define MOREPALMOS_PALMOS35 0x03503000
00037 #define MOREPALMOS_PALMOS40 0x04003000
00038 #define MOREPALMOS_PALMOS50 0x05003000
00039 /* These values are best-guessed, based on how the sysMakeRomVersion() macro
00040    packs version numbers. */
00041 #define MOREPALMOS_PALMOS41 0x04103000
00042 #define MOREPALMOS_PALMOS51 0x05103000
00043 #define MOREPALMOS_PALMOS52 0x05203000
00044 #define MOREPALMOS_PALMOS53 0x05303000
00045 
00046 /* You shouldn't use these version numbers in your code to check for the
00047    existence of features unless no alternative is available. Instead, see
00048    Appendix B: Compatibility of Palm OS Programmer's API Reference.
00049 
00050      <http://www.palmos.com/dev/support/docs/palmos/CompatibilityApdx.htm> */
00051 
00052 #endif

SourceForge.net Logo