Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
*
|
2012-05-21 15:12:37 +04:00
|
|
|
* 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/. */
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
2001-09-27 07:43:00 +04:00
|
|
|
/**
|
2015-04-09 03:16:30 +03:00
|
|
|
* Legacy constants for specifying programming languages.
|
|
|
|
*
|
|
|
|
* JAVASCRIPT is needed to avoid breaking addons that use it in nsIClassInfo
|
|
|
|
* to define fields that are no longer needed.
|
|
|
|
*
|
|
|
|
* UNKNOWN and JAVASCRIPT are also used in implementations of
|
|
|
|
* nsIStackFrame::language.
|
2001-09-27 07:43:00 +04:00
|
|
|
*/
|
|
|
|
|
2015-04-09 03:16:30 +03:00
|
|
|
[scriptable, uuid(02ad9f22-3c98-46f3-be4e-2f5c9299e29a)]
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
interface nsIProgrammingLanguage : nsISupports
|
|
|
|
{
|
2012-08-22 19:56:38 +04:00
|
|
|
const uint32_t UNKNOWN = 0;
|
2015-04-09 03:16:30 +03:00
|
|
|
// 1 is unused.
|
2012-08-22 19:56:38 +04:00
|
|
|
const uint32_t JAVASCRIPT = 2;
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
};
|