OSGeo FDO Provider for MySQL API Reference

OSGeo FDO Provider for MySQL API

API Reference OSGeo FDO Provider for MySQL

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

Comments?