Lines Matching refs:archive

58 BNotification::BNotification(BMessage* archive)
60 BArchivable(archive),
67 if (archive->FindString("_appname", &appName) == B_OK)
71 if (archive->FindString("_signature", &signature) == B_OK)
75 if (archive->FindInt32("_type", &type) == B_OK)
81 if (archive->FindString("_group", &group) == B_OK)
85 if (archive->FindString("_title", &title) == B_OK)
89 if (archive->FindString("_content", &content) == B_OK)
93 if (archive->FindString("_messageID", &messageID) == B_OK)
98 && archive->FindFloat("_progress", &progress) == B_OK)
102 if (archive->FindString("_onClickApp", &onClickApp) == B_OK)
106 if (archive->FindRef("_onClickFile", &onClickFile) == B_OK)
111 while (archive->FindRef("_onClickRef", index++, &onClickRef) == B_OK)
116 while (archive->FindString("_onClickArgv", index++, &onClickArgv) == B_OK)
121 if ((ret = archive->FindMessage("_icon", &icon)) == B_OK) {
151 BNotification::Instantiate(BMessage* archive)
153 if (validate_instantiation(archive, "BNotification"))
154 return new(std::nothrow) BNotification(archive);
161 BNotification::Archive(BMessage* archive, bool deep) const
163 status_t status = BArchivable::Archive(archive, deep);
166 status = archive->AddString("_appname", fSourceName);
169 status = archive->AddString("_signature", fSourceSignature);
172 status = archive->AddInt32("_type", (int32)fType);
175 status = archive->AddString("_group", Group());
178 status = archive->AddString("_title", Title());
181 status = archive->AddString("_content", Content());
184 status = archive->AddString("_messageID", MessageID());
187 status = archive->AddFloat("_progress", Progress());
190 status = archive->AddString("_onClickApp", OnClickApp());
193 status = archive->AddRef("_onClickFile", OnClickFile());
197 status = archive->AddRef("_onClickRef", OnClickRefAt(i));
205 status = archive->AddString("_onClickArgv", OnClickArgAt(i));
217 archive->AddMessage("_icon", &iconArchive);