WorldWind.PluginEngine.Plugin

From World Wind Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:21, 17 June 2005 (edit)
Mashiharu (Talk | contribs)
m
← Previous diff
Revision as of 15:25, 17 June 2005 (edit) (undo)
Mashiharu (Talk | contribs)
m
Next diff →
Line 1: Line 1:
-Proposed new function for plugins: +==Proposed new functions for plugins==
 + 
 +===Refreshing file download==
void Download( Uri uriToDownloadFrom, string destinatiobnLocalFileName, TimeSpan updateInterval ) void Download( Uri uriToDownloadFrom, string destinatiobnLocalFileName, TimeSpan updateInterval )

Revision as of 15:25, 17 June 2005

Proposed new functions for plugins

=Refreshing file download

void Download( Uri uriToDownloadFrom, string destinatiobnLocalFileName, TimeSpan updateInterval )
  • If file exists locally use local if it's newer than current time minus updateInterval
  • Else download and overwrite the old file
Personal tools