Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

pantheios/frontends/stock.h

Go to the documentation of this file.
00001 /* /////////////////////////////////////////////////////////////////////////
00002  * File:        pantheios/frontends/stock.h
00003  *
00004  * Purpose:     Declaration of the Pantheios Stock Front-end API Common
00005  *              Elements.
00006  *
00007  * Created:     23rd November 2007
00008  * Updated:     26th November 2010
00009  *
00010  * Home:        http://www.pantheios.org/
00011  *
00012  * Copyright (c) 2007-2010, Matthew Wilson and Synesis Software
00013  * All rights reserved.
00014  *
00015  * Redistribution and use in source and binary forms, with or without
00016  * modification, are permitted provided that the following conditions are
00017  * met:
00018  *
00019  * - Redistributions of source code must retain the above copyright notice,
00020  *   this list of conditions and the following disclaimer.
00021  * - Redistributions in binary form must reproduce the above copyright
00022  *   notice, this list of conditions and the following disclaimer in the
00023  *   documentation and/or other materials provided with the distribution.
00024  * - Neither the name(s) of Matthew Wilson and Synesis Software nor the
00025  *   names of any contributors may be used to endorse or promote products
00026  *   derived from this software without specific prior written permission.
00027  *
00028  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
00029  * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
00030  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00031  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
00032  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00033  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00034  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
00035  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
00036  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
00037  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00038  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00039  *
00040  * ////////////////////////////////////////////////////////////////////// */
00041 
00042 
00049 #ifndef PANTHEIOS_INCL_PANTHEIOS_FRONTENDS_H_STOCK
00050 #define PANTHEIOS_INCL_PANTHEIOS_FRONTENDS_H_STOCK
00051 
00052 /* /////////////////////////////////////////////////////////////////////////
00053  * Version information
00054  */
00055 
00056 #ifndef PANTHEIOS_DOCUMENTATION_SKIP_SECTION
00057 # define PANTHEIOS_VER_PANTHEIOS_FRONTENDS_H_STOCK_MAJOR    1
00058 # define PANTHEIOS_VER_PANTHEIOS_FRONTENDS_H_STOCK_MINOR    2
00059 # define PANTHEIOS_VER_PANTHEIOS_FRONTENDS_H_STOCK_REVISION 1
00060 # define PANTHEIOS_VER_PANTHEIOS_FRONTENDS_H_STOCK_EDIT     12
00061 #endif /* !PANTHEIOS_DOCUMENTATION_SKIP_SECTION */
00062 
00063 /* /////////////////////////////////////////////////////////////////////////
00064  * Includes
00065  */
00066 
00067 #ifndef PANTHEIOS_INCL_PANTHEIOS_H_PANTHEIOS
00068 # include <pantheios/pantheios.h>
00069 #endif /* !PANTHEIOS_INCL_PANTHEIOS_H_PANTHEIOS */
00070 #ifndef PANTHEIOS_INCL_PANTHEIOS_H_FRONTEND
00071 # include <pantheios/frontend.h>
00072 #endif /* !PANTHEIOS_INCL_PANTHEIOS_H_FRONTEND */
00073 
00083 /* /////////////////////////////////////////////////////////////////////////
00084  * Compiler compatibility
00085  */
00086 
00087 #if defined(__DMC__) && \
00088     __DMC__ < 0x0850
00089 /* Previous versions of Digital Mars compiler/linker did not operate
00090  * correctly with declaration of extern const char [].
00091  */
00092 # error Not compatible with Digital Mars C/C++ prior to version 8.50. Download the latest free version at www.digitalmars.com
00093 #endif /* compiler */
00094 
00095 /* /////////////////////////////////////////////////////////////////////////
00096  * External Declarations
00097  */
00098 
00120 PANTHEIOS_EXTERN_C const PAN_CHAR_T     PANTHEIOS_FE_PROCESS_IDENTITY[];
00121 
00122 /* /////////////////////////////////////////////////////////////////////////
00123  * Application-defined functions
00124  */
00125 
00140 PANTHEIOS_CALL(PAN_CHAR_T const*) pantheios_fe_getAppProcessIdentity(void) /* throw() */;
00141 
00142 /* ////////////////////////////////////////////////////////////////////// */
00143 
00144 #endif /* PANTHEIOS_INCL_PANTHEIOS_FRONTENDS_H_STOCK */
00145 
00146 /* ///////////////////////////// end of file //////////////////////////// */

pantheios Library documentation © Matthew Wilson & Synesis Software, 2006-2011 SourceForge.net Logo