feat(registry): add basic registry implementation

This commit is contained in:
phaneron 2025-03-31 14:31:31 -04:00
parent 2ffa8217c0
commit f8a7ac7001
20 changed files with 1318 additions and 73 deletions

View 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