<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/107846/">http://git.reviewboard.kde.org/r/107846/</a>
     </td>
    </tr>
   </table>
   <br />





<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
 <p style="margin-top: 0;">On December 22nd, 2012, 2:48 p.m., <b>Torsten Rahn</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">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. .. </pre>
 </blockquote>







</blockquote>

<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">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?

</pre>
<br />








<p>- Shou</p>


<br />
<p>On December 22nd, 2012, 12:05 p.m., Shou Ya wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for Marble and Dennis Nienhüser.</div>
<div>By Shou Ya.</div>


<p style="color: grey;"><i>Updated Dec. 22, 2012, 12:05 p.m.</i></p>






<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">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).</pre>
  </td>
 </tr>
</table>




<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="http://bugs.kde.org/show_bug.cgi?id=310464">310464</a>


</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>src/lib/CMakeLists.txt <span style="color: grey">(aa93315)</span></li>

 <li>src/lib/geodata/data/GeoDataIconStyle.h <span style="color: grey">(18ae3a8)</span></li>

 <li>src/lib/geodata/data/GeoDataIconStyle.cpp <span style="color: grey">(b221821)</span></li>

 <li>src/lib/geodata/data/RemoteIconLoader.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>src/lib/geodata/data/RemoteIconLoader.cpp <span style="color: grey">(PRE-CREATION)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/107846/diff/" style="margin-left: 3em;">View Diff</a></p>




  </td>
 </tr>
</table>








  </div>
 </body>
</html>