squall/storm/registry/mac/Static.hpp

22 lines
370 B
C++
Raw Normal View History

#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