-
Jens-Michael Hoffmann authored
for different groups of hosts (in practice per map theme) and usage types. Only usage type for now is "Browse" when browsing the map. For the planned "download region" feature we need however to distinguish between "Browse" and "Bulk" download as this affects the number of allowing concurrent connections. As download policies for openstreetmap.org this patch also adds these policies <downloadPolicy usage="Browse" maximumConnections="20" /> <downloadPolicy usage="Bulk" maximumConnections="2" /> to openstreetmap.dgml. Key points: - In MarbleModel::setMapTheme the HttpDownloadManager is made aware of download policies. This was the best place I could find. - HttpDownloadManager checks if a download policy which is about to be added is in place already. - GeoSceneTexture is no longer copiable which apparently does no harm. - If a parser error occurs within a download policy element it is ignored. In such a case the default download policy will be used. - HttpDownloadManager::addJob has got a DownloadUsage parameter which is not yet used also because the default of DownloadBrowse is sufficient for now. svn path=/trunk/KDE/kdeedu/marble/; revision=1073244
9d6518af