Warning, /education/marble/src/bindings/python/sip/MarbleRunnerManager.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 MarbleRunnerManager : QObject /NoDefaultCtors/ 0023 { 0024 %TypeHeaderCode 0025 #include <MarbleRunnerManager.h> 0026 %End 0027 0028 public: 0029 ~MarbleRunnerManager (); 0030 void setModel (Marble::MarbleModel* model); 0031 void findPlacemarks (const QString& searchTerm, const Marble::GeoDataLatLonAltBox& preferred = Marble::GeoDataLatLonAltBox()); 0032 void reverseGeocoding (const Marble::GeoDataCoordinates& coordinates); 0033 signals: 0034 void searchResultChanged (QAbstractItemModel* model); 0035 void searchFinished (const QString& searchTerm); 0036 void reverseGeocodingFinished (const Marble::GeoDataCoordinates& coordinates, const Marble::GeoDataPlacemark& placemark); 0037 void routeRetrieved (Marble::GeoDataDocument* route); 0038 public: 0039 //ig explicit MarbleRunnerManager (const PluginManager* pluginManager, QObject* parent /TransferThis/ = 0); 0040 //FIXME add QVector<GeoDataPlacemark*> support 0041 signals: 0042 //ig void searchResultChanged (QVector<Marble::GeoDataPlacemark*> result); 0043 void parsingFinished (Marble::GeoDataDocument* document, const QString& error = QString()); 0044 public: 0045 void retrieveRoute (const Marble::RouteRequest* request); 0046 // FIXME 0047 //ig QVector<Marble::GeoDataPlacemark*> searchPlacemarks (const QString& searchTerm, const Marble::GeoDataLatLonAltBox& preferred = Marble::GeoDataLatLonAltBox()); 0048 QString searchReverseGeocoding (const Marble::GeoDataCoordinates& coordinates); 0049 //ig QVector<Marble::GeoDataDocument*> searchRoute (const Marble::RouteRequest* request); 0050 void parseFile (const QString& fileName, Marble::DocumentRole role = Marble::UserDocument); 0051 Marble::GeoDataDocument* openFile (const QString& fileName, Marble::DocumentRole role = Marble::UserDocument); 0052 signals: 0053 void placemarkSearchFinished (); 0054 void reverseGeocodingFinished (); 0055 void routingFinished (); 0056 void parsingFinished (); 0057 }; 0058 };