MCPcopy Create free account
hub / github.com/AGenUI/AGenUI / loadThemeConfig

Method loadThemeConfig

core/src/module/agenui_engine_impl.cpp:194–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194bool AGenUIEngine::loadThemeConfig(const std::string &themeConfig, std::string &result) {
195 if (!_isRunning.load()) {
196 return false;
197 }
198 if (!_componentPropertySpecManager) {
199 result = "ComponentPropertySpecManager not initialized";
200 return false;
201 }
202 bool success = _componentPropertySpecManager->loadFromString(themeConfig);
203 if (!success) {
204 result = "Failed to parse theme config";
205 }
206 return success;
207}
208
209bool AGenUIEngine::loadDesignTokenConfig(const std::string &designTokenConfig, std::string &result) {
210 if (!_isRunning.load()) {

Callers 5

jni_loadThemeConfigFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45

Calls 1

loadFromStringMethod · 0.80

Tested by 4

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36