Lodestone.Core
Loading...
Searching...
No Matches
Lodestone.h
Go to the documentation of this file.
1//
2// Created by DexrnZacAttack on 11/19/25 using zPc-i2.
3//
4#ifndef LODESTONE_CORE_LODESTONE_H
5#define LODESTONE_CORE_LODESTONE_H
7#include <Lodestone.Common/Defines.h>
8#include <Lodestone.Common/registry/Identifier.h>
9
11
12namespace lodestone::core {
14 class Lodestone {
15 public:
16 static Lodestone *getInstance();
17
19 bool hasExtension(const common::registry::Identifier &id) const;
21 getExtension(const common::registry::Identifier &id);
22 const map_t<common::registry::Identifier, LodestoneExtension *> &
24
26
27 private:
28 map_t<common::registry::Identifier, LodestoneExtension *>
30
32 };
33} // namespace lodestone::core
34
35#endif // LODESTONE_CORE_LODESTONE_H
Definition LodestoneExtension.h:11
The core Lodestone class, used for registering other plugin libs.
Definition Lodestone.h:14
static Lodestone * getInstance()
Definition Lodestone.cpp:11
version::VersionRegistry m_versionRegistry
Definition Lodestone.h:31
const map_t< common::registry::Identifier, LodestoneExtension * > & getExtensions()
Definition Lodestone.cpp:38
map_t< common::registry::Identifier, LodestoneExtension * > m_extensions
Definition Lodestone.h:29
LodestoneExtension * getExtension(const common::registry::Identifier &id)
Definition Lodestone.cpp:30
bool hasExtension(const common::registry::Identifier &id) const
Definition Lodestone.cpp:25
void registerExtension(LodestoneExtension *ext)
Definition Lodestone.cpp:16
version::VersionRegistry & getVersionRegistry()
Definition Lodestone.cpp:42
Definition VersionRegistry.h:13
Definition LibraryException.cpp:10