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