LP-56 - Better txpid option namings, fix tabs-spaces, tooltips. headers, variable...
[librepilot.git] / ground / openpilotgcs / src / plugins / osgearthview / osgearthviewgadgetconfiguration.cpp
blob5a3955ee21f70e03710fc4908826f39ffc50d2d1
1 /********************************************************************************
2 * @file osgearthviewgadgetconfiguration.cpp
3 * @author The OpenPilot Team Copyright (C) 2012.
4 * @addtogroup GCSPlugins GCS Plugins
5 * @{
6 * @addtogroup OsgEarthview Plugin
7 * @{
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
19 * for more details.
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"
29 /**
30 * Loads a saved configuration or defaults if non exist.
33 OsgEarthviewGadgetConfiguration::OsgEarthviewGadgetConfiguration(QString classId, QSettings *qSettings, QObject *parent) :
34 IUAVGadgetConfiguration(classId, parent)
36 Q_UNUSED(qSettings);
37 // if a saved configuration exists load it
38 if (qSettings != 0) {}
41 /**
42 * Clones a configuration.
45 IUAVGadgetConfiguration *OsgEarthviewGadgetConfiguration::clone()
47 OsgEarthviewGadgetConfiguration *m = new OsgEarthviewGadgetConfiguration(this->classId());
49 return m;
52 /**
53 * Saves a configuration.
56 void OsgEarthviewGadgetConfiguration::saveConfig(QSettings *qSettings) const {}