mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
23 lines
700 B
C++
23 lines
700 B
C++
#pragma once
|
|
|
|
#include <hex/api/event_manager.hpp>
|
|
|
|
/* Provider requests definitions */
|
|
namespace hex {
|
|
|
|
/**
|
|
* @brief Creates a provider from its unlocalized name, and add it to the provider list
|
|
*/
|
|
EVENT_DEF(RequestCreateProvider, std::string, bool, bool, std::shared_ptr<hex::prv::Provider> *);
|
|
|
|
/**
|
|
* @brief Move the data from all PerProvider instances from one provider to another
|
|
*
|
|
* The 'from' provider should not have any per provider data after this, and should be immediately deleted
|
|
*
|
|
* FIXME: rename with the "Request" prefix to apply standard naming convention.
|
|
*/
|
|
EVENT_DEF(MovePerProviderData, prv::Provider *, prv::Provider *);
|
|
|
|
}
|