|
22 | 22 | * SOFTWARE. |
23 | 23 | *********************************************************************************/ |
24 | 24 |
|
25 | | -#include "win32_registry.h" |
| 25 | +#include "Win32Registry.h" |
26 | 26 |
|
27 | 27 | //#define WIN32_LEAN_AND_MEAN 1 |
28 | 28 | #include <windows.h> |
|
40 | 40 | #include <assert.h> |
41 | 41 | #include <algorithm> |
42 | 42 |
|
43 | | -namespace win32_registry |
| 43 | +namespace Win32Registry |
44 | 44 | { |
45 | 45 | bool IsIconEquals(const REGISTRY_ICON & a, const REGISTRY_ICON & b) |
46 | 46 | { |
@@ -257,7 +257,7 @@ namespace win32_registry |
257 | 257 | //set default value |
258 | 258 | if (iDefaultValue) |
259 | 259 | { |
260 | | - if (!win32_registry::SetValue(iKeyPath, "", iDefaultValue)) |
| 260 | + if (!Win32Registry::SetValue(iKeyPath, "", iDefaultValue)) |
261 | 261 | return false; |
262 | 262 | } |
263 | 263 |
|
@@ -955,7 +955,7 @@ namespace win32_registry |
955 | 955 | entries.push_back(entry); |
956 | 956 | } |
957 | 957 |
|
958 | | - //process root key acronyms for win32_registry functions |
| 958 | + //process root key acronyms for Win32Registry functions |
959 | 959 | else if (line == "HKCR") |
960 | 960 | previous_key_name = "HKEY_CLASSES_ROOT"; |
961 | 961 | else if (line == "HKCU") |
@@ -1054,7 +1054,7 @@ namespace win32_registry |
1054 | 1054 |
|
1055 | 1055 | for(size_t i=0; i<entries.size(); i++) |
1056 | 1056 | { |
1057 | | - const win32_registry::RGS_ENTRY & entry = entries[i]; |
| 1057 | + const Win32Registry::RGS_ENTRY & entry = entries[i]; |
1058 | 1058 | if (entry.isKey) |
1059 | 1059 | { |
1060 | 1060 | //std::string debug_message; |
@@ -1104,7 +1104,7 @@ namespace win32_registry |
1104 | 1104 |
|
1105 | 1105 | for(size_t i=0; i<entries.size(); i++) |
1106 | 1106 | { |
1107 | | - const win32_registry::RGS_ENTRY & entry = entries[i]; |
| 1107 | + const Win32Registry::RGS_ENTRY & entry = entries[i]; |
1108 | 1108 | if (entry.isNoRemove) |
1109 | 1109 | continue; |
1110 | 1110 |
|
@@ -1150,4 +1150,4 @@ namespace win32_registry |
1150 | 1150 | return icon; |
1151 | 1151 | } |
1152 | 1152 |
|
1153 | | -} //namespace win32_registry |
| 1153 | +} //namespace Win32Registry |
0 commit comments