1 /********************************************************************************
2 * @file osgearthviewgadgetconfiguration.cpp
3 * @author The OpenPilot Team Copyright (C) 2012.
4 * @addtogroup GCSPlugins GCS Plugins
6 * @addtogroup OsgEarthview Plugin
8 * @brief Osg Earth view of UAV
9 *****************************************************************************/
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 3 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful, but
17 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 * You should have received a copy of the GNU General Public License along
22 * with this program; if not, write to the Free Software Foundation, Inc.,
23 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 #include "osgearthviewgadgetconfiguration.h"
27 #include "utils/pathutils.h"
30 * Loads a saved configuration or defaults if non exist.
33 OsgEarthviewGadgetConfiguration::OsgEarthviewGadgetConfiguration(QString classId
, QSettings
*qSettings
, QObject
*parent
) :
34 IUAVGadgetConfiguration(classId
, parent
)
37 // if a saved configuration exists load it
38 if (qSettings
!= 0) {}
42 * Clones a configuration.
45 IUAVGadgetConfiguration
*OsgEarthviewGadgetConfiguration::clone()
47 OsgEarthviewGadgetConfiguration
*m
= new OsgEarthviewGadgetConfiguration(this->classId());
53 * Saves a configuration.
56 void OsgEarthviewGadgetConfiguration::saveConfig(QSettings
*qSettings
) const {}