Warning, /education/marble/src/bindings/python/sip/Maneuver.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 Maneuver 0023 { 0024 %TypeHeaderCode 0025 #include <routing/Maneuver.h> 0026 %End 0027 0028 public: 0029 enum Direction 0030 { 0031 Unknown, 0032 Continue, 0033 Merge, 0034 Straight, 0035 SlightRight, 0036 Right, 0037 SharpRight, 0038 TurnAround, 0039 SharpLeft, 0040 Left, 0041 SlightLeft, 0042 RoundaboutFirstExit, 0043 RoundaboutSecondExit, 0044 RoundaboutThirdExit, 0045 RoundaboutExit, 0046 ExitLeft, 0047 ExitRight 0048 }; 0049 Maneuver (); 0050 Marble::Maneuver::Direction direction () const; 0051 void setDirection (Marble::Maneuver::Direction direction); 0052 Marble::GeoDataCoordinates position () const; 0053 void setPosition (const Marble::GeoDataCoordinates& position); 0054 Marble::GeoDataCoordinates waypoint () const; 0055 bool hasWaypoint () const; 0056 QString instructionText () const; 0057 void setInstructionText (const QString& text); 0058 QString directionPixmap () const; 0059 void setWaypoint (const Marble::GeoDataCoordinates& waypoint, int index); 0060 int waypointIndex () const; 0061 QString roadName () const; 0062 void setRoadName (const QString& roadName); 0063 bool operator == (const Marble::Maneuver& other) const; 0064 bool operator != (const Marble::Maneuver& other) const; 0065 }; 0066 };