This commit is contained in:
Ziver Koc 2008-11-14 16:38:36 +00:00
commit 613bef2496
108 changed files with 8397 additions and 0 deletions

24
src/zutil/OneApp.java Normal file
View file

@ -0,0 +1,24 @@
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();
}