X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Farchitecture.h;h=153230244f6aedfdce7fd6a5648619108fe93d12;hb=HEAD;hp=a205e5389998b854a6401dc83302095c2927a9b2;hpb=0f5283a54fd188072eca23fbd980a43c6c869913;p=builder.git diff --git a/source/architecture.h b/source/architecture.h deleted file mode 100644 index a205e53..0000000 --- a/source/architecture.h +++ /dev/null @@ -1,44 +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_name() const { return name; } - const std::string &get_prefix() const { return prefix; } -private: - Builder &builder; - std::string name; - std::string prefix; - StringMap tools; -}; - -typedef std::map ArchMap; - -#endif