OSGeo FDO Provider for SHP API Reference

OSGeo FDO Provider for SHP API

API Reference OSGeo FDO Provider for SHP

FdoShpProvider.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2004-2006  Autodesk, Inc.
00003 * 
00004 * This library is free software; you can redistribute it and/or
00005 * modify it under the terms of version 2.1 of the GNU Lesser
00006 * General Public License as published by the Free Software Foundation.
00007 * 
00008 * This library is distributed in the hope that it will be useful,
00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 * Lesser General Public License for more details.
00012 * 
00013 * You should have received a copy of the GNU Lesser General Public
00014 * License along with this library; if not, write to the Free Software
00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00016  */
00017 
00018 #ifndef FDOSHPOVIDER_H
00019 #define FDOSHPOVIDER_H
00020 
00021 
00022 #ifdef _WIN32
00023 
00024 #pragma once
00025 
00026 // The following ifdef block is the standard way of creating macros which make exporting 
00027 // from a DLL simpler. All files within this DLL are compiled with the FDOSHP_EXPORTS
00028 // symbol defined on the command line. this symbol should not be defined on any project
00029 // that uses this DLL. This way any other project whose source files include this file see 
00030 // FDOSHP_API functions as being imported from a DLL, whereas this DLL sees symbols
00031 // defined with this macro as being exported.
00032 #ifdef FDOSHP_EXPORTS
00033 #define FDOSHP_API __declspec(dllexport)
00034 #else
00035 #define FDOSHP_API __declspec(dllimport)
00036 #endif
00037 
00038 
00039 #else //_WIN32
00040 
00041 #define FDOSHP_API
00042 
00043 #endif //_WIN32
00044 
00045 #endif // FDOSHPOVIDER_H
00046 
00047 

Comments?