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

Dennis Nienhüser earthwings at gentoo.org
Sun Dec 23 16:50:42 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. ..
> 
> Shou Ya wrote:
>     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?
>     
>

Yes, reasonable concerns. Our API needs some love there.


- Dennis


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


On Dec. 23, 2012, 10:53 a.m., Shou Ya wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107846/
> -----------------------------------------------------------
> 
> (Updated Dec. 23, 2012, 10:53 a.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/20121223/9f623412/attachment.html>


More information about the Marble-devel mailing list