diff options
Diffstat (limited to 'dll/src/sanear-dll/RegistryKey.h')
-rw-r--r-- | dll/src/sanear-dll/RegistryKey.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/dll/src/sanear-dll/RegistryKey.h b/dll/src/sanear-dll/RegistryKey.h deleted file mode 100644 index ba23e40..0000000 --- a/dll/src/sanear-dll/RegistryKey.h +++ /dev/null @@ -1,27 +0,0 @@ -#pragma once
-
-namespace SaneAudioRenderer
-{
- class RegistryKey final
- {
- public:
-
- RegistryKey() = default;
- ~RegistryKey();
- RegistryKey(const RegistryKey&) = delete;
- RegistryKey& operator=(const RegistryKey&) = delete;
-
- HRESULT Open(HKEY key, const wchar_t* subkey);
- void Close();
-
- bool SetString(const wchar_t* name, const wchar_t* value);
- bool GetString(const wchar_t* name, std::vector<wchar_t>& value);
-
- bool SetUint(const wchar_t* name, uint32_t value);
- bool RegistryKey::GetUint(const wchar_t* name, uint32_t& value);
-
- private:
-
- HKEY m_hKey = NULL;
- };
-}
|