blob: d362d196164f1b57ccd95454d489f6a02534fa44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package org.manzerbredes.open_klm.drivers;
/**
* Driver must implement this interface
*
* @author Manzerbredes
*
*/
public interface Driver{
/**
* Get the type of the driver
*
* @return class that represent the type of the driver (DriverTypeA.class for example)
*/
public Class<?> getType();
/**
* Initialise the driver (do not initialise anything in the constructor).
*
* @return true if success (device is present and accessible) false else.
*/
public boolean initDriver();
}
|