/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 4.0.2
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package org.scilab.modules.commons;


 /**
   * Some commons values from Scilab engine to Java
   * @author Sylvestre LEDRU
   * @copyright DIGITEO 2010
   */
public class ScilabCommons {

 /**
   * Constructor
   */
 protected ScilabCommons() {
    throw new UnsupportedOperationException();
 }
  
 /**
   * Get SCIHOME variable from Scilab
   * @return SCIHOME value
   */
public static String getSCIHOME() {
    return ScilabCommonsJNI.getSCIHOME();
  }

  public static String getTMPDIR() {
    return ScilabCommonsJNI.getTMPDIR();
  }

  public static String getlanguage() {
    return ScilabCommonsJNI.getlanguage();
  }

  public static String createtempfilename(String prefix, int bShortFormat) {
    return ScilabCommonsJNI.createtempfilename(prefix, bShortFormat);
  }

  public static int getieee() {
    return ScilabCommonsJNI.getieee();
  }

  public static void setieee(int arg0) {
    ScilabCommonsJNI.setieee(arg0);
  }

  
 /**
   * Set the Scilab ieee mode
   */
public static void setformat(String format, int width) {
    ScilabCommonsJNI.setformat(format, width);
  }

  
 /**
   * returns the Scilab format ("v" or "e")
   * @return format
   */
public static String getformat() {
    return ScilabCommonsJNI.getformat();
  }

  
 /**
   * returns the Scilab format width
   * @return format
   */
public static int getformatwidth() {
    return ScilabCommonsJNI.getformatwidth();
  }

  
 /**
   * returns the Scilab version major number
   * @return version major
   */
public static int getScilabVersionMajor() {
    return ScilabCommonsJNI.getScilabVersionMajor();
  }

  
 /**
   * returns the Scilab version minor number
   * @return version minor
   */
public static int getScilabVersionMinor() {
    return ScilabCommonsJNI.getScilabVersionMinor();
  }

  
 /**
   * returns the Scilab version maintenance number
   * @return version maintenance
   */
public static int getScilabVersionMaintenance() {
    return ScilabCommonsJNI.getScilabVersionMaintenance();
  }

  
 /**
   * returns the Scilab version timestamp number
   * @return version timestamp
   */
public static int getScilabVersionTimestamp() {
    return ScilabCommonsJNI.getScilabVersionTimestamp();
  }

  
 /**
   * returns the Scilab version as string
   * @return version Scilab version as a string
   */
public static String getScilabVersionAsString() {
    return ScilabCommonsJNI.getScilabVersionAsString();
  }

  public static int setRecursionLimit(int arg0) {
    return ScilabCommonsJNI.setRecursionLimit(arg0);
  }

  public static void setPolynomialDisplay(int arg0) {
    ScilabCommonsJNI.setPolynomialDisplay(arg0);
  }

  
 /**
   * returns the polynomials exponent display style
   */
public static int getPolynomialDisplay() {
    return ScilabCommonsJNI.getPolynomialDisplay();
  }

  
 /**
   * returns the Scilab initialization status
   * @return 1 if Scilab is being started, 0 if up and running
   */
public static int getStartProcessing() {
    return ScilabCommonsJNI.getStartProcessing();
  }

}
