mirror of
https://github.com/Luca1991/NDSFactory.git
synced 2025-07-08 21:20:13 +02:00
16 lines
321 B
C
16 lines
321 B
C
#pragma once
|
|
|
|
#include <QMessageBox>
|
|
#include "../../ndsfactory/nfresult.h"
|
|
|
|
void notifyExtractionResult(NFResult nfResult)
|
|
{
|
|
if (nfResult.result)
|
|
{
|
|
QMessageBox::information(Q_NULLPTR, "NDSFactory", "Extraction completed!");
|
|
}
|
|
else
|
|
{
|
|
QMessageBox::critical(Q_NULLPTR, "NDSFactory", nfResult.message.c_str());
|
|
}
|
|
} |