From f9d3eb1bcc7ca6a2aed4cd4dba2dae2dd722a7fe Mon Sep 17 00:00:00 2001 From: Pranav Srinivas Kumar Date: Thu, 13 Feb 2020 14:22:52 +0530 Subject: [PATCH] Minor updates --- single_include/indicators/indicators.hpp | 40 +++++++++++++++++++----- 1 file changed, 33 insertions(+), 7 deletions(-) diff --git a/single_include/indicators/indicators.hpp b/single_include/indicators/indicators.hpp index 383d4e9..777fc4e 100644 --- a/single_include/indicators/indicators.hpp +++ b/single_include/indicators/indicators.hpp @@ -31,23 +31,22 @@ SOFTWARE. */ #pragma once #include +#include #include #include #include -#include -#include -#include -#include -#define NOMINMAX -#include -#include #include +#include #include #include +#include +#include #include #include #include #include +#include +#define NOMINMAX namespace indicators { enum class Color { grey, red, green, yellow, blue, magenta, cyan, white }; @@ -614,6 +613,33 @@ private: } // namespace details } // namespace indicators +/* +Activity Indicators for Modern C++ +https://github.com/p-ranav/indicators + +Licensed under the MIT License . +SPDX-License-Identifier: MIT +Copyright (c) 2019 Dawid Pilarski . + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + namespace indicators { namespace details {