X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Farchitecture.h;h=d84173e67029f2bcd7a74a230dc6a7ee388dd090;hb=658c46ea8ef6d7022cb8c8e06565ebce12842d0b;hp=2d7ca5f18c8f51017b82ecebc96f3b15c730d321;hpb=88a344b29ab173cd6ecacd0b038ea96dcb7484fc;p=builder.git diff --git a/source/architecture.h b/source/architecture.h index 2d7ca5f..d84173e 100644 --- a/source/architecture.h +++ b/source/architecture.h @@ -38,6 +38,7 @@ private: public: Architecture(Builder &b, const std::string &spec); + const std::string &get_type() const { return type; } const std::string &get_name() const { return name; } const std::string &get_system() const { return system; } unsigned get_bits() const { return bits; } @@ -53,10 +54,8 @@ public: const PatternList &get_executable_patterns() const { return executable_patterns; } private: - std::string resolve_alias(const std::string &) const; + static void resolve_aliases(std::vector &); void parse_specification(const std::string &); }; -typedef std::map ArchMap; - #endif