DEADSOFTWARE

Reader split into files
[odcread.git] / reader / reader.h
index b7becc0cef671b24d3d4cd968f628d8323dc2396..7c843c18deada672ef97ad966f918da1244ca9b3 100644 (file)
@@ -5,11 +5,13 @@
 #include <vector>
 
 #include "oberon.h"
-#include "store/store.h"
-#include "alien/alien.h"
+#include "typepath/typepath.h"
 
 namespace odc {
 
+class Store;
+class Alien;
+
 struct TypeEntry {
        const std::string name;
        INTEGER baseId;
@@ -210,7 +212,7 @@ private:
        /**
         * Read an alien store.
         */
-       void internalizeAlien(Alien *alien, std::streampos down, std::streampos end);
+       void readAlien(Alien *alien, std::streampos down, std::streampos end);
        
        /**
         * Make store name consistent with names found in BlackBox source.
@@ -225,6 +227,10 @@ private:
         * Add another component to the current path. If first==true, start a new path.
         */
        void addPathComponent(bool first, const std::string &typeName);
+
+       static bool isBigEndian();
+       static bool isLittleEndian();
+
 };
 
 } // namespace odc