Freeciv-3.3
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
mpqt_worker Class Reference

#include <mpgui_qt_worker.h>

+ Inheritance diagram for mpqt_worker:

Public Member Functions

void run ()
 
void download (QString URL_in, class mpgui *gui_in, struct fcmp_params *fcmp_in, dl_msg_callback msg_callback_in, dl_pb_callback pb_callback_in)
 

Private Attributes

QString URL
 
class mpguigui
 
struct fcmp_paramsfcmp
 
dl_msg_callback msg_callback
 
dl_pb_callback pb_callback
 

Detailed Description

Definition at line 31 of file mpgui_qt_worker.h.

Member Function Documentation

◆ download()

void mpqt_worker::download ( QString  URL_in,
class mpgui gui_in,
struct fcmp_params fcmp_in,
dl_msg_callback  msg_callback_in,
dl_pb_callback  pb_callback_in 
)

Start thread to download and install given modpack.

Definition at line 63 of file mpgui_qt_worker.cpp.

Referenced by gui_download_modpack().

◆ run()

void mpqt_worker::run ( )

Run download thread

Definition at line 42 of file mpgui_qt_worker.cpp.

Field Documentation

◆ fcmp

struct fcmp_params* mpqt_worker::fcmp
private

Definition at line 45 of file mpgui_qt_worker.h.

Referenced by download(), and run().

◆ gui

class mpgui* mpqt_worker::gui
private

Definition at line 44 of file mpgui_qt_worker.h.

Referenced by download(), and run().

◆ msg_callback

dl_msg_callback mpqt_worker::msg_callback
private

Definition at line 46 of file mpgui_qt_worker.h.

Referenced by download(), and run().

◆ pb_callback

dl_pb_callback mpqt_worker::pb_callback
private

Definition at line 47 of file mpgui_qt_worker.h.

Referenced by download(), and run().

◆ URL

QString mpqt_worker::URL
private

Definition at line 43 of file mpgui_qt_worker.h.

Referenced by download(), and run().