2021-12-07 22:47:57 +01:00
|
|
|
#include <hex/api/content_registry.hpp>
|
|
|
|
|
|
|
|
#include "content/providers/gdb_provider.hpp"
|
2021-12-07 23:36:28 +01:00
|
|
|
#include "content/providers/file_provider.hpp"
|
2021-12-12 00:42:12 +01:00
|
|
|
#include "content/providers/disk_provider.hpp"
|
2021-12-07 22:47:57 +01:00
|
|
|
|
|
|
|
namespace hex::plugin::builtin {
|
|
|
|
|
|
|
|
void registerProviders() {
|
|
|
|
|
2021-12-12 21:46:48 +01:00
|
|
|
ContentRegistry::Provider::add<prv::FileProvider>("hex.builtin.provider.file", false);
|
2021-12-12 11:52:58 +01:00
|
|
|
ContentRegistry::Provider::add<prv::GDBProvider>("hex.builtin.provider.gdb");
|
|
|
|
ContentRegistry::Provider::add<prv::DiskProvider>("hex.builtin.provider.disk");
|
2021-12-07 22:47:57 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|