]> git.tdb.fi Git - builder.git/blobdiff - source/lib/builder.h
Add visibility decorations to the library and plugins
[builder.git] / source / lib / builder.h
index 6dc29f098d2a22a714594c4dab1262de2a65df72..984522646b61ac335bd777ae8e1c1ef45d12a95a 100644 (file)
@@ -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<Builder>
@@ -111,7 +111,10 @@ public:
        const Logger &get_logger() const { return *logger; }
 
        std::vector<std::string> collect_problems() const;
+private:
+       void collect_broken_packages(const Package &, std::vector<const Package *> &) 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. */