/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 * The contents of this file are subject to the Mozilla Public
 * License Version 1.1 (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.
 *
 * The Original Code is mozilla.org code.
 *
 * The Initial Developer of the Original Code is Sun Microsystems,
 * Inc. Portions created by Sun are
 * Copyright (C) 1999 Sun Microsystems, Inc. All
 * Rights Reserved.
 *
 * Contributor(s):
 * Leila.Garin@eng.sun.com
 * Igor Kushnirskiy <idk@eng.sun.com>
 */

#include "nsISupports.idl"

[scriptable, uuid(bcd584e5-495d-4d2a-aeca-9138040a5f84)]
interface urpITest : nsISupports
{
    void test1(inout long l);
    void test2(in long l1,inout long l2);
    void test3(in string s1,inout string s2);
    void test4(in PRUint32 count,[array, size_is(count)] in string valueArray);
    void test5(in PRUint32 count,[array, size_is(count)] inout string valueArray);
    void test6(in urpITest o);
    void test7(out urpITest o);
};

%{ C++
#define URPTEST_CID                 \
{   /*70ef013d-bca9-4226-bdd4-42a92cf6930d*/         \
    0x70ef013d,                                      \
    0xbca9,                                          \
    0x4226,                                          \
    {0xbd, 0xd4, 0x42, 0xa9, 0x2c, 0xf6, 0x93, 0x0d} \
}

#define URPTEST_PROGID "urpTest"

%}
