aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/StatusParagraph.h
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-10-13 18:37:41 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-10-13 18:37:41 -0700
commite17de99599a2f114faab1bb4821fbaad4d266c95 (patch)
tree397fec8a85af3ef002c125ce013eceb60d27116d /toolsrc/include/StatusParagraph.h
parent1fb5313a881fe0fcfd90dff5255045c8367ee00b (diff)
downloadvcpkg-e17de99599a2f114faab1bb4821fbaad4d266c95.tar.gz
vcpkg-e17de99599a2f114faab1bb4821fbaad4d266c95.zip
[vcpkg] Re-layout all files using new organization scheme.
All filenames and directories are lowercase. Use dots for namespace separation.
Diffstat (limited to 'toolsrc/include/StatusParagraph.h')
-rw-r--r--toolsrc/include/StatusParagraph.h44
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);
-}