aboutsummaryrefslogtreecommitdiff
path: root/include/vars.hh
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-05-24 10:23:38 +0000
committerdacctal <dacctal@symlinx.net>2026-05-24 10:23:38 +0000
commitaa0d78815004ae6b0c4a42b0e024f5c4ef555ae2 (patch)
tree62f97b4c5acfdb98003568466f878fbd3d6b9dfb /include/vars.hh
parent83d471f2c1d1b1fa6be51f41e4f1c36ab19d7094 (diff)
c rewrite
Diffstat (limited to 'include/vars.hh')
-rw-r--r--include/vars.hh84
1 files changed, 0 insertions, 84 deletions
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 <string>
-#include <filesystem>
-#include <unordered_map>
-
-extern std::unordered_map<std::string, std::string> repos;
-extern std::unordered_map<std::string, std::string> 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