00001 /****************************************************************************** 00002 * $Id: ogr_geos.h,v 1.3 2006/07/07 00:05:46 mloskot Exp $ 00003 * 00004 * Project: OpenGIS Simple Features Reference Implementation 00005 * Purpose: Definitions related to support for use of GEOS in OGR. 00006 * This file is only intended to be pulled in by OGR implementation 00007 * code directly accessing GEOS. 00008 * Author: Frank Warmerdam <warmerdam@pobox.com> 00009 * 00010 ****************************************************************************** 00011 * Copyright (c) 2004, Frank Warmerdam <warmerdam@pobox.com> 00012 * 00013 * Permission is hereby granted, free of charge, to any person obtaining a 00014 * copy of this software and associated documentation files (the "Software"), 00015 * to deal in the Software without restriction, including without limitation 00016 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00017 * and/or sell copies of the Software, and to permit persons to whom the 00018 * Software is furnished to do so, subject to the following conditions: 00019 * 00020 * The above copyright notice and this permission notice shall be included 00021 * in all copies or substantial portions of the Software. 00022 * 00023 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00024 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00025 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00026 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00027 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 00028 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 00029 * DEALINGS IN THE SOFTWARE. 00030 ****************************************************************************** 00031 * 00032 * $Log: ogr_geos.h,v $ 00033 * Revision 1.3 2006/07/07 00:05:46 mloskot 00034 * Removed GEOS C++ API usage from OGR and autotools. 00035 * 00036 * Revision 1.2 2005/10/20 19:55:29 fwarmerdam 00037 * added GEOS C API support 00038 * 00039 * Revision 1.1 2004/07/10 04:52:58 warmerda 00040 * New 00041 * 00042 */ 00043 00044 #ifndef OGR_GEOS_H_INCLUDED 00045 #define OGR_GEOS_H_INCLUDED 00046 00047 #ifdef HAVE_GEOS 00048 # include <geos_c.h> 00049 #else 00050 00051 namespace geos { 00052 class Geometry; 00053 }; 00054 00055 #endif 00056 00057 #endif /* ndef OGR_GEOS_H_INCLUDED */