00001 /* 00002 * Universidade Federal de Campina Grande 00003 * Centro de Engenharia Elétrica e Informática 00004 * Laboratório de Sistemas Embarcados e Computação Pervasiva 00005 * BRisa / BRisa-Qt 00006 * Filename: brisaconfig.cpp 00007 * Created: 00008 * Description: Define Some Macros to use with BRisa code. 00009 * Authors: Andre Dieb Martins <andre.dieb@gmail.com> @since 2009 00010 * 00011 * 00012 * Copyright (C) <2009> <Embbeded Systems and Pervasive Computing Laboratory> 00013 * 00014 * BRisa-Qt is free software: you can redistribute it and/or modify 00015 * it under the terms of the GNU Lesser General Public License as 00016 * published by the Free Software Foundation, either version 3 of 00017 * the License, or (at your option) any later version. 00018 * 00019 * This program is distributed in the hope that it will be useful, 00020 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 * GNU General Public License for more details. 00023 * 00024 * You should have received a copy of the GNU Lesser General Public License 00025 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00026 * 00027 */ 00028 00029 #ifndef _BRISAGLOBAL 00030 #define _BRISAGLOBAL 00031 00032 #define BRISA_VERSION 0x000001 00033 #define BRISA_VERSION_STR "0.1" 00034 00035 #if defined BUILD_BRISA_CORE 00036 # define BRISA_CORE_EXPORT Q_DECL_EXPORT 00037 #else 00038 # define BRISA_CORE_EXPORT Q_DECL_IMPORT 00039 #endif 00040 00041 #if defined BUILD_BRISA_UTILS 00042 # define BRISA_UTILS_EXPORT Q_DECL_EXPORT 00043 #else 00044 # define BRISA_UTILS_EXPORT Q_DECL_IMPORT 00045 #endif 00046 00047 #if defined BUILD_BRISA_UPNP 00048 # define BRISA_UPNP_EXPORT Q_DECL_EXPORT 00049 #else 00050 # define BRISA_UPNP_EXPORT Q_DECL_IMPORT 00051 #endif 00052 00053 #if defined BUILD_BRISA_CORE || defined BUILD_BRISA_UTILS || defined BUILD_BRISA_UPNP 00054 # define BUILD_BRISA 00055 #endif 00056 00057 #endif /* _BRISAGLOBAL */
1.6.3