*** empty log message ***

This commit is contained in:
Mike Goslin 2000-11-17 22:16:39 +00:00
parent a3002f841c
commit f3b6fdc154
2 changed files with 15 additions and 0 deletions

View File

@ -207,6 +207,19 @@ disconnect_from_server(void) {
_connected = false;
}
////////////////////////////////////////////////////////////////////
// Function: Downloader::change_buffer_size
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
void Downloader::
change_buffer_size(int size) {
if (_buffer->get_length() == size)
return;
_buffer.clear();
_buffer = new Buffer(size);
}
////////////////////////////////////////////////////////////////////
// Function: Downloader::request_download
// Access: Public

View File

@ -46,6 +46,8 @@ PUBLISHED:
int last_byte, int total_bytes,
bool partial_content = true);
void change_buffer_size(int size);
INLINE void set_bandwidth(float bytes);
INLINE float get_bandwidth(void) const;
INLINE void enable_download(bool val);