Back to index

lightning-sunbird  0.9+nobinonly
xpctest_out.idl
Go to the documentation of this file.
00001 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
00002  *
00003  * ***** BEGIN LICENSE BLOCK *****
00004  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00005  *
00006  * The contents of this file are subject to the Mozilla Public License Version
00007  * 1.1 (the "License"); you may not use this file except in compliance with
00008  * the License. You may obtain a copy of the License at
00009  * http://www.mozilla.org/MPL/
00010  *
00011  * Software distributed under the License is distributed on an "AS IS" basis,
00012  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00013  * for the specific language governing rights and limitations under the
00014  * License.
00015  *
00016  * The Original Code is Mozilla Communicator client code, released
00017  * March 31, 1998.
00018  *
00019  * The Initial Developer of the Original Code is
00020  * Netscape Communications Corporation.
00021  * Portions created by the Initial Developer are Copyright (C) 1998
00022  * the Initial Developer. All Rights Reserved.
00023  *
00024  * Contributor(s):
00025  *   John Bandhauer <jband@netscape.com>
00026  *
00027  * Alternatively, the contents of this file may be used under the terms of
00028  * either of the GNU General Public License Version 2 or later (the "GPL"),
00029  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00030  * in which case the provisions of the GPL or the LGPL are applicable instead
00031  * of those above. If you wish to allow use of your version of this file only
00032  * under the terms of either the GPL or the LGPL, and not to allow others to
00033  * use your version of this file under the terms of the MPL, indicate your
00034  * decision by deleting the provisions above and replace them with the notice
00035  * and other provisions required by the GPL or the LGPL. If you do not delete
00036  * the provisions above, a recipient may use your version of this file under
00037  * the terms of any one of the MPL, the GPL or the LGPL.
00038  *
00039  * ***** END LICENSE BLOCK ***** */
00040 
00045 #include "nsISupports.idl"
00046 
00047 [scriptable, uuid(4105ae88-5599-11d3-82ef-0060b0eb596f)]
00048 interface nsIXPCTestOut : nsISupports {
00049        void GetLong( out long l);
00050        void SetLong( in long l );
00051 
00052        void GetShort( out short s );
00053        void SetShort( in short s );
00054 
00055        void SetChar( in char c );
00056        void GetChar( out char c);
00057 
00058        void GetBoolean( out boolean b );
00059        void SetBoolean( in boolean b );
00060 
00061        void GetOctet( out octet o );
00062        void SetOctet( in octet o );
00063 
00064        void GetLongLong( out long long ll );
00065        void SetLongLong( in long long ll );
00066 
00067        void GetUnsignedShort( out unsigned short us );
00068        void SetUnsignedShort( in unsigned short us );
00069 
00070        void GetUnsignedLong( out unsigned long ul );
00071        void SetUnsignedLong(  in unsigned long ul );
00072 
00073        void GetFloat( out float f );
00074        void SetFloat( in float f );
00075 
00076        void GetDouble( out double d );
00077        void SetDouble( in double d );
00078 
00079        void GetWchar( out wchar wc );
00080        void SetWchar ( in wchar wc );
00081 
00082        //void GetString( out wstring ws );
00083        //void SetString( in wstring ws );
00084 
00085        void GetPRBool( out PRBool b );
00086        void SetPRBool (in PRBool b );
00087 
00088        void GetPRInt32( out PRInt32 l );
00089        void SetPRInt32( in PRInt32 l );
00090 
00091        void GetPRInt16( out PRInt16 l );
00092        void SetPRInt16( in PRInt16 l );
00093 
00094        void GetPRInt64( out PRInt64 i );
00095        void SetPRInt64( in PRInt64 i );
00096 
00097        void GetPRUint8 ( out PRUint8 i );
00098        void SetPRUint8( in PRUint8 i );
00099 
00100        void GetPRUint16( out PRUint16 i );
00101        void SetPRUint16( in PRUint16 i );
00102 
00103        void GetPRUint32( out PRUint32 i );
00104        void SetPRUint32( in PRUint32 i );
00105 
00106        void GetPRUint64( out PRUint64 i );       
00107        void SetPRUint64( in PRUint64 i );
00108        
00109        // native types must be marked noscript or they break the idl
00110        // compiler
00111 
00112 //     [noscript] void GetVoidStar( out voidStar vs );
00113        //[noscript] void SetVoidStar( in voidStar vs );
00114 
00115        //[noscript] void GetCharStar( out charStar cs );
00116        //[noscript] void SetCharStar( in charStar cs );
00117 
00118 //     [noscript] void GetVoidRef( out voidRef vf );
00119 //     [noscript] void SetVoidRef( in voidRef vf );
00120 
00121 //     [noscript] void GetNsIDRef( out nsIDRef r );
00122 //     [noscript] void SetNsIDRef( in nsIDRef r );
00123 
00124 //     [noscript] void GetNsCIDRef( out nsCIDRef r );
00125 //     [noscript] void SetNsCIDRef( in nsCIDRef r );
00126 /*
00127        [noscript] void GetNsIDPtr( out nsIDPtr p );
00128        [noscript] void SetNsIDPtr( in nsIDPtr p );
00129 
00130        [noscript] void GetNsIIDPtr( out nsIIDPtr p );
00131        [noscript] void SetNsIIDPtr( in nsIIDPtr p );
00132 
00133        [noscript] void GetNsCIDPtr( out nsCIDPtr p );
00134        [noscript] void SetNsCIDPtr( in nsCIDPtr p );
00135 
00136        [noscript] void GetNsQIResult( out nsQIResult r );
00137        [noscript] void SetNsQIResult( in nsQIResult r );
00138 
00139        void GetVoid();
00140        void SetVoid();
00141 */
00142 };