X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarycomponent.h;h=3a6affd18e32c20ddc95f131a04e101aa034bd6d;hb=HEAD;hp=c31fff2582eff09ee327ad4021fd3c49b97cea7e;hpb=3938f8030b1f62802decce19777ce70fdafaff10;p=builder.git diff --git a/source/binarycomponent.h b/source/binarycomponent.h deleted file mode 100644 index c31fff2..0000000 --- a/source/binarycomponent.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef BINARYCOMPONENT_H_ -#define BINARYCOMPONENT_H_ - -#include "component.h" - -class BinaryComponent: public Component -{ -public: - class Loader: public Msp::DataFile::DerivedObjectLoader - { - public: - Loader(BinaryComponent &); - private: - void use(const std::string &); - }; - - enum Type - { - LIBRARY, - PROGRAM, - MODULE - }; - -private: - Type type; - std::list uses; - -public: - BinaryComponent(SourcePackage &, const std::string &, Type); - - Type get_type() const { return type; } - - void create_build_info() override; - void update_exported_build_info(BuildInfo &) const override; - void create_targets() const override; -}; - -#endif