Usunięto TUI, Zmieniono strukturę PAK... agan, Rezygnacja z FNV hash jako referencji, Zmieana wartości flag na maski
This commit is contained in:
parent
a84a69cbd6
commit
91aaa279ec
16 changed files with 86 additions and 575 deletions
|
|
@ -47,7 +47,7 @@
|
|||
struct PathConf
|
||||
{
|
||||
std::string path;
|
||||
int8_t parameter;
|
||||
uint8_t parameter;
|
||||
};
|
||||
|
||||
class CreateCargo {
|
||||
|
|
@ -56,14 +56,14 @@ public:
|
|||
virtual ~CreateCargo();
|
||||
|
||||
// Punk wejœcia do tworzenia archivum
|
||||
bool Create(const std::string&, const short&);
|
||||
bool Create(const std::string&, const uint8_t&);
|
||||
|
||||
private:
|
||||
const std::string signature;
|
||||
const std::string extension;
|
||||
const signed char version;
|
||||
|
||||
short methodFlags;
|
||||
uint8_t methodFlags;
|
||||
|
||||
|
||||
std::string catalogPath;
|
||||
|
|
@ -72,7 +72,7 @@ private:
|
|||
|
||||
std::vector<std::string> filesList;
|
||||
|
||||
EncryptionManager crypt;
|
||||
EncryptionManager eman;
|
||||
bool hppKey;
|
||||
|
||||
// listy wyj¹tków
|
||||
|
|
@ -110,7 +110,7 @@ private:
|
|||
void GetFilters(const std::string&);
|
||||
|
||||
// Sprawdza czy plik znajduje siê na liœcie
|
||||
void computingBytes(const int8_t&, std::vector<char>&, std::vector<char>&);
|
||||
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>&);
|
||||
|
|
@ -118,9 +118,6 @@ private:
|
|||
// Zamieñ ca³y ci¹g na du¿e litery
|
||||
std::string UpperString(std::string);
|
||||
|
||||
// Wygenerój FNV-1a HASH
|
||||
uint64_t fnv64(const std::string& data);
|
||||
|
||||
// ZnajdŸ wskazany element na liœcie
|
||||
bool FindOnTheList(const std::vector<std::string>&, const std::string&);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue