aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-21 21:10:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-24 17:39:13 +0300
commit3a6c4ab1b6fc79a6a543088553cdd6bc8cb0a1dd (patch)
tree1ca0c3b9ef763276ff45c20a62d2504833e5f67d /bpkg/pkg-configure.hxx
parent1cab4fbd051ee5a71f073446ad5ad1b3d79f1031 (diff)
Adapt to inventing package_name type
Diffstat (limited to 'bpkg/pkg-configure.hxx')
-rw-r--r--bpkg/pkg-configure.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/bpkg/pkg-configure.hxx b/bpkg/pkg-configure.hxx
index f82c699..2aeb8bb 100644
--- a/bpkg/pkg-configure.hxx
+++ b/bpkg/pkg-configure.hxx
@@ -5,11 +5,15 @@
#ifndef BPKG_PKG_CONFIGURE_HXX
#define BPKG_PKG_CONFIGURE_HXX
+#include <libbpkg/manifest.hxx> // version
+#include <libbpkg/package-name.hxx>
+
#include <bpkg/types.hxx>
#include <bpkg/forward.hxx> // transaction, selected_package
#include <bpkg/utility.hxx>
-#include <bpkg/package.hxx>
+#include <bpkg/package.hxx> // package_prerequisites,
+ // dependencies.
#include <bpkg/pkg-configure-options.hxx>
namespace bpkg
@@ -31,7 +35,7 @@ namespace bpkg
// Configure a system package and commit the transaction.
//
shared_ptr<selected_package>
- pkg_configure_system (const string& name, const version&, transaction&);
+ pkg_configure_system (const package_name&, const version&, transaction&);
// Return package prerequisites given its dependencies. Fail if some of the
// prerequisites are not configured or don't satisfy the package's
@@ -42,7 +46,7 @@ namespace bpkg
pkg_configure_prerequisites (const common_options&,
transaction&,
const dependencies&,
- const string& package);
+ const package_name&);
}
#endif // BPKG_PKG_CONFIGURE_HXX