mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
feat(registry): add basic registry implementation
This commit is contained in:
parent
2ffa8217c0
commit
f8a7ac7001
20 changed files with 1318 additions and 73 deletions
14
storm/registry/mac/Static.mm
Normal file
14
storm/registry/mac/Static.mm
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include "storm/registry/mac/Static.hpp"
|
||||
|
||||
static SRegStatic* SRegStatic::Get() {
|
||||
static SRegStatic sregstatic;
|
||||
return &sregstatic;
|
||||
}
|
||||
|
||||
SRegStatic::SRegStatic() {
|
||||
this->hives = [[NSMutableDictionary alloc] init];
|
||||
}
|
||||
|
||||
SRegStatic::~SRegStatic() {
|
||||
this->hives = nil;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue