X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpackage.h;h=d5402ef9a168c6563ec01c6e0e573cf1c68cbdfc;hb=f1c967215e6b08095bdf07518472beca3067ec37;hp=aafec0fc54cd2c58d0b63ef2f4758ab647f8ccdf;hpb=59ac0a44d6edf179c01604c6ced744873213f855;p=builder.git diff --git a/source/package.h b/source/package.h index aafec0f..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 { @@ -39,6 +26,8 @@ public: void require(const std::string &); 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 &);