Lines Matching refs:archive
86 IconView(BMessage* archive)
89 fIconBitmap(archive),
116 status_t SaveSettings(BMessage* archive)
118 return fIconBitmap.Archive(archive);
191 DownloadProgressView::DownloadProgressView(const BMessage* archive)
199 if (archive->FindString("path", &string) == B_OK)
201 if (archive->FindString("url", &string) == B_OK)
207 DownloadProgressView::Init(BMessage* archive)
225 if (archive) {
228 if (archive->FindFloat("value", &value) == B_OK)
235 // fPath is only valid when constructed from archive (fDownload == NULL)
238 if (archive) {
240 fIconView = new IconView(archive);
304 DownloadProgressView::SaveSettings(BMessage* archive)
306 if (!archive)
308 status_t ret = archive->AddString("path", fPath.Path());
310 ret = archive->AddString("url", fURL.String());
312 ret = archive->AddFloat("value", fStatusBar->CurrentValue());
314 ret = fIconView->SaveSettings(archive);