#include <dlgupdate.h>
Collaboration diagram for WDS::CDlgUpdate:
Public Member Functions | |
CDlgUpdate (wxWindow *pParent, CProfile *profile) | |
const HTTP::GetRequest * | GetHTTPRequest () |
Protected Member Functions | |
bool | CheckDownload () |
CDlgUpdate
handles the transfer-process from the phpmap
to the WDSMap
.CDlgUpdate dlg( this, CProfileManager::GetCurrentProfile() ); dlg.Center(); if( dlg.ShowModal() == wxID_OK ) { // wxID_OK means update was successful std::string strUpdate = dlg.GetUpdateString( ); // strUpdate contains all new data } else { // an error occured (Cancel pressed or transfer error), but the // CDlgUpdate already handeld all that, so you don't have to care // about the "else"-part. }
Definition at line 61 of file dlgupdate.h.
|
constructor
Definition at line 47 of file dlgupdate.cpp. |
|
Wertet die runtergeladenen Daten aus. Dabei werden Fehler und Version der wdsmap geprüft und der Timestamp wird aktualisiert.
Definition at line 264 of file dlgupdate.cpp. References HTTP::GetRequest::getData(), HTTP::GetRequest::getHeaderAsInt(), and HTTP::GetRequest::getHeaderAsString(). |
Here is the call graph for this function:
|
get the HTTP::GetRequest instance. This way you can get all header-information via HTTP::GetRequest::GetHeaderValue("key");
Definition at line 131 of file dlgupdate.cpp. |