]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - include/imap.h
Partial OSX support
[xonotic/netradiant.git] / include / imap.h
index 7af4c4721335f9bb016b1f2ba2b8b58c9e7ab037..05347e6eb6b73ca19771d9be9d1a9ac4c5734c8d 100644 (file)
@@ -32,7 +32,7 @@ class MapImporter
 {
 public:
 STRING_CONSTANT( Name, "MapImporter" );
-
+virtual ~MapImporter() {}
 virtual bool importTokens( Tokeniser& tokeniser ) = 0;
 };
 
@@ -42,6 +42,7 @@ class MapExporter
 public:
 STRING_CONSTANT( Name, "MapExporter" );
 
+virtual ~MapExporter() {}
 virtual void exportTokens( TokenWriter& writer ) const = 0;
 };
 
@@ -63,6 +64,7 @@ INTEGER_CONSTANT( Version, 2 );
 STRING_CONSTANT( Name, "map" );
 mutable bool wrongFormat;
 
+virtual ~MapFormat(){}
 /// \brief Read a map graph into \p root from \p outputStream, using \p entityTable to create entities.
 virtual void readGraph( scene::Node& root, TextInputStream& inputStream, EntityCreator& entityTable ) const = 0;
 /// \brief Write the map graph obtained by applying \p traverse to \p root into \p outputStream.