MorePalmOS
A development library for developing Palm OS applications

MorePrefix.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 
00024 #ifndef MOREPREFIX_H
00025 #define MOREPREFIX_H
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00031 /* You should not need to use or modify this file. Instead, define your
00032    symbols before #including any MorePalmOS header. */
00033 
00034 #include "MoreConfig.h"
00035 
00036 #ifndef MOREPALMOS_NOPARAMS
00037         #ifdef __cplusplus
00038                 /* void FunctionName( ) is supporte under all C++ compilers. */
00039                 #define MOREPALMOS_NOPARAMS
00040         #else
00041                 /* void FunctionName( ) may not be supported under all C compilers.
00042                    For now, define this as void. If it turns out to be supported
00043                    under all Palm OS compilers, we can stop using this entirely. */
00044                 #define MOREPALMOS_NOPARAMS void
00045         #endif
00046 #endif
00047 
00048 #if ( MOREPALMOS_NOTIFICATIONS && MOREPALMOS_WANT_SELF_NOTIFICATIONS )
00049         #define MOREPALMOS_SELF_NOTIFY 1
00050 #else
00051         #define MOREPALMOS_SELF_NOTIFY 0
00052 #endif
00053 
00054 #ifdef __cplusplus
00055 }
00056 #endif
00057 
00058 #endif

SourceForge.net Logo