mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 00:12:40 +00:00
refactor(subsystems&ime): RAII lifecycle
This commit is contained in:
1 parent
34cf130e4d
commit
4980efa9b7
43 files changed
+816
-1256
No files matched your search
+8
-3
@@ -3,11 +3,16 @@
|
||||
|
||||
#include "common/abi.h"
|
||||
#include "common/common.h"
|
||||
#include "common/subsystems.h"
|
||||
|
||||
namespace Libs::Network {
|
||||
|
||||
KYTY_SUBSYSTEM_DEFINE(Network);
|
||||
void Initialize();
|
||||
void Shutdown();
|
||||
|
||||
struct Lifecycle {
|
||||
static constexpr const char* name = "Network";
|
||||
static constexpr auto initialize = Libs::Network::Initialize;
|
||||
static constexpr auto shutdown = Libs::Network::Shutdown;
|
||||
};
|
||||
|
||||
namespace Net {
|
||||
|
||||
|
||||
Reference in new issue
Block a user