aboutsummaryrefslogtreecommitdiff
path: root/include/amber/amber.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/amber/amber.h')
-rw-r--r--include/amber/amber.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/amber/amber.h b/include/amber/amber.h
index 5b55164..b332129 100644
--- a/include/amber/amber.h
+++ b/include/amber/amber.h
@@ -74,8 +74,16 @@ class Amber {
/// Parse the given |data| into the |recipe|.
amber::Result Parse(const std::string& data, amber::Recipe* recipe);
+ /// Determines whether the engine supports all features required by the
+ /// |recipe|. Modifies the |recipe| by applying some of the |opts| to the
+ /// recipe's internal state.
+ amber::Result AreAllRequirementsSupported(const amber::Recipe* recipe,
+ Options* opts);
+
/// Executes the given |recipe| with the provided |opts|. Returns a
- /// |Result| which indicates if the execution succeded.
+ /// |Result| which indicates if the execution succeded. Modifies the
+ /// |recipe| by applying some of the |opts| to the recipe's internal
+ /// state.
amber::Result Execute(const amber::Recipe* recipe, Options* opts);
/// Executes the given |recipe| with the provided |opts|. Will use