X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=reader%2Freader.h;h=7c843c18deada672ef97ad966f918da1244ca9b3;hb=067f77e22bace6d17204e3f1f677dd6a5ca6f563;hp=b7becc0cef671b24d3d4cd968f628d8323dc2396;hpb=8bb15b1dd0927add217ff8ff4ef4e002dc49bff3;p=odcread.git diff --git a/reader/reader.h b/reader/reader.h index b7becc0..7c843c1 100644 --- a/reader/reader.h +++ b/reader/reader.h @@ -5,11 +5,13 @@ #include #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