diff options
Diffstat (limited to 'toolsrc/include/StatusParagraph.h')
| -rw-r--r-- | toolsrc/include/StatusParagraph.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/toolsrc/include/StatusParagraph.h b/toolsrc/include/StatusParagraph.h deleted file mode 100644 index b56533d65..000000000 --- a/toolsrc/include/StatusParagraph.h +++ /dev/null @@ -1,44 +0,0 @@ -#pragma once - -#include "BinaryParagraph.h" -#include <unordered_map> - -namespace vcpkg -{ - enum class InstallState - { - ERROR_STATE, - NOT_INSTALLED, - HALF_INSTALLED, - INSTALLED, - }; - - enum class Want - { - ERROR_STATE, - UNKNOWN, - INSTALL, - HOLD, - DEINSTALL, - PURGE - }; - - /// <summary> - /// Installed package metadata - /// </summary> - struct StatusParagraph - { - StatusParagraph(); - explicit StatusParagraph(std::unordered_map<std::string, std::string>&& fields); - - BinaryParagraph package; - Want want; - InstallState state; - }; - - void serialize(const StatusParagraph& pgh, std::string& out_str); - - std::string to_string(InstallState f); - - std::string to_string(Want f); -} |
