27 #include "../../../../common/Config.h"
28 #include "../../../../common/Translator.h"
29 #include "../../../../common/Logger.h"
30 #include "../../../../dataaccess/datasource/DataSourceInfoManager.h"
31 #include "../../../widgets/datasource/core/DataSourceTypeManager.h"
36 : te::plugin::
Plugin(pluginInfo)
69 m_initialized =
false;
The basic information about a plugin.
Plugin implementation for the PostGIS data source widget.
#define TE_QT_PLUGIN_DATASOURCE_PGIS_TEXT_DOMAIN
It contains the name of the text domain used in the translation of messages in TerraLib PGIS driver i...
void shutdown()
Do nothing! Just set plugin as stopped.
Plugin(const te::plugin::PluginInfo &pluginInfo)
#define TE_LOG_TRACE(msg)
Use this tag in order to log a message to a specified logger with the TRACE level.
#define PLUGIN_CALL_BACK_IMPL(PLUGIN_CLASS_NAME)
This macro should be used by C++ plugins in order to declare the exportable/callable DLL function...
PostGIS data source type.
void startup()
Do nothing! Just set plugin as started.
#define TE_QT_PLUGIN_DATASOURCE_PGIS_TEXT_DOMAIN_DIR
It contains the translation catalog directory.
~Plugin()
Virtual destructor.
#define TE_QT_PLUGIN_DATASOURCE_PGIS(message)
It marks a string in order to get translated. This is a special mark used in the DataAccess module of...
#define TE_ADD_TEXT_DOMAIN(domain, domaindir, codeset)
It adds the given text domain located at domain-dir with the given codeset to the multilingual system...
static DataSourceTypeManager & getInstance()
It returns a reference to the singleton instance.