Podmiana makr na globalne zmienne statyczne. Create cargo zmodyfikowane
This commit is contained in:
parent
022bc0d069
commit
608e382095
6 changed files with 63 additions and 72 deletions
|
|
@ -45,6 +45,17 @@
|
|||
|
||||
#define ALL_FILE ".*" // Wszystkie pliki
|
||||
|
||||
namespace key
|
||||
{
|
||||
inline constexpr std::string_view zip = "compress";
|
||||
inline constexpr std::string_view raw = "raw";
|
||||
inline constexpr std::string_view enc = "encrypt";
|
||||
inline constexpr std::string_view ignore = "ignore";
|
||||
inline constexpr std::string_view all = ".*";
|
||||
|
||||
inline constexpr std::string_view hpp = "keyhpp";
|
||||
}
|
||||
|
||||
struct PathConf
|
||||
{
|
||||
std::string path;
|
||||
|
|
@ -113,9 +124,6 @@ private:
|
|||
// Wczytanie filtrów wyj¹tków
|
||||
void GetFilters(const std::string&);
|
||||
|
||||
// Sprawdza czy plik znajduje siê na liœcie
|
||||
void computingBytes(const uint8_t&, std::vector<char>&, std::vector<char>&);
|
||||
|
||||
// Sprawdzanie rozsze¿eñ plików
|
||||
bool CheckFileExtension(const std::string&, const std::vector<std::string>&);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue