/* * The contents of this file are subject to the Mozilla Public License * Version 1.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for * the specific language governing rights and limitations under the License. * * Contributors: * Frank Mitchell (frank.mitchell@sun.com) */ /* * ************* DO NOT EDIT THIS FILE *********** * * This file was automatically generated from JSISample.idl. */ package org.mozilla.xpcom; import org.mozilla.xpcom.nsISupports; import org.mozilla.xpcom.nsID; /** * Interface JSISample * * IID: 0x57ecad90-ae1a-11d1-b66c-00805f8a2676 */ public interface JSISample extends nsISupports { public static final String JSISAMPLE_IID_STRING = "57ecad90-ae1a-11d1-b66c-00805f8a2676"; public static final nsID JSISAMPLE_IID = new nsID("57ecad90-ae1a-11d1-b66c-00805f8a2676"); /* void PrintStats (); */ public void PrintStats(); /* attribute long someInt; */ public int getSomeInt(); public void setSomeInt(int value); /* attribute boolean someBool; */ public boolean getSomeBool(); public void setSomeBool(boolean value); /* readonly attribute long roInt; */ public int getRoInt(); /* attribute double someDouble; */ public double getSomeDouble(); public void setSomeDouble(double value); /* attribute string someName; */ public String getSomeName(); public void setSomeName(String value); /* readonly attribute string roString; */ public String getRoString(); /* void TakeInt (in long anInt); */ public void TakeInt(int anInt); /* long GiveInt (); */ public int GiveInt(); /* long GiveAndTake (inout long anInt); */ public int GiveAndTake(int[] anInt); /* string TooManyArgs (in short oneInt, in short twoInt, inout long redInt, out short blueInt, in double orNothing, in long long johnSilver, in boolean algebra); */ public String TooManyArgs(short oneInt, short twoInt, int[] redInt, short[] blueInt, double orNothing, long johnSilver, boolean algebra); /* string CatStrings (in string str1, in string str2); */ public String CatStrings(String str1, String str2); /* void AppendString (inout string str1, in string str2); */ public void AppendString(String[] str1, String str2); /* JSIComplex NewComplex (in long aReal, in long anImaginary); */ public JSIComplex NewComplex(int aReal, int anImaginary); /* JSIComplex AddComplex (in JSIComplex complex1, in JSIComplex complex2); */ public JSIComplex AddComplex(JSIComplex complex1, JSIComplex complex2); /* void AddInPlace (inout JSIComplex complex1, in JSIComplex complex2); */ public void AddInPlace(JSIComplex[] complex1, JSIComplex complex2); /* long AddTwoInts (in long int1, in long int2); */ public int AddTwoInts(int int1, int int2); } /* * end */