Changeset 3263 in orxonox.OLD for orxonox/branches/updater/src/gui/orxonox_gui_update.h
- Timestamp:
- Dec 24, 2004, 1:15:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/src/gui/orxonox_gui_update.h
r3261 r3263 24 24 Box* updateDataBox; //!< A Box for the Window for the Data-update. 25 25 ProgressBar* updateDataBar; //!< A Bar to display the progress of the download. 26 26 Button* updateDataBegin; //!< A Button to start the process. 27 27 28 28 Button* updateSourceWindowButton;//!< A Button to update the Source of orxonox. \todo tricky … … 38 38 #endif /* HAVE_GTK2 */ 39 39 40 #ifdef HAVE_CURL 41 struct FileInfo 42 { 43 char* fileOnNet; 44 char* fileOnDisk; 45 ProgressBar* Bar; 46 }; 47 48 static size_t curlWriteFunc (void* ptr, size_t size, size_t nmemb, FILE* stream); 49 static size_t curlReadFunc (void* ptr, size_t size, size_t nmemb, FILE* stream); 50 static int curlProgressFunc (ProgressBar* Bar, double totalSize, double progress, double upTotal, double upProgress); 51 52 static void* downloadThread (void* fileInfo); 53 54 #endif /* HAVE_CURL */ 40 55 41 56 public:
Note: See TracChangeset
for help on using the changeset viewer.