X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Farchitecture.h;h=153230244f6aedfdce7fd6a5648619108fe93d12;hb=HEAD;hp=16ff50547c465e6ccb77957321fdcc6593b88cad;hpb=329dc80e392faf7354338621e73dba1880fc767d;p=builder.git diff --git a/source/architecture.h b/source/architecture.h deleted file mode 100644 index 16ff505..0000000 --- a/source/architecture.h +++ /dev/null @@ -1,43 +0,0 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef ARCHITECTURE_H_ -#define ARCHITECTURE_H_ - -#include -#include "misc.h" - -class Builder; - -class Architecture -{ -public: - class Loader: public Msp::DataFile::Loader - { - public: - Loader(Architecture &); - Architecture &get_object() { return arch; } - private: - Architecture &arch; - - void tool(const std::string &t, const std::string &p); - }; - - Architecture(Builder &b, const std::string &n); - void set_tool(const std::string &t, const std::string &p); - std::string get_tool(const std::string &t) const; - const std::string &get_prefix() const { return prefix; } -private: - Builder &builder; - std::string name; - std::string prefix; - StringMap tools; -}; - -typedef std::map ArchMap; - -#endif