1.修改
This commit is contained in:
parent
6f8084adb0
commit
055c69d6f3
|
@ -23,10 +23,6 @@ import java.util.concurrent.ConcurrentHashMap;
|
||||||
import java.util.concurrent.Semaphore;
|
import java.util.concurrent.Semaphore;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author lucifer
|
|
||||||
*/
|
|
||||||
public class Twain {
|
public class Twain {
|
||||||
|
|
||||||
// Based on http://www.twain.org/wp-content/uploads/2017/04/TWAIN.H.h
|
// Based on http://www.twain.org/wp-content/uploads/2017/04/TWAIN.H.h
|
||||||
|
|
|
@ -1,18 +1,3 @@
|
||||||
/*
|
|
||||||
* Copyright 2018 lucifer.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
package org.aohe.core.twain;
|
package org.aohe.core.twain;
|
||||||
|
|
||||||
import com.sun.jna.Pointer;
|
import com.sun.jna.Pointer;
|
||||||
|
|
|
@ -6,10 +6,6 @@ import org.aohe.core.twain.TwainSource;
|
||||||
import org.aohe.exceptions.TwainException;
|
import org.aohe.exceptions.TwainException;
|
||||||
import org.aohe.utils.TwainUtils;
|
import org.aohe.utils.TwainUtils;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author lucifer
|
|
||||||
*/
|
|
||||||
public class TwainNativeTransfer extends TwainTransfer {
|
public class TwainNativeTransfer extends TwainTransfer {
|
||||||
|
|
||||||
private final byte[] imageHandle = new byte[8];
|
private final byte[] imageHandle = new byte[8];
|
||||||
|
|
|
@ -1,18 +1,3 @@
|
||||||
/*
|
|
||||||
* Copyright 2018 (c) Denis Andreev (lucifer).
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
package org.aohe.variable;
|
package org.aohe.variable;
|
||||||
|
|
||||||
import org.aohe.core.twain.Twain;
|
import org.aohe.core.twain.Twain;
|
||||||
|
|
Loading…
Reference in New Issue