Merge branch 'master' of http://192.168.100.140:8099/sane/code_app
This commit is contained in:
commit
57e36a06b2
|
@ -4644,7 +4644,7 @@ void HGImgThumb::Show()
|
|||
repaint();
|
||||
}
|
||||
|
||||
void HGImgThumb::ThreadFunc(HGThread thread, HGPointer param)
|
||||
void HGAPI HGImgThumb::ThreadFunc(HGThread thread, HGPointer param)
|
||||
{
|
||||
Q_UNUSED(thread);
|
||||
|
||||
|
|
|
@ -192,7 +192,7 @@ private:
|
|||
QRect getNullScrollPos();
|
||||
|
||||
void Show();
|
||||
static void ThreadFunc(HGThread thread, HGPointer param);
|
||||
static void HGAPI ThreadFunc(HGThread thread, HGPointer param);
|
||||
|
||||
private:
|
||||
HGLock m_lockFront;
|
||||
|
|
|
@ -47,7 +47,7 @@ Dialog_ExportImageFile::~Dialog_ExportImageFile()
|
|||
delete ui;
|
||||
}
|
||||
|
||||
void Dialog_ExportImageFile::ThreadFunc(HGThread thread, HGPointer param)
|
||||
void HGAPI Dialog_ExportImageFile::ThreadFunc(HGThread thread, HGPointer param)
|
||||
{
|
||||
(void)thread;
|
||||
Dialog_ExportImageFile *p = (Dialog_ExportImageFile *)param;
|
||||
|
|
|
@ -19,7 +19,7 @@ public:
|
|||
~Dialog_ExportImageFile();
|
||||
|
||||
private:
|
||||
static void ThreadFunc(HGThread thread, HGPointer param);
|
||||
static void HGAPI ThreadFunc(HGThread thread, HGPointer param);
|
||||
|
||||
signals:
|
||||
void updateProgress(int value);
|
||||
|
|
|
@ -34,7 +34,7 @@ Dialog_MultiRotateImageFile::~Dialog_MultiRotateImageFile()
|
|||
delete ui;
|
||||
}
|
||||
|
||||
void Dialog_MultiRotateImageFile::ThreadFunc(HGThread thread, HGPointer param)
|
||||
void HGAPI Dialog_MultiRotateImageFile::ThreadFunc(HGThread thread, HGPointer param)
|
||||
{
|
||||
(void)thread;
|
||||
Dialog_MultiRotateImageFile *p = (Dialog_MultiRotateImageFile *)param;
|
||||
|
|
|
@ -20,7 +20,7 @@ signals:
|
|||
void refreshImageFile(const QString &fileName);
|
||||
|
||||
private:
|
||||
static void ThreadFunc(HGThread thread, HGPointer param);
|
||||
static void HGAPI ThreadFunc(HGThread thread, HGPointer param);
|
||||
|
||||
signals:
|
||||
void updateProgress(int value);
|
||||
|
|
|
@ -34,7 +34,7 @@ Dialog_updateProgress::~Dialog_updateProgress()
|
|||
delete ui;
|
||||
}
|
||||
|
||||
HGInt Dialog_updateProgress::HttpDownloadThreadFunc(HGULonglong totalSize, HGULonglong nowSize, HGPointer param)
|
||||
HGInt HGAPI Dialog_updateProgress::HttpDownloadThreadFunc(HGULonglong totalSize, HGULonglong nowSize, HGPointer param)
|
||||
{
|
||||
Dialog_updateProgress *p = (Dialog_updateProgress *)param;
|
||||
if (p->m_stopThread)
|
||||
|
@ -50,7 +50,7 @@ HGInt Dialog_updateProgress::HttpDownloadThreadFunc(HGULonglong totalSize, HGULo
|
|||
return 0;
|
||||
}
|
||||
|
||||
void Dialog_updateProgress::ThreadFunc(HGThread thread, HGPointer param)
|
||||
void HGAPI Dialog_updateProgress::ThreadFunc(HGThread thread, HGPointer param)
|
||||
{
|
||||
(void)thread;
|
||||
Dialog_updateProgress *p = (Dialog_updateProgress *)param;
|
||||
|
|
|
@ -19,8 +19,8 @@ public:
|
|||
const QString &savePath, QWidget *parent = nullptr);
|
||||
~Dialog_updateProgress();
|
||||
private:
|
||||
static HGInt HttpDownloadThreadFunc(HGULonglong totalSize, HGULonglong nowSize, HGPointer param);
|
||||
static void ThreadFunc(HGThread thread, HGPointer param);
|
||||
static HGInt HGAPI HttpDownloadThreadFunc(HGULonglong totalSize, HGULonglong nowSize, HGPointer param);
|
||||
static void HGAPI ThreadFunc(HGThread thread, HGPointer param);
|
||||
|
||||
signals:
|
||||
void updateProgress(int value);
|
||||
|
|
|
@ -2404,7 +2404,7 @@ int MainWindow::sane_ex_callback(SANE_Handle hdev, int code, void *data, unsigne
|
|||
return 0;
|
||||
}
|
||||
|
||||
void MainWindow::CrashFunc(HGPointer crashAddr, HGPointer param)
|
||||
void HGAPI MainWindow::CrashFunc(HGPointer crashAddr, HGPointer param)
|
||||
{
|
||||
MainWindow *p = (MainWindow *)param;
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ protected:
|
|||
|
||||
private:
|
||||
static int sane_ex_callback(SANE_Handle hdev, int code, void *data, unsigned int* len, void *param);
|
||||
static void CrashFunc(HGPointer crashAddr, HGPointer param);
|
||||
static void HGAPI CrashFunc(HGPointer crashAddr, HGPointer param);
|
||||
|
||||
HGUInt getDpi();
|
||||
QString getCacheFileName(HGImage img);
|
||||
|
|
|
@ -83,7 +83,7 @@ bool MainWindow::Upgrade(const std::string& pkgPath)
|
|||
return ret;
|
||||
}
|
||||
|
||||
void MainWindow::ThreadFunc(HGThread thread, HGPointer param)
|
||||
void HGAPI MainWindow::ThreadFunc(HGThread thread, HGPointer param)
|
||||
{
|
||||
(void)thread;
|
||||
MainWindow* p = (MainWindow*)param;
|
||||
|
|
|
@ -23,7 +23,7 @@ signals:
|
|||
|
||||
private:
|
||||
static bool Upgrade(const std::string& pkgPath);
|
||||
static void ThreadFunc(HGThread thread, HGPointer param);
|
||||
static void HGAPI ThreadFunc(HGThread thread, HGPointer param);
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
|
|
Loading…
Reference in New Issue