[Marble-devel] Review Request: Add support for remote icon/image in kml

Shou Ya shouyatf at gmail.com
Sat Dec 22 15:50:48 UTC 2012



> On Dec. 22, 2012, 2:48 p.m., Torsten Rahn wrote:
> > Looks great in general, but shouldn't this use Marble's HttpDownloadManager class instead ? That would allow for different backends, caching, central download management, etc. ..

All right. But I can't find a valuable example usage of HttpDownloadManager, and I have some confusions.

* What's the second argument in HttpDownloadManager's ctor? What should I pass in it generally?
* Is there a global http download manager available to use or I should create a new one?
* Is there a global CacheStoragePolicy? ...?
* What shall I pass in the `destFilename' parameter in addJob method of HttpDownloadManager if I don't really need to save it as a file?
* What's the meaning of the `usage' parameter in addJob & which value should I pass in?


- Shou


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107846/#review23848
-----------------------------------------------------------


On Dec. 22, 2012, 12:05 p.m., Shou Ya wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107846/
> -----------------------------------------------------------
> 
> (Updated Dec. 22, 2012, 12:05 p.m.)
> 
> 
> Review request for Marble and Dennis Nienhüser.
> 
> 
> Description
> -------
> 
> In this patch I added a class RemoteIconLoader to implement this function.
> 
> This is a Google Code-in task(https://www.google-melange.com/gci/task/view/google/gci2012/8021203).
> 
> 
> This addresses bug 310464.
>     http://bugs.kde.org/show_bug.cgi?id=310464
> 
> 
> Diffs
> -----
> 
>   src/lib/CMakeLists.txt aa93315 
>   src/lib/geodata/data/GeoDataIconStyle.h 18ae3a8 
>   src/lib/geodata/data/GeoDataIconStyle.cpp b221821 
>   src/lib/geodata/data/RemoteIconLoader.h PRE-CREATION 
>   src/lib/geodata/data/RemoteIconLoader.cpp PRE-CREATION 
> 
> Diff: http://git.reviewboard.kde.org/r/107846/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Shou Ya
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20121222/d57df080/attachment-0001.html>


More information about the Marble-devel mailing list