File diff r23537:f6a6d4ce4bd5 → r23538:8df50944b27a
src/network/network_content_gui.cpp
Show inline comments
 
@@ -151,25 +151,25 @@ void BaseNetworkContentDownloadStatusWin
 
		this->cur_id = ci->id;
 
		this->downloaded_files++;
 
	}
 

	
 
	this->downloaded_bytes += bytes;
 
	this->SetDirty();
 
}
 

	
 

	
 
/** Window for showing the download status of content */
 
struct NetworkContentDownloadStatusWindow : public BaseNetworkContentDownloadStatusWindow {
 
private:
 
	SmallVector<ContentType, 4> receivedTypes;     ///< Types we received so we can update their cache
 
	std::vector<ContentType> receivedTypes;     ///< Types we received so we can update their cache
 

	
 
public:
 
	/**
 
	 * Create a new download window based on a list of content information
 
	 * with flags whether to download them or not.
 
	 */
 
	NetworkContentDownloadStatusWindow() : BaseNetworkContentDownloadStatusWindow(&_network_content_download_status_window_desc)
 
	{
 
		this->parent = FindWindowById(WC_NETWORK_WINDOW, WN_NETWORK_WINDOW_CONTENT_LIST);
 
	}
 

	
 
	/** Free whatever we've allocated */