21 #import "OFWindowsRegistryKey.h" 25 OF_ASSUME_NONNULL_BEGIN
35 OFWindowsRegistryKey *_registryKey;
44 @property (readonly, nonatomic) OFWindowsRegistryKey *registryKey;
49 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *valueName;
54 @property (readonly, nonatomic) LSTATUS status;
66 + (instancetype)exceptionWithRegistryKey: (OFWindowsRegistryKey *)registryKey
67 valueName: (nullable
OFString *)valueName
68 status: (LSTATUS)status;
70 + (instancetype)exception OF_UNAVAILABLE;
82 - (instancetype)initWithRegistryKey: (OFWindowsRegistryKey *)registryKey
83 valueName: (nullable
OFString *)valueName
84 status: (LSTATUS)status OF_DESIGNATED_INITIALIZER;
86 - (instancetype)init OF_UNAVAILABLE;
A class for handling strings.
Definition: OFString.h:142
An exception indicating that getting a Windows registry value failed.
Definition: OFGetWindowsRegistryValueFailedException.h:33
The base class for all exceptions in ObjFW.
Definition: OFException.h:156