15 #include <wx/string.h>
wxDECLARE_EVENT(EVT_HTTP_FETCH_COMPLETE, wxThreadEvent)
Custom event type for HTTP fetch completion.
void Fetch()
Initiates the asynchronous HTTP fetch operation.
wxEvtHandler * m_handler
Pointer to the event handler that receives the completion event.
Definition HttpFetcher.h:67
HttpFetcher(wxEvtHandler *handler, const wxString &url)
Constructor for HttpFetcher.
bool dead
Flag indicating whether the instance should be deleted after execution.
Definition HttpFetcher.h:69
void FetchData()
Performs the actual HTTP GET request.
wxString m_url
URL to be fetched.
Definition HttpFetcher.h:68
void Destroy()
Marks the instance for destruction.