// // This file is part of the Marble Desktop Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2009 Andrew Manson // #ifndef TEXTANNOTATION_H #define TEXTANNOTATION_H #include #include "GeoDataPlacemark.h" namespace Marble { class GeoDataPlacemark; class TextAnnotation { public: TextAnnotation(); virtual ~TextAnnotation(); virtual QString name() const = 0 ; virtual void setName( const QString& name ) = 0; virtual QString description() const = 0; virtual void setDescription( const QString& description ) = 0; virtual GeoDataPoint geometry() const = 0; virtual void setGeometry( const GeoDataGeometry &geometry ) = 0; GeoDataPlacemark toGeoData() const; }; } #endif // TEXTANNOTATION_H