]> git.tdb.fi Git - builder.git/blobdiff - source/packageref.h
Split class Package into SourcePackage and BinaryPackage
[builder.git] / source / packageref.h
index bc44da3000f121d539bb3f2731031b06ef0c042d..7d2f54728f43886a7fe8bf71b5e7cbb6fed0dc25 100644 (file)
@@ -1,11 +1,22 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef PACKAGEREF_H_
 #define PACKAGEREF_H_
 
+#include <list>
 #include <string>
 
 class Builder;
 class Package;
 
+/**
+A proxy class that stores a package name and possibly a pointer to the package.
+*/
 class PackageRef
 {
 public:
@@ -18,5 +29,6 @@ private:
        std::string name;
        Package     *package;
 };
+typedef std::list<PackageRef> PkgRefList;
 
 #endif