0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. arkui_ace_engine
  2. /
  3. frameworks
  4. /
  5. core
  6. /
  7. components
  8. /
  9. toggle
zhangfanfan21zhangfanfan21optimize header includes in theme files to reduce compilation time
ff286108创建于 4月23日历史提交
文件最后提交记录最后更新时间
toggle_theme.cpp
optimize header includes in theme files to reduce compilation time Move Builder class inline implementations from theme header files to .cpp files for checkable, button, toggle, slider, and rating components. Remove heavy includes (theme_constants.h, container.h, system_properties.h) from theme headers and add forward declarations instead. This reduces transitive header expansion across the codebase. Signed-off-by: zhangfanfan21 <zhangfanfan2@huawei.com> Co-Authored-By: Agent <agent@anthropic.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Change-Id: Iafc9792e6fa40b72c810d9b3b1b30b31be6ca482 1 个月前
toggle_theme.h
optimize header includes in theme files to reduce compilation time Move Builder class inline implementations from theme header files to .cpp files for checkable, button, toggle, slider, and rating components. Remove heavy includes (theme_constants.h, container.h, system_properties.h) from theme headers and add forward declarations instead. This reduces transitive header expansion across the codebase. Signed-off-by: zhangfanfan21 <zhangfanfan2@huawei.com> Co-Authored-By: Agent <agent@anthropic.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Change-Id: Iafc9792e6fa40b72c810d9b3b1b30b31be6ca482 1 个月前