Foundation.h

Go to the documentation of this file.
00001 /* ES40 emulator.
00002  * Copyright (C) 2007-2008 by the ES40 Emulator Project
00003  *
00004  * WWW    : http://sourceforge.net/projects/es40
00005  * E-mail : camiel@camicom.com
00006  * 
00007  * This program is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU General Public License
00009  * as published by the Free Software Foundation; either version 2
00010  * of the License, or (at your option) any later version.
00011  * 
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  * 
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00020  * 
00021  * Although this is not required, the author would appreciate being notified of, 
00022  * and receiving any modifications you may make to the source code that might serve
00023  * the general public.
00024  */
00025 
00037 //
00038 // Foundation.h
00039 //
00040 // $Id: Foundation.h,v 1.1 2008/03/31 19:13:30 iamcamiel Exp $
00041 //
00042 // Library: Foundation
00043 // Package: Core
00044 // Module:  Foundation
00045 //
00046 // Basic definitions for the POCO Foundation library.
00047 // This file must be the first file included by every other Foundation
00048 // header file.
00049 //
00050 // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
00051 // and Contributors.
00052 //
00053 // Permission is hereby granted, free of charge, to any person or organization
00054 // obtaining a copy of the software and accompanying documentation covered by
00055 // this license (the "Software") to use, reproduce, display, distribute,
00056 // execute, and transmit the Software, and to prepare derivative works of the
00057 // Software, and to permit third-parties to whom the Software is furnished to
00058 // do so, all subject to the following:
00059 // 
00060 // The copyright notices in the Software and this entire statement, including
00061 // the above license grant, this restriction and the following disclaimer,
00062 // must be included in all copies of the Software, in whole or in part, and
00063 // all derivative works of the Software, unless such copies or derivative
00064 // works are solely in the form of machine-executable object code generated by
00065 // a source language processor.
00066 // 
00067 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00068 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00069 // FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
00070 // SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
00071 // FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
00072 // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
00073 // DEALINGS IN THE SOFTWARE.
00074 //
00075 
00076 
00077 #ifndef Foundation_Foundation_INCLUDED
00078 #define Foundation_Foundation_INCLUDED
00079 
00080 #define Foundation_API
00081 
00082 //
00083 // Include platform-specific definitions
00084 //
00085 #include "VMS/Platform_VMS.h"
00086 
00087 
00088 
00089 //
00090 // POCO_JOIN
00091 //
00092 // The following piece of macro magic joins the two
00093 // arguments together, even when one of the arguments is
00094 // itself a macro (see 16.3.1 in C++ standard).  The key
00095 // is that macro expansion of macro arguments does not
00096 // occur in POCO_DO_JOIN2 but does in POCO_DO_JOIN.
00097 //
00098 #define POCO_JOIN(X, Y) POCO_DO_JOIN(X, Y)
00099 #define POCO_DO_JOIN(X, Y) POCO_DO_JOIN2(X, Y)
00100 #define POCO_DO_JOIN2(X, Y) X##Y
00101 
00102 
00103 //
00104 // Pull in basic definitions
00105 //
00106 #include "VMS/Bugcheck.h"
00107 #include "VMS/Types.h"
00108 #include <string>
00109 
00110 #endif // Foundation_Foundation_INCLUDED

SourceForge.net Logo
Project space on SourceForge.net