From a1ac20ac56a65a26d96665b81d066a3050057910 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 23 Jun 2012 21:21:02 +0300 Subject: [PATCH] Add descriptions to some functions --- source/target.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/target.h b/source/target.h index c1f9327..0f0afc6 100644 --- a/source/target.h +++ b/source/target.h @@ -75,9 +75,17 @@ public: void set_tool(const Tool &); const Tool *get_tool() const { return tool; } + /** Indicates if it's possible to build this target. */ bool is_buildable() const { return tool!=0; } + + /** Indicates if this target needs rebuilding. Only makes sense after the + target has been prepared. */ bool needs_rebuild() const { return state>PREPARING && state