kicommon PROGRESS_REPORTER
This commit is contained in:
parent
5bbe01b570
commit
c7fa3adcb8
|
@ -95,6 +95,8 @@ set( KICOMMON_SRCS
|
|||
kicad_curl/kicad_curl.cpp
|
||||
kicad_curl/kicad_curl_easy.cpp
|
||||
|
||||
widgets/progress_reporter_base.cpp
|
||||
|
||||
advanced_config.cpp
|
||||
asset_archive.cpp
|
||||
array_axis.cpp
|
||||
|
@ -309,7 +311,6 @@ set( COMMON_WIDGET_SRCS
|
|||
widgets/msgpanel.cpp
|
||||
widgets/number_badge.cpp
|
||||
widgets/paged_dialog.cpp
|
||||
widgets/progress_reporter_base.cpp
|
||||
widgets/properties_panel.cpp
|
||||
widgets/search_pane.cpp
|
||||
widgets/search_pane_base.cpp
|
||||
|
|
|
@ -27,13 +27,15 @@
|
|||
#ifndef PROGRESS_REPORTER_H
|
||||
#define PROGRESS_REPORTER_H
|
||||
|
||||
#include <kicommon.h>
|
||||
|
||||
/**
|
||||
* A progress reporter interface for use in multi-threaded environments. The various advancement
|
||||
* and message methods can be called from sub-threads. The KeepRefreshing method *MUST* be called
|
||||
* only from the main thread (primarily a MSW requirement, which won't allow access to UI objects
|
||||
* allocated from a separate thread).
|
||||
*/
|
||||
class PROGRESS_REPORTER
|
||||
class KICOMMON_API PROGRESS_REPORTER
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
/**
|
||||
* This implements all the tricky bits for thread safety, but the GUI is left to derived classes.
|
||||
*/
|
||||
class PROGRESS_REPORTER_BASE : public PROGRESS_REPORTER
|
||||
class KICOMMON_API PROGRESS_REPORTER_BASE : public PROGRESS_REPORTER
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
Loading…
Reference in New Issue