Lines Matching defs:val
42 LiveSetting::LiveSetting(uint32 id, const char *name, bool val)
45 fBoolVal = val;
48 LiveSetting::LiveSetting(uint32 id, const char *name, int32 val)
51 fInt32Val = val;
54 LiveSetting::LiveSetting(uint32 id, const char *name, const char *val)
57 fCharpVal = val;
92 LiveSetting::AddReplaceValue(BMessage *msgTo, bool val) const
100 if (msgTo->ReplaceBool(fName, val) == B_OK)
103 if (msgTo->AddBool(fName, val) == B_OK)
111 LiveSetting::AddReplaceValue(BMessage *msgTo, int32 val) const
119 if (msgTo->ReplaceInt32(fName, val) == B_OK)
122 if (msgTo->AddInt32(fName, val) == B_OK)
130 LiveSetting::AddReplaceValue(BMessage *msgTo, const BString &val) const
138 if (msgTo->ReplaceString(fName, val) == B_OK)
141 if (msgTo->AddString(fName, val) == B_OK)
149 LiveSetting::GetValue(BMessage *msgFrom, bool &val) const
156 val = fBoolVal;
159 } else if (msgFrom->FindBool(fName, &val) == B_OK)
166 LiveSetting::GetValue(BMessage *msgFrom, int32 &val) const
173 val = fInt32Val;
176 } else if (msgFrom->FindInt32(fName, &val) == B_OK)
183 LiveSetting::GetValue(BMessage *msgFrom, BString &val) const
190 val = fCharpVal;
193 } else if (msgFrom->FindString(fName, &val) == B_OK)