From aa0d78815004ae6b0c4a42b0e024f5c4ef555ae2 Mon Sep 17 00:00:00 2001 From: dacctal Date: Sun, 24 May 2026 10:23:38 +0000 Subject: c rewrite --- include/vars.hh | 84 --------------------------------------------------------- 1 file changed, 84 deletions(-) delete mode 100644 include/vars.hh (limited to 'include/vars.hh') diff --git a/include/vars.hh b/include/vars.hh deleted file mode 100644 index 1d516ea..0000000 --- a/include/vars.hh +++ /dev/null @@ -1,84 +0,0 @@ -#ifndef VARS -#define VARS - -#include -#include -#include - -extern std::unordered_map repos; -extern std::unordered_map install_directories; - -extern bool is_symlink_install; -extern bool is_verbose; -extern bool config_exists; - -struct Pkg { - std::string url; - std::string name; - const char* target; - std::string ver; - std::filesystem::path src; - bool is_local; -}; - -extern const std::string home_dir; - -extern const std::string root_config; -extern bool is_root_config; -extern const std::string config_dir; -extern const std::string config_file; -extern const std::string repo_file; - -extern const std::string bin; -extern const std::string lib; -extern const std::string include; -extern const std::string pkgblds; -extern const std::string all_dirs[5]; - -// version -extern const std::string version; - -// colors -extern const std::string red; -extern const std::string green; -extern const std::string yellow; -extern const std::string blue; -extern const std::string magenta; -extern const std::string cyan; -extern const std::string gray; -// bright -extern const std::string bright_red; -extern const std::string bright_green; -extern const std::string bright_yellow; -extern const std::string bright_blue; -extern const std::string bright_magenta; -extern const std::string bright_cyan; -extern const std::string bright_gray; -// bold -extern const std::string bold_red; -extern const std::string bold_green; -extern const std::string bold_yellow; -extern const std::string bold_blue; -extern const std::string bold_magenta; -extern const std::string bold_cyan; -extern const std::string bold_gray; -extern const std::string bold_white; -// bold bright -extern const std::string bold_bright_red; -extern const std::string bold_bright_green; -extern const std::string bold_bright_yellow; -extern const std::string bold_bright_blue; -extern const std::string bold_bright_magenta; -extern const std::string bold_bright_cyan; -extern const std::string bold_bright_gray; -// italic -extern const std::string italic; -// reset -extern const std::string color_reset; - -extern const std::string print_pkgit; -extern const std::string print_skipped; -extern const std::string print_warning; -extern const std::string print_error; - -#endif -- cgit v1.2.3