X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flib%2Fpackage.h;h=9a10991ec8e94028ae74d27e553ceec233424d87;hb=c5d6d6d6d76189b9b2937295709b85654780e9db;hp=d13aa737b985a71a8a99242445bb5915472c66d3;hpb=c8e829c219c65ff8e93b6c7b66212ff0876441c5;p=builder.git diff --git a/source/lib/package.h b/source/lib/package.h index d13aa73..9a10991 100644 --- a/source/lib/package.h +++ b/source/lib/package.h @@ -9,7 +9,6 @@ #include "config.h" class Builder; -class Package; /** A package is a distributable piece of software. Package information may be @@ -38,6 +37,7 @@ protected: Requirements requires; BuildInfo export_binfo; bool prepared = false; + bool broken = false; std::vector problems; bool use_pkgconfig = true; @@ -66,6 +66,7 @@ protected: public: bool is_prepared() const { return prepared; } + bool is_broken() const { return broken; } const std::vector &get_problems() const { return problems; } virtual void save_caches() { }