Warning, /education/marble/src/bindings/python/sip/RoutingRunnerPlugin.sip is written in an unsupported language. File is not indexed.

0001 // Copyright 2011 Simon Edwards <simon@simonzone.com>
0002 
0003 //                 Generated by twine2
0004 
0005 // This program is free software; you can redistribute it and/or modify
0006 // it under the terms of the GNU Library General Public License as
0007 // published by the Free Software Foundation; either version 2, or
0008 // (at your option) any later version.
0009 
0010 // This program is distributed in the hope that it will be useful,
0011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
0012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0013 // GNU General Public License for more details
0014 
0015 // You should have received a copy of the GNU Library General Public
0016 // License along with this program; if not, write to the
0017 // Free Software Foundation, Inc.,
0018 // 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
0019 
0020 namespace Marble
0021 {
0022 class RoutingRunnerPlugin : QObject, Marble::PluginInterface /Abstract/
0023 {
0024 %TypeHeaderCode
0025 #include <RoutingRunnerPlugin.h>
0026 %End
0027 
0028 public:
0029     explicit                RoutingRunnerPlugin (QObject* parent /TransferThis/ = 0);
0030     virtual ~RoutingRunnerPlugin ();
0031     virtual QString         guiString () const=0;
0032     bool                    supportsCelestialBody (const QString& celestialBodyId) const;
0033     bool                    canWorkOffline () const;
0034     virtual bool            canWork () const;
0035     virtual QIcon           icon () const;
0036     QString                 statusMessage () const;
0037 //ig    virtual ConfigWidget*   configWidget ();
0038 //ig    virtual bool            supportsTemplate (RoutingProfilesModel::ProfileTemplate profileTemplate) const;
0039 //ig    virtual QHash<QString,QVariant>  templateSettings (RoutingProfilesModel::ProfileTemplate profileTemplate) const;
0040 protected:
0041     void                    setStatusMessage (const QString& message);
0042     void                    setSupportedCelestialBodies (const QStringList& celestialBodies);
0043     void                    setCanWorkOffline (bool canWorkOffline);
0044 public:
0045     virtual Marble::RoutingRunner*  newRunner () const=0;
0046 };
0047 };