// javastubs/Tutorial/Calculator.java
// Stubs for "Tutorial"
//
// This file was automatically generated with ILU (version 2.0beta1) tools
// at Tue Sep 21 11:46:26 1999 by `nobody'
// running "c:/iluwin/bin/java-stubber.exe" of Tue Sep 21 10:50:42 1999
// on "C:/iluwin/examples/tutorial/Tutorial.isl" of Mon Sep 20 15:53:52 1999,
// and "c:/iluwin/interfaces/ilu.isl" of Mon Sep 20 15:51:47 1999.
//
// ILU is Copyright 1991-1999 Xerox Corporation, All Rights Reserved.
// ILU information:  ftp://ftp.parc.xerox.com/pub/ilu/ilu.html.



package Tutorial;


/** 
 * 4-function calculator
 * An ILU object type.
 */
public interface Calculator extends org.omg.CORBA.Object {

    /** 
     * Set the value of the calculator to `v'
     */
    public void SetValue(double v);

    /** 
     * Return the value of the calculator
     */
    public double GetValue();

    /** 
     * Adds `v' to the calculator's value
     */
    public void Add(double v);

    /** 
     * Subtracts `v' from the calculator's value
     */
    public void Subtract(double v);

    /** 
     * Multiplies the calculator's value by `v'
     */
    public void Multiply(double v);

    /** 
     * Divides the calculator's value by `v'
     */
    public void Divide(double v)
        throws DivideByZero;

}//Calculator

