|
NetSurf
|
Public Member Functions | |
| NSDownloadWindow (download_context *ctx) | |
| ~NSDownloadWindow () | |
| void | MessageReceived (BMessage *message) |
| void | Progress (int size) |
| void | Failure (const char *error) |
| void | Success () |
Private Attributes | |
| download_context * | ctx |
| BStatusBar * | bar |
| unsigned long | progress |
| bool | success |
Definition at line 39 of file download.cpp.
| NSDownloadWindow::NSDownloadWindow | ( | download_context * | ctx | ) |
Definition at line 67 of file download.cpp.
References bar, buffer, ctx, download_context_get_filename(), download_context_get_total_length(), and human_friendly_bytesize().
| NSDownloadWindow::~NSDownloadWindow | ( | ) |
Definition at line 100 of file download.cpp.
References ctx, download_context_abort(), and download_context_destroy().
| void NSDownloadWindow::Failure | ( | const char * | error | ) |
Definition at line 177 of file download.cpp.
References B_FAILURE_COLOR, bar, and gui_download_window::error.
Referenced by gui_download_window_error().
| void NSDownloadWindow::MessageReceived | ( | BMessage * | message | ) |
Definition at line 108 of file download.cpp.
References gui_download_window::name, gui_download_window::storage, gui_download_window::storageLock, and success.
| void NSDownloadWindow::Progress | ( | int | size | ) |
Definition at line 151 of file download.cpp.
References bar, buffer, human_friendly_bytesize(), progress, and gui_download_window::size.
Referenced by gui_download_window_data().
| void NSDownloadWindow::Success | ( | ) |
Definition at line 166 of file download.cpp.
References B_SUCCESS_COLOR, bar, and success.
Referenced by gui_download_window_done().
|
private |
Definition at line 52 of file download.cpp.
Referenced by Failure(), NSDownloadWindow(), Progress(), and Success().
|
private |
Definition at line 51 of file download.cpp.
Referenced by NSDownloadWindow(), and ~NSDownloadWindow().
|
private |
Definition at line 53 of file download.cpp.
Referenced by Progress().
|
private |
Definition at line 54 of file download.cpp.
Referenced by MessageReceived(), and Success().