Display a progress bar to notify the user, about the work is being done

This commit is contained in:
InusualZ 2021-02-27 22:40:17 +00:00
parent 490db42e44
commit c37d826715
1 changed files with 8 additions and 0 deletions

View File

@ -7,11 +7,15 @@
#include <array> #include <array>
#include <memory> #include <memory>
#include <string> #include <string>
#include <vector>
#include <QMenuBar> #include <QMenuBar>
#include <QPointer> #include <QPointer>
#include "Common/CommonTypes.h"
class QMenu; class QMenu;
class ParallelProgressDialog;
namespace Core namespace Core
{ {
@ -28,6 +32,9 @@ namespace UICommon
class GameFile; class GameFile;
} }
using RSOPairEntry = std::pair<u32, std::string>;
using RSOVector = std::vector<RSOPairEntry>;
class MenuBar final : public QMenuBar class MenuBar final : public QMenuBar
{ {
Q_OBJECT Q_OBJECT
@ -155,6 +162,7 @@ private:
void GenerateSymbolsFromSignatureDB(); void GenerateSymbolsFromSignatureDB();
void GenerateSymbolsFromRSO(); void GenerateSymbolsFromRSO();
void GenerateSymbolsFromRSOAuto(); void GenerateSymbolsFromRSOAuto();
RSOVector DetectRSOModules(ParallelProgressDialog& progress);
void LoadSymbolMap(); void LoadSymbolMap();
void LoadOtherSymbolMap(); void LoadOtherSymbolMap();
void LoadBadSymbolMap(); void LoadBadSymbolMap();