#pragma once #include #include #include #include #include namespace hex::plugin::builtin { class ViewHashes : public View { public: explicit ViewHashes(); ~ViewHashes() override; void drawContent() override; private: bool importHashes(prv::Provider *provider, const nlohmann::json &json); bool exportHashes(prv::Provider *provider, nlohmann::json &json); private: ContentRegistry::Hashes::Hash *m_selectedHash = nullptr; std::string m_newHashName; PerProvider> m_hashFunctions; }; }