API Reference OSGeo FDO Provider for GDAL

FdoGrfpProvider.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 
00019 #ifndef FDOGRFPPROVIDER_H
00020 #define FDOGRFPPROVIDER_H
00021 
00022 
00023 #ifdef _WIN32
00024 
00025 #pragma once
00026 
00027 // The following ifdef block is the standard way of creating macros which make exporting 
00028 // from a DLL simpler. All files within this DLL are compiled with the FDOGRFP_EXPORTS
00029 // symbol defined on the command line. this symbol should not be defined on any project
00030 // that uses this DLL. This way any other project whose source files include this file see 
00031 // FDOGRFP_API functions as being imported from a DLL, whereas this DLL sees symbols
00032 // defined with this macro as being exported.
00033 #ifdef FDOGRFP_EXPORTS
00034 #define FDOGRFP_API __declspec(dllexport)
00035 #else
00036 #define FDOGRFP_API __declspec(dllimport)
00037 #endif
00038 
00039 
00040 #else //_WIN32
00041 
00042 #define FDOGRFP_API
00043 
00044 #endif //_WIN32
00045 
00046 #endif

Comments?