/**
 * Constructor for the plugin. The plugin is passed a pointer to the main app
 * and an interface object that provides access to exposed functions in QGIS.
 * @param qgis Pointer to the QGIS main window
 * @param _qI Pointer to the QGIS interface object
 */
QgsGPSPlugin::QgsGPSPlugin( QgisInterface * theQgisInterFace )
    : QgisPlugin( name_, description_, category_, version_, type_ )
    , mQGisInterface( theQgisInterFace )
    , mQActionPointer( nullptr )
    , mCreateGPXAction( nullptr )
{
    setupBabel();
}
示例#2
0
/**
 * Constructor for the plugin. The plugin is passed a pointer to the main app
 * and an interface object that provides access to exposed functions in QGIS.
 * @param qgis Pointer to the QGIS main window
 * @param _qI Pointer to the QGIS interface object
 */
QgsGPSPlugin::QgsGPSPlugin( QgisInterface * theQgisInterFace ):
    QgisPlugin( name_, description_, category_, version_, type_ ),
    mQGisInterface( theQgisInterFace )
{
  setupBabel();
}