diff options
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r-- | libbpkg/manifest.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx index 81dd5f0..796db7a 100644 --- a/libbpkg/manifest.hxx +++ b/libbpkg/manifest.hxx @@ -273,13 +273,16 @@ namespace bpkg // depends // - struct LIBBPKG_EXPORT dependency_constraint + class LIBBPKG_EXPORT dependency_constraint { + public: butl::optional<version> min_version; butl::optional<version> max_version; bool min_open; bool max_open; + dependency_constraint (const std::string&); + dependency_constraint (butl::optional<version> min_version, bool min_open, butl::optional<version> max_version, bool max_open); |