]> git.tdb.fi Git - builder.git/blob - source/packageref.h
Move class PackageRef to its own files
[builder.git] / source / packageref.h
1 #ifndef PACKAGEREF_H_
2 #define PACKAGEREF_H_
3
4 #include <string>
5
6 class Builder;
7 class Package;
8
9 class PackageRef
10 {
11 public:
12         PackageRef(Builder &, const std::string &);
13         const std::string &get_name() const { return name; }
14         Package *get_package() const { return package; }
15         Package *resolve();
16 private:
17         Builder     &builder;
18         std::string name;
19         Package     *package;
20 };
21
22 #endif