Brief description of class still missing. More...
#include <Plugin.h>
Public Member Functions | |
| virtual QString | description () const |
| virtual const char * | interfaceVersion () const |
| Plugin () | |
| virtual QString | tag () const |
| virtual QString | title () const |
| ~Plugin () | |
Brief description of class still missing.
Full description of class still missing
| Plugin::Plugin | ( | ) |
Creates MAT format if not already created
References GeopsyCore::CustomFileFormats::add(), GeopsyCore::CustomFileFormats::contains(), GeopsyCore::GeopsyCoreEngine::customFileFormats(), QGpCoreTools::endl(), GeopsyCore::geopsyCore, GeopsyCore::AbstractFileFormat::name(), QGpCoreTools::tr(), and TRACE.
{
TRACE;
#ifdef GP_MATLAB_LIBS
CustomFileFormats * formats=geopsyCore->customFileFormats();
if(!formats->contains(MatFormat::name)) {
formats->add(new MatFormat);
}
#else
App::stream() << tr("Not linked to Matlab libraries, no Mat-file support.") << endl;
#endif
}
| Plugin::~Plugin | ( | ) |
| virtual QString Plugin::description | ( | ) | const [inline, virtual] |
Return a complete description of the plugin. By default, it returns a null string.
Reimplemented from GeopsyCore::GeopsyCoreInterface.
References QGpCoreTools::tr().
{return tr("Import/export of signals through Mat-files (Matlab)");}
| virtual const char* Plugin::interfaceVersion | ( | ) | const [inline, virtual] |
Returns the geopsycore version of the plugin (at compile time)
Implements GeopsyCore::GeopsyCoreInterface.
{return GEOPSYCORE_VERSION;}
| virtual QString Plugin::tag | ( | ) | const [inline, virtual] |
Implements GeopsyCore::GeopsyCoreInterface.
{return "matfiles";}
| virtual QString Plugin::title | ( | ) | const [inline, virtual] |
Implements GeopsyCore::GeopsyCoreInterface.
References QGpCoreTools::tr().
{return tr("Mat-file support");}