载入中...
搜索中...
未找到
eve::ui_editing::UiThemePreviewService类 参考
Builds a Theme copy for a catalog revision without touching runtime globals. 更多...
#include <UiTheme.h>
Public 成员函数 | |
| UiThemePreviewSnapshot | build (const UiThemeCatalogTarget &catalog, const ObjectId &themeId, Revision expectedRevision) const |
Copy tokens for themeId when expectedRevision matches the catalog. | |
详细描述
Builds a Theme copy for a catalog revision without touching runtime globals.
成员函数说明
◆ build()
| UiThemePreviewSnapshot eve::ui_editing::UiThemePreviewService::build | ( | const UiThemeCatalogTarget & | catalog, |
| const ObjectId & | themeId, | ||
| Revision | expectedRevision | ||
| ) | const |
Copy tokens for themeId when expectedRevision matches the catalog.
- 参数
-
expectedRevision Caller-held generation; mismatch yields Conflict and keeps diagnostics.
在文件 UiPreview.cpp 第 138 行定义.
引用了 eve::editing::EditableTargetState::revision(), eve::ui_editing::UiThemeCatalogTarget::runtimeName(), snapshot , 以及 eve::ui_editing::UiThemeCatalogTarget::theme().
该类的文档由以下文件生成:
- src/modules/ui/editing/UiTheme.h
- src/modules/ui/editing/UiPreview.cpp