X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpackageref.cpp;h=bfd0010de2dada21b1dc13895a100875900f764c;hb=654de39b62a9a58fd8e1b5a557361d628345788b;hp=0f7dc265fa851032440222da73c4c3154aa8af79;hpb=f1c967215e6b08095bdf07518472beca3067ec37;p=builder.git diff --git a/source/packageref.cpp b/source/packageref.cpp index 0f7dc26..bfd0010 100644 --- a/source/packageref.cpp +++ b/source/packageref.cpp @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #include "builder.h" #include "package.h" #include "packageref.h" @@ -10,6 +17,11 @@ PackageRef::PackageRef(Builder &b, const string &n): package(0) { } +/** +Tries to get the package from Builder if we don't have it already. + +@return The package pointer (0 if the package was not found) +*/ Package *PackageRef::resolve() { if(!package)