public void writeConfigLong(string _section, string _key, long _value) { TsConfig config = TsConfig.getInstance(); if (null != config) { config.writeLong(_section, _key, _value); } }
public void deleteConfigSection(string _section) { TsConfig config = TsConfig.getInstance(); if (null != config) { config.deleteSection(_section); } }
public Int32 readConfigLong(string _section, string _key, long _default_value = 0) { TsConfig config = TsConfig.getInstance(); if (null != config) { return(config.readLong(_section, _key, _default_value)); } return(0); }
public string readConfigString(string _section, string _key, string _default_value = "") { TsConfig config = TsConfig.getInstance(); if (null != config) { return(config.readString(_section, _key, _default_value)); } return(""); }
public void deInit() { if (null != TsConfig.getInstance()) { TsConfig.releaseInstance(); } if (null != TsLog.getInstance()) { TsLog.releaseInstance(); } }