From 483703fa950edde4c460c60ca2df939c5572fbc8 Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Wed, 18 Oct 2023 14:56:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86is=5Fscanning=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E6=8F=90=E5=8D=87=E4=B8=BA=E5=85=AC=E5=BC=80=E5=8F=AF=E8=AE=BF?= =?UTF-8?q?=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/hg_scanner.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hgdriver/hgdev/hg_scanner.h b/hgdriver/hgdev/hg_scanner.h index d542225..8a8efb7 100644 --- a/hgdriver/hgdev/hg_scanner.h +++ b/hgdriver/hgdev/hg_scanner.h @@ -430,14 +430,6 @@ protected: void adjust_filling_hole(LPSCANCONF conf); - enum thread_running - { - THREAD_RUNNING_IDLE = 0, - THREAD_RUNNING_USB = 1 << 0, - THREAD_RUNNING_IMAGE = 1 << 1, - }; - int is_running(void); // return thread_running - //////////////////////////////////////////////////////////////// // 新增自定义伽玛曲线及扫描区域属性 - 2022-05-05 bool custom_gamma_; // 为true时,应用custom_gamma_val_阵列调整图像色彩;为false时,保持原来的处理方式 @@ -476,6 +468,14 @@ public: bool is_online(void); void on_language_changed(void); + enum thread_running + { + THREAD_RUNNING_IDLE = 0, + THREAD_RUNNING_USB = 1 << 0, + THREAD_RUNNING_IMAGE = 1 << 1, + }; + int is_running(void); // return thread_running + public: virtual int start(void); virtual int get_image_info(SANE_Parameters* ii, int len);