diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-04-20 20:11:26 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-04-20 20:11:26 -0400 |
commit | 754ad610489603f80ea38bbd2cf18b28f0d8bf1d (patch) | |
tree | 9a8b4ed066d335f0817ccb60fdfa5e082322ae3f /application/xulrunner/examples/simple/components/public | |
parent | a26cb28c9780c015694151771d649b7cec4086db (diff) | |
download | UXP-754ad610489603f80ea38bbd2cf18b28f0d8bf1d.tar UXP-754ad610489603f80ea38bbd2cf18b28f0d8bf1d.tar.gz UXP-754ad610489603f80ea38bbd2cf18b28f0d8bf1d.tar.lz UXP-754ad610489603f80ea38bbd2cf18b28f0d8bf1d.tar.xz UXP-754ad610489603f80ea38bbd2cf18b28f0d8bf1d.zip |
Import XULRunner and make it produce the generic stub
Diffstat (limited to 'application/xulrunner/examples/simple/components/public')
-rw-r--r-- | application/xulrunner/examples/simple/components/public/moz.build | 13 | ||||
-rw-r--r-- | application/xulrunner/examples/simple/components/public/nsISimpleTest.idl | 15 |
2 files changed, 28 insertions, 0 deletions
diff --git a/application/xulrunner/examples/simple/components/public/moz.build b/application/xulrunner/examples/simple/components/public/moz.build new file mode 100644 index 000000000..3a611f85a --- /dev/null +++ b/application/xulrunner/examples/simple/components/public/moz.build @@ -0,0 +1,13 @@ +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# 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/. + +XPIDL_SOURCES += [ + 'nsISimpleTest.idl', +] + +XPIDL_MODULE = 'simple' + +XPI_NAME = 'simple' diff --git a/application/xulrunner/examples/simple/components/public/nsISimpleTest.idl b/application/xulrunner/examples/simple/components/public/nsISimpleTest.idl new file mode 100644 index 000000000..99b9b86af --- /dev/null +++ b/application/xulrunner/examples/simple/components/public/nsISimpleTest.idl @@ -0,0 +1,15 @@ +/* vim:set ts=2 sw=2 sts=2 et cin: */ +/* 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/. */ + +#include "nsISupports.idl" + +[scriptable, uuid(f2f71d91-0451-47ec-aaa0-166663a7711a)] +interface nsISimpleTest : nsISupports +{ + /** + * This interface adds two numbers together and returns the result. + */ + long add(in long a, in long b); +}; |