Commit 330ee1f
committed
feat: add camelCase conversion for key names
Added conditional compilation to support both original key name format
and camelCase format for dde-daemon v25 compatibility
Implemented qtifyName function to convert hyphenated names to camelCase
by removing hyphens and capitalizing following letters
Added ENABLE_DSS_SNIPE macro check to maintain backward compatibility
while supporting new naming convention
feat: 为键名添加驼峰命名转换支持
添加条件编译以同时支持原始键名格式和v25 dde-daemon所需的小驼峰格式
实现qtifyName函数,通过移除连字符并大写后续字母将连字符分隔的名称转换为
驼峰命名添加ENABLE_DSS_SNIPE宏检查,在支持新命名规范的同时保持向后兼容性
pms: BUG-2925671 parent 2d779c1 commit 330ee1f
3 files changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
174 | 178 | | |
| 179 | + | |
175 | 180 | | |
176 | 181 | | |
177 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
85 | 91 | | |
0 commit comments