X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flib%2Fbuilder.h;h=984522646b61ac335bd777ae8e1c1ef45d12a95a;hb=1df42c314669f30fe1d82f02fdfeeff19f92964e;hp=6dc29f098d2a22a714594c4dab1262de2a65df72;hpb=c26f1550706f1f674d3040ebb42d2b35d21952ff;p=builder.git diff --git a/source/lib/builder.h b/source/lib/builder.h index 6dc29f0..9845226 100644 --- a/source/lib/builder.h +++ b/source/lib/builder.h @@ -10,6 +10,7 @@ #include "buildgraph.h" #include "buildtype.h" #include "config.h" +#include "libbuilder_api.h" #include "logger.h" #include "packagemanager.h" #include "sourcepackage.h" @@ -17,7 +18,6 @@ #include "toolchain.h" #include "virtualfilesystem.h" -class FileTarget; class Package; class Plugin; @@ -25,7 +25,7 @@ class Plugin; This class ties everything else together. It also contains code for loading build files and supervising the build process. */ -class Builder +class LIBBUILDER_API Builder { private: class Loader: public Msp::DataFile::ObjectLoader @@ -111,7 +111,10 @@ public: const Logger &get_logger() const { return *logger; } std::vector collect_problems() const; +private: + void collect_broken_packages(const Package &, std::vector &) const; +public: /** Loads a build file. If opts is not null, it is used to configure any packages loaded from this file. If all is true, external packages are also configured. */