[keel,nostalgia] Add id() function to Keel modules
This commit is contained in:
@@ -15,6 +15,11 @@ class SceneModule: public keel::Module {
|
||||
SceneDocToSceneStaticConverter m_sceneDocToSceneStaticConverter;
|
||||
|
||||
public:
|
||||
[[nodiscard]]
|
||||
ox::String id() const noexcept override {
|
||||
return "net.drinkingtea.nostalgia.scene";
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
ox::Vector<keel::TypeDescGenerator> types() const noexcept override {
|
||||
return {
|
||||
@@ -39,7 +44,7 @@ class SceneModule: public keel::Module {
|
||||
|
||||
};
|
||||
|
||||
static SceneModule mod;
|
||||
static const SceneModule mod;
|
||||
const keel::Module *keelModule() noexcept {
|
||||
return &mod;
|
||||
}
|
||||
|
Reference in New Issue
Block a user