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
Current revision (00:56, 25 June 2005) (edit) (undo)
Nosilleg (Talk | contribs)
m (changed cat:SourceCode to Source_Code)
 
(2 intermediate revisions not shown.)
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 )
Line 7: Line 9:
-[[Category:SourceCode]]+[[Category:Source_Code]]

Current revision

[edit] Proposed new functions for plugins

[edit] 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