All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lti.civil.impl.jni.NativeCaptureSystemFactory Maven / Gradle / Ivy

/*
 * Created on May 25, 2005
 */
package com.lti.civil.impl.jni;

import com.lti.civil.CaptureException;
import com.lti.civil.CaptureSystem;
import com.lti.civil.CaptureSystemFactory;

/**
 * 
 * @author Ken Larson
 */
public class NativeCaptureSystemFactory implements CaptureSystemFactory
{

	public CaptureSystem createCaptureSystem() throws CaptureException
	{
		try
		{
			System.loadLibrary("civil");
		}
		catch (UnsatisfiedLinkError e)
		{	throw new CaptureException(e);
		}
		
		return newCaptureSystemObj();
	}
	private static native CaptureSystem newCaptureSystemObj();
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy