aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-01-30 13:57:43 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-01-30 21:52:43 -0800
commite461467affad578d2e13a5c8f18cc37ee3007938 (patch)
tree31e6c8239a6e581fe480ce26e3d283d2e8c3a19d /toolsrc/include
parent9c87fcbd8b7e1cdee148d33ed272ae5ecc83fb60 (diff)
downloadvcpkg-e461467affad578d2e13a5c8f18cc37ee3007938.tar.gz
vcpkg-e461467affad578d2e13a5c8f18cc37ee3007938.zip
[Dependencies] User-requested vs autos-elected info is now in a separate enum
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_Dependencies.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/toolsrc/include/vcpkg_Dependencies.h b/toolsrc/include/vcpkg_Dependencies.h
index 5b0bf3187..b987a6b38 100644
--- a/toolsrc/include/vcpkg_Dependencies.h
+++ b/toolsrc/include/vcpkg_Dependencies.h
@@ -6,6 +6,12 @@
namespace vcpkg::Dependencies
{
+ enum class request_type
+ {
+ USER_REQUESTED,
+ AUTO_SELECTED
+ };
+
enum class install_plan_type
{
BUILD_AND_INSTALL,
@@ -29,13 +35,13 @@ namespace vcpkg::Dependencies
enum class remove_plan_type
{
NOT_INSTALLED,
- REMOVE_AUTO_SELECTED,
- REMOVE_USER_REQUESTED
+ REMOVE
};
struct remove_plan_action
{
- remove_plan_type type;
+ remove_plan_type plan_type;
+ request_type request_type;
std::unique_ptr<StatusParagraph> status_pgh;
};