9 const char*
getName()
const override {
return "mod_gpg"; }
12 bool start()
override;
15 const char*
getVersion()
const override {
return "1.0"; }
void mod_gpg_register()
Registers GPG module initializer in global registry.
Module interface that extends IService with module-specific features.
uint8_t getMenuItems(core::ModuleMenuItem *items, uint8_t maxItems) override
Provides main-menu entry for GPG module.
const char * getName() const override
bool init() override
Initializes GPG module resources and slot assignments.
core::ServiceState getState() const override
bool start() override
Starts GPG module and registers USB CCID interface.
static GpgModule & instance()
Returns singleton GPG module instance.
const char * getVersion() const override
Returns the module version string.
core::IModule::SlotRequest getSlotRequest() const override
Declares slot requirements for GPG module.
void stop() override
Stops GPG module and unregisters CCID interface.
void setSlotRange(const core::IModule::SlotRange &range) override
Stores slot range assigned by module registry.