Lines Matching defs:attributes
101 BMessage& attributes)
105 // TODO: attributes.AddInt32(B_MAIL_ATTR_CONTENT, length);
106 attributes.AddInt32(B_MAIL_ATTR_ACCOUNT_ID, fAccountID);
107 attributes.AddString(B_MAIL_ATTR_ACCOUNT, fAccountName);
135 attributes.AddString(gDefaultFields[i].attr_name, target);
144 attributes.AddData(B_MAIL_ATTR_WHEN, B_TIME_TYPE, &when,
151 BString senderName = _ExtractName(attributes.FindString(B_MAIL_ATTR_FROM));
152 attributes.AddString(B_MAIL_ATTR_NAME, senderName);
156 BString name = attributes.FindString(B_MAIL_ATTR_SUBJECT);
160 attributes.AddString(B_MAIL_ATTR_THREAD, name);
171 if (attributes.FindData(B_MAIL_ATTR_WHEN, B_TIME_TYPE,
181 BString workerName = attributes.FindString(B_MAIL_ATTR_FROM);
198 if (!attributes.HasString(B_MAIL_ATTR_STATUS))
199 attributes.AddString(B_MAIL_ATTR_STATUS, "New");
201 _SetType(attributes, B_PARTIAL_MAIL_TYPE);
211 BMessage& attributes)
213 _SetType(attributes, B_MAIL_TYPE);
311 HaikuMailFormatFilter::_SetType(BMessage& attributes, const char* mimeType)
313 return attributes.SetData("BEOS:TYPE", B_MIME_STRING_TYPE, mimeType,