summaryrefslogtreecommitdiffstats
path: root/Essentials/src/net/ess3/api/ISettings.java
blob: 4be8e9d271e9591142ad554aab6bea8d004d1ae1 (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
26
27
28
29
package net.ess3.api;

import net.ess3.settings.Settings;
import net.ess3.storage.IStorageObjectHolder;


public interface ISettings extends IStorageObjectHolder<Settings>
{
	/**
	 * Used to get the locale string
	 *
	 * @return the current locale string (i.e. en_US)
	 */
	String getLocale();

	/**
	 * Used to check if debug mode is enabled
	 *
	 * @return true if debug is enabled
	 */
	boolean isDebug();

	/**
	 * Used to set debug mode
	 *
	 * @param set
	 */
	void setDebug(boolean set);
}