Changeset 3315 in orxonox.OLD for orxonox/branches/updater/src/gui/orxonox_gui_update.h
- Timestamp:
- Jan 3, 2005, 12:13:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/src/gui/orxonox_gui_update.h
r3298 r3315 31 31 char* userName; //!< The user logged in. 32 32 33 bool getSystemInfo( );33 bool getSystemInfo(void); 34 34 35 35 // Window creation. … … 53 53 54 54 #ifdef HAVE_GTK2 55 static gint updateDataFunc 56 static gint updateSourceFunc 55 static gint updateDataFunc(GtkWidget* w, GdkEventKey* event, void* info); 56 static gint updateSourceFunc(GtkWidget* w, GdkEventKey* event, void* info); 57 57 #endif /* HAVE_GTK2 */ 58 58 … … 71 71 }; 72 72 73 static size_t curlWriteFunc 74 static size_t curlReadFunc 75 static int curlProgressFunc (ProgressBar* Bar, double totalSize, double progress, double upTotal, double upProgress);73 static size_t curlWriteFunc(void* ptr, size_t size, size_t nmemb, FILE* stream); 74 static size_t curlReadFunc(void* ptr, size_t size, size_t nmemb, FILE* stream); 75 static int curlProgressFunc(ProgressBar* bar, double totalSize, double progress, double upTotal, double upProgress); 76 76 77 77 static CURL* curlHandle; … … 85 85 static bool isDownloading; 86 86 87 static bool download 88 static bool downloadWithStyle 89 static void* downloadThread 87 static bool download(void* fileInfo); 88 static bool downloadWithStyle(void* fileInfo); 89 static void* downloadThread(void* fileInfo); 90 90 static void* downloadThreadFinished(void* fileInfo); 91 91 … … 94 94 95 95 public: 96 OrxonoxGuiUpdate ();97 ~OrxonoxGuiUpdate ();96 OrxonoxGuiUpdate(void); 97 ~OrxonoxGuiUpdate(void); 98 98 99 Widget* getWidget ();99 Widget* getWidget(void); 100 100 #ifdef HAVE_CURL 101 void updateDataWindowCreate 101 void updateDataWindowCreate(void); 102 102 Button* updateDataWindowGetButton(void); 103 103 104 void updateSourceWindowCreate 104 void updateSourceWindowCreate(void); 105 105 Button* updateSourceWindowGetButton(void); 106 106 107 bool* checkForUpdates( );107 bool* checkForUpdates(void); 108 108 109 109 #endif /* HAVE_CURL */
Note: See TracChangeset
for help on using the changeset viewer.