js/xpconnect/tests/idl/xpctest_interfaces.idl
author Morris Tseng <mtseng@mozilla.com>
Mon, 12 Sep 2016 17:39:54 +0800
changeset 313517 d85736dec5d0d1c605d471b53decef714b3b4074
parent 113257 267b18a4f96978ff0b458d46a84839e4960555cb
permissions -rw-r--r--
Bug 1297965 - Use ANGLE for WebGL2. r=jgilbert MozReview-Commit-ID: 83zhQ5rTdbi

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/**
 * Very simple test interfaces.
 *
 * This is used by the other test functionality when it needs to play around with
 * interface pointers.
 */

#include "nsISupports.idl"

[scriptable, uuid(3c8fd2f5-970c-42c6-b5dd-cda1c16dcfd8)]
interface nsIXPCTestInterfaceA : nsISupports {
  attribute string name;
};

[scriptable, uuid(ff528c3a-2410-46de-acaa-449aa6403a33)]
interface nsIXPCTestInterfaceB : nsISupports {
  attribute string name;
};

[scriptable, uuid(401cf1b4-355b-4cee-b7b3-c7973aee49bd)]
interface nsIXPCTestInterfaceC : nsISupports {
  attribute long someInteger;
};