[Marble-commits] KDE/kdeedu/marble/src

Andrew Manson g.real.ate at gmail.com
Wed Jul 15 13:11:05 CEST 2009


SVN commit 997103 by mansona:

Fixing the linker error for the KDE version when GeoTagHandler subclasses 
are defined in plugins. 
This commit needs to be discussed. 


 M  +2 -1      lib/geodata/parser/GeoTagHandler.h  
 M  +2 -1      plugins/render/osmannotate/osm/OsmBoundsTagHandler.h  
 M  +2 -1      plugins/render/osmannotate/osm/OsmNodeTagHandler.h  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/parser/GeoTagHandler.h #997102:997103
@@ -23,6 +23,7 @@
 #define GeoTagHandler_h
 
 #include <QtCore/QHash>
+#include "marble_export.h"
 
 namespace Marble
 {
@@ -30,7 +31,7 @@
 class GeoNode;
 class GeoParser;
 
-class GeoTagHandler {
+class MARBLE_EXPORT GeoTagHandler {
 public:
     // API to be implemented by child handlers.
     virtual GeoNode* parse(GeoParser&) const = 0;
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/osm/OsmBoundsTagHandler.h #997102:997103
@@ -12,12 +12,13 @@
 #define OSMBOUNDSTAGHANDLER_H
 
 #include "GeoTagHandler.h"
+#include "marble_export.h"
 
 namespace Marble
 {
 namespace osm {
 
-class OsmBoundsTagHandler : public GeoTagHandler
+class MARBLE_EXPORT OsmBoundsTagHandler : public GeoTagHandler
 {
 public:
     virtual GeoNode* parse(GeoParser&) const;
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/osm/OsmNodeTagHandler.h #997102:997103
@@ -12,6 +12,7 @@
 #define OSMNODETAGHANDLER_H
 
 #include "GeoTagHandler.h"
+#include "marble_export.h"
 
 namespace Marble
 {
@@ -19,7 +20,7 @@
 namespace osm
 {
 
-class OsmNodeTagHandler : public GeoTagHandler
+class MARBLE_EXPORT OsmNodeTagHandler : public GeoTagHandler
 {
 public:
     virtual GeoNode* parse(GeoParser&) const;


More information about the Marble-commits mailing list