X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpackage.h;h=d5402ef9a168c6563ec01c6e0e573cf1c68cbdfc;hb=f1c967215e6b08095bdf07518472beca3067ec37;hp=06a68ba65ca78656d9c91ebed35c2cb8fe81c8d7;hpb=0d80cabf649b931b26e7055385156c75a7385d35;p=builder.git diff --git a/source/package.h b/source/package.h index 06a68ba..d5402ef 100644 --- a/source/package.h +++ b/source/package.h @@ -7,22 +7,9 @@ #include "buildinfo.h" #include "component.h" #include "config.h" +#include "packageref.h" class Builder; -class Package; - -class PackageRef -{ -public: - PackageRef(Builder &, const std::string &); - const std::string &get_name() const { return name; } - Package *get_package() const { return package; } - Package *resolve(); -private: - Builder &builder; - std::string name; - Package *package; -}; class Package { @@ -40,6 +27,7 @@ public: void program(const std::string &); void library(const std::string &); void headers(const std::string &); + void build_info(); }; Package(Builder &, const std::string &, const Msp::Path::Path &);