This commit is contained in:
parent
51e9da7c9b
commit
ca8f6278b1
30 changed files with 88 additions and 79 deletions
|
|
@ -1,24 +0,0 @@
|
|||
package zutil;
|
||||
|
||||
/**
|
||||
* This interface is used to look if another instance of the
|
||||
* application is running
|
||||
*
|
||||
* @author Ziver
|
||||
*
|
||||
*/
|
||||
public interface OneApp {
|
||||
/**
|
||||
* Checks if the application is already running
|
||||
*
|
||||
* @return True if the file is locked else false
|
||||
*/
|
||||
public boolean check();
|
||||
|
||||
/**
|
||||
* Locks the application so that another one can not run
|
||||
*
|
||||
* @return False if there are a error else true
|
||||
*/
|
||||
public boolean lockApp();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue