mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
impr: Split up optional provider features into multiple abstract interfaces
This commit is contained in:
@@ -230,10 +230,6 @@ namespace hex::prv {
|
||||
return page;
|
||||
}
|
||||
|
||||
std::vector<Provider::Description> Provider::getDataDescription() const {
|
||||
return { };
|
||||
}
|
||||
|
||||
void Provider::undo() {
|
||||
m_undoRedoStack.undo();
|
||||
}
|
||||
@@ -250,29 +246,6 @@ namespace hex::prv {
|
||||
return m_undoRedoStack.canRedo();
|
||||
}
|
||||
|
||||
bool Provider::hasFilePicker() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Provider::handleFilePicker() {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Provider::hasLoadInterface() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Provider::hasInterface() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Provider::drawLoadInterface() {
|
||||
return true;
|
||||
}
|
||||
|
||||
void Provider::drawInterface() {
|
||||
}
|
||||
|
||||
nlohmann::json Provider::storeSettings(nlohmann::json settings) const {
|
||||
settings["displayName"] = this->getName();
|
||||
settings["type"] = this->getTypeName();
|
||||
|
||||
Reference in New Issue
Block a user