Lines Matching defs:props
31 void Utils::InputMethodProperty2C(CInputMethodProperty &props, const Property &property)
33 props.name = Utils::MallocCString(property.name);
34 props.id = Utils::MallocCString(property.id);
35 props.label = Utils::MallocCString(property.label);
36 props.labelId = property.labelId;
37 props.icon = Utils::MallocCString(property.icon);
38 props.iconId = property.iconId;
41 Property Utils::C2InputMethodProperty(CInputMethodProperty props)
44 property.name = std::string(props.name);
45 property.id = std::string(props.id);
46 property.label = std::string(props.label);
47 property.labelId = props.labelId;
48 property.icon = std::string(props.icon);
49 property.iconId = props.iconId;
53 void Utils::InputMethodSubProperty2C(CInputMethodSubtype &props, const SubProperty &property)
55 props.name = Utils::MallocCString(property.name);
56 props.id = Utils::MallocCString(property.id);
57 props.label = Utils::MallocCString(property.label);
58 props.labelId = property.labelId;
59 props.icon = Utils::MallocCString(property.icon);
60 props.iconId = property.iconId;
61 props.mode = Utils::MallocCString(property.mode);
62 props.locale = Utils::MallocCString(property.locale);
63 props.language = Utils::MallocCString(property.language);