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
21
storm/registry/mac/Static.hpp
Normal file
21
storm/registry/mac/Static.hpp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef STORM_REGISTRY_MAC_STATIC_HPP
|
||||
#define STORM_REGISTRY_MAC_STATIC_HPP
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
class SRegStatic {
|
||||
public:
|
||||
NSMutableDictionary<NSString*, NSUserDefaults*>* hives;
|
||||
|
||||
static SRegStatic Get();
|
||||
|
||||
SRegStatic() {
|
||||
this->hives = [NSMutableDictionary init];
|
||||
}
|
||||
|
||||
~SRegStatic() {
|
||||
this->hives = nil;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue