Universal-Updater -> DarkStore Part 2

Renamed Strings For DarkStore
Made .store Files Useable
This commit is contained in:
dark98
2021-09-09 16:23:22 +01:00
parent 76b41884c5
commit c894ff9924
61 changed files with 650 additions and 648 deletions
+5 -5
View File
@@ -24,8 +24,8 @@
* reasonable ways as different from the original version.
*/
#ifndef _UNIVERSAL_UPDATER_FILE_BROWSE_HPP
#define _UNIVERSAL_UPDATER_FILE_BROWSE_HPP
#ifndef _DARKSTORE_FILE_BROWSE_HPP
#define _DARKSTORE_FILE_BROWSE_HPP
#include <dirent.h>
#include <string>
@@ -39,9 +39,9 @@ struct DirEntry {
};
/*
UniStore Info struct.
Store Info struct.
*/
struct UniStoreInfo {
struct StoreInfo {
std::string Title;
std::string Author;
std::string URL;
@@ -57,7 +57,7 @@ bool nameEndsWith(const std::string &name, const std::vector<std::string> &exten
void getDirectoryContents(std::vector<DirEntry> &dirContents, const std::vector<std::string> &extensionList);
void getDirectoryContents(std::vector<DirEntry> &dirContents);
std::vector<UniStoreInfo> GetUniStoreInfo(const std::string &path);
std::vector<StoreInfo> GetStoreInfo(const std::string &path);
void dirCopy(DirEntry *entry, const char *destinationPath, const char *sourcePath);
int fcopy(const char *sourcePath, const char *destinationPath);