Config.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file terralib/qt/plugins/st/Config.h
22 
23  \brief Configuration flags for the ST Qt Widget plugin.
24 */
25 
26 #ifndef __TERRALIB_QT_PLUGINS_ST_INTERNAL_CONFIG_H
27 #define __TERRALIB_QT_PLUGINS_ST_INTERNAL_CONFIG_H
28 
29 /*!
30  \def TE_QT_PLUGIN_ST_HAVE_SLIDER
31 
32  \brief It defines if the ST Qt Plugin has the slider operation.
33 */
34 #define TE_QT_PLUGIN_ST_HAVE_SLIDER
35 
36 /*!
37  \def TE_QT_PLUGIN_ST_HAVE_OBSERVATION
38 
39  \brief It defines if the ST Qt Plugin has the observation operation.
40 */
41 #define TE_QT_PLUGIN_ST_HAVE_OBSERVATION
42 
43 /*!
44  \def TE_QT_PLUGIN_ST_HAVE_TIMESERIES
45 
46  \brief It defines if the ST Qt Plugin has the timeseries operation.
47 */
48 #define TE_QT_PLUGIN_ST_HAVE_TIMESERIES
49 
50 /*!
51  \def TE_QT_PLUGIN_ST_HAVE_TRAJECTORY
52 
53  \brief It defines if the ST Qt Plugin has the trajectory operation.
54 */
55 #define TE_QT_PLUGIN_ST_HAVE_TRAJECTORY
56 
57 
58 /*!
59  \def TE_QT_PLUGIN_ST_PLUGIN_NAME
60 
61  \brief It contains the plugin name.
62 */
63 #define TE_QT_PLUGIN_ST_PLUGIN_NAME "te.qt.st"
64 
65 /*!
66  \def TE_QT_PLUGIN_ST_TEXT_DOMAIN
67 
68  \brief It contains the name of the text domain used in the translation of messages in TerraLib ST Qt Plugin implementation.
69 */
70 #define TE_QT_PLUGIN_ST_TEXT_DOMAIN "teqtpluginst"
71 
72 /*!
73  \def TE_QT_PLUGIN_ST_TEXT_DOMAIN_DIR
74 
75  \brief It contains the translation catalog directory.
76 */
77 #define TE_QT_PLUGIN_ST_TEXT_DOMAIN_DIR "locale"
78 
79 /*!
80  \def TE_QT_PLUGIN_ST
81 
82  \brief It marks a string in order to get translated. This is a special mark used in the ST QtPlugin of TerraLib.
83 */
84 #define TE_QT_PLUGIN_ST(message) TR(message, TE_QT_PLUGIN_ST_TEXT_DOMAIN)
85 
86 /*!
87  \def TEQTPLUGINSTEXPORT
88 
89  \brief You can use this macro in order to export/import classes and functions from all plug-ins files.
90 
91  \note To compile plug-ins in Windows, remember to insert TEQTPLUGINSTEXPORT into the project's list of defines.
92  */
93 #ifdef WIN32
94  #ifdef TEQTPLUGINSTDLL
95  #define TEQTPLUGINSTEXPORT __declspec(dllexport) // export DLL information
96  #else
97  #define TEQTPLUGINSTEXPORT __declspec(dllimport) // import DLL information
98  #endif
99 #else
100  #define TEQTPLUGINSTEXPORT
101 #endif
102 
103 #endif // __TERRALIB_QT_PLUGINS_ST_INTERNAL_CONFIG_H
104