Simple Application Framework
1
|
00001 /* 00002 This file is part of Simple Application Framework (Saf) library. 00003 Copyright (C) 2010 - 2012 Ondrej Danek <ondrej.danek@gmail.com> 00004 00005 This library is free software: you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published 00007 by the Free Software Foundation, either version 3 of the License, or 00008 (at your option) any later version. 00009 00010 Saf is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with Simple Application Framework library. If not, 00017 see <http://www.gnu.org/licenses/>. 00018 */ 00019 00096 #ifndef SAF_CORE_H 00097 #define SAF_CORE_H 00098 00099 #include "Platform.h" 00100 00101 // Shared library export macro 00102 #ifdef SAF_PLATFORM_COMPILER_MSC 00103 // Shared library under MS environment, shall we export or import? 00104 #ifdef SAF_EXPORT_SYMBOLS 00105 #define SAF_DLL_EXPORT __declspec(dllexport) 00106 #else 00107 #define SAF_DLL_EXPORT __declspec(dllimport) 00108 #endif 00109 #else 00110 #define SAF_DLL_EXPORT 00111 #endif 00112 00113 #endif