]> git.tdb.fi Git - builder.git/blobdiff - source/package.h
Move class PackageRef to its own files
[builder.git] / source / package.h
index aafec0fc54cd2c58d0b63ef2f4758ab647f8ccdf..d5402ef9a168c6563ec01c6e0e573cf1c68cbdfc 100644 (file)
@@ -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 &);