00001 /* 00002 Situare - A location system for Facebook 00003 Copyright (C) 2010 Ixonos Plc. Authors: 00004 00005 Jussi Laitinen - jussi.laitinen@ixonos.com 00006 00007 Situare is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU General Public License 00009 version 2 as published by the Free Software Foundation. 00010 00011 Situare is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with Situare; if not, write to the Free Software 00018 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 00019 USA. 00020 */ 00021 00022 #ifndef ROUTEWAYPOINTLISTITEM_H 00023 #define ROUTEWAYPOINTLISTITEM_H 00024 00025 #include "coordinates/geocoordinate.h" 00026 #include "routing/routesegment.h" 00027 #include "extendedlistitem.h" 00028 00034 class RouteWaypointListItem : public ExtendedListItem 00035 { 00036 public: 00042 RouteWaypointListItem(); 00043 00047 ~RouteWaypointListItem(); 00048 00049 /****************************************************************************** 00050 * MEMBER FUNCTIONS AND SLOTS 00051 ******************************************************************************/ 00052 public: 00058 GeoCoordinate coordinates() const; 00059 00066 void setRouteWaypointData(const RouteSegment &routeSegment, 00067 const GeoCoordinate &coordinate); 00068 00069 private: 00075 void setTurnTypeImage(const QString &turnType); 00076 00077 /****************************************************************************** 00078 * DATA MEMBERS 00079 ******************************************************************************/ 00080 private: 00081 GeoCoordinate m_coordinates; 00082 }; 00083 00084 #endif // ROUTEWAYPOINTLISTITEM_H 00085