/* */ package NET.worlds.core; /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ public class IniFile /* */ { /* */ String file; /* */ /* */ /* */ /* */ /* */ /* */ /* */ String section; /* */ /* */ /* */ /* */ /* */ /* */ /* */ public IniFile(String section) /* */ { /* 27 */ this.file = null; /* 28 */ this.section = section; /* */ } /* */ /* */ public IniFile(String inifileName, String section) /* */ { /* 33 */ this.file = inifileName; /* 34 */ this.section = section; /* */ } /* */ /* 37 */ static boolean initialized = false; /* */ /* 39 */ private static IniFile gamma_ = null; /* 40 */ private static IniFile override_ = null; /* */ /* */ public static IniFile gamma() /* */ { /* 44 */ if (gamma_ == null) { /* 45 */ gamma_ = new IniFile("Gamma"); /* */ } /* 47 */ if (!initialized) { /* 48 */ nativeInit(); /* 49 */ initialized = true; /* */ } /* 51 */ return gamma_; /* */ } /* */ /* */ public static IniFile override() /* */ { /* 56 */ if (!initialized) { /* 57 */ nativeInit(); /* 58 */ initialized = true; /* */ } /* */ /* 61 */ if (override_ == null) { /* 62 */ override_ = new IniFile(".\\override.ini", "Runtime"); /* */ } /* */ /* 65 */ return override_; /* */ } /* */ /* */ public native int getIniInt(String paramString, int paramInt); /* */ /* */ public native void setIniInt(String paramString, int paramInt); /* */ /* */ public native String getIniString(String paramString1, String paramString2); /* */ /* */ public native void setIniString(String paramString1, String paramString2); /* */ /* */ public static native void nativeInit(); /* */ } /* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\core\IniFile.class * Java compiler version: 6 (50.0) * JD-Core Version: 0.7.1 */