36 #include <QApplication> 44 std::string mod_name =
"share/terralib/plugins/" + m +
".teplg.json";
70 int main(
int argc,
char *argv[])
76 QStringList pts = QIcon::themeSearchPaths();
78 pts << QString::fromUtf8(iconThemePath.c_str());
80 QIcon::setThemeSearchPaths(pts);
82 QIcon::setThemeName(
"terralib");
89 int r = dialog->exec();
void insert(const PluginInfo &pinfo)
Adds plugin with its plugin information to the list of unloaded plugins.
Include files for Core Library.
void LoadModule(std::string m)
Basic information about a plugin.
void load(const std::string &plugin_name, const bool start=true)
It tries to load the informed plugin.
int main(int argc, char *argv[])
std::string name
The plugin name: an internal value used to identify the plugin in the system. Must be a unique value...
static PluginManager & instance()
Access the singleton.
void finalize()
It finalizes the TerraLib Platform.
static TerraLib & getInstance()
It returns a reference to the singleton instance.
void initialize()
It initializes the TerraLib Platform.
TECOREEXPORT PluginInfo JSONPluginInfoSerializer(const std::string &file_name)
A plugin finder that search for plugins in some special directories defined by compile time macros...
TECOREEXPORT std::string FindInTerraLibPath(const std::string &path)
Returns the path relative to a directory or file in the context of TerraLib.
This file contains include headers for the TerraLib Common Runtime module.
void clear()
Stop and unload all plugins, then clear the internal list of plugins.