]> git.tdb.fi Git - builder.git/blobdiff - source/component.cpp
Add comments
[builder.git] / source / component.cpp
index 6d02ad319e690a33be59823edbf4ddc35d85fcb3..97fdacd66ac8f221871052be29e1727ba424b337 100644 (file)
@@ -10,12 +10,18 @@ Component::Component(Package &p, Type t, const string &n):
        install(false)
 { }
 
+/**
+Tries to resolve all references to packages.
+*/
 void Component::resolve_refs()
 {
        for(PkgRefList::iterator i=requires.begin(); i!=requires.end(); ++i)
                i->resolve();
 }
 
+/**
+Prepares the build information for building.
+*/
 void Component::create_build_info()
 {
        build_info.add(pkg.get_build_info());