Make naming convention consistent, and synchronize code
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#include "genericObj.h"
|
||||
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
|
||||
@@ -14,15 +13,13 @@
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
class GenericModel : public GenericObj {
|
||||
struct genericModel : genericObj {
|
||||
static bool first;
|
||||
const std::string url{};
|
||||
const std::string id{};
|
||||
static bool extractModel(const char* target, const std::string& dest);
|
||||
static bool checkId(const std::string& path, const std::string& id);
|
||||
public:
|
||||
const std::string storepath{};
|
||||
virtual bool checkModel(const std::string& path) = 0;
|
||||
static bool checkId(const std::string& id);
|
||||
virtual bool checkModel() = 0;
|
||||
bool loadModel();
|
||||
GenericModel(const std::string& url, const std::string& storepath, const std::string& id, int index);
|
||||
genericModel(const std::string& url, const std::string& storepath, const std::string& id, int index);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user