LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIScriptError.h (source / functions) Hit Total Coverage
Test: output.info Lines: 1 6 16.7 %
Date: 2017-07-14 16:53:18 Functions: 1 11 9.1 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIScriptError.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIScriptError_h__
       6             : #define __gen_nsIScriptError_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsIArray_h__
      14             : #include "nsIArray.h"
      15             : #endif
      16             : 
      17             : #ifndef __gen_nsIConsoleMessage_h__
      18             : #include "nsIConsoleMessage.h"
      19             : #endif
      20             : 
      21             : #include "js/Value.h"
      22             : 
      23             : /* For IDL files that don't want to include root IDL files. */
      24             : #ifndef NS_NO_VTABLE
      25             : #define NS_NO_VTABLE
      26             : #endif
      27             : #include "nsStringGlue.h" // for nsDependentCString
      28             : 
      29             : /* starting interface:    nsIScriptErrorNote */
      30             : #define NS_ISCRIPTERRORNOTE_IID_STR "e8933fc9-c302-4e12-a55b-4f88611d9c6c"
      31             : 
      32             : #define NS_ISCRIPTERRORNOTE_IID \
      33             :   {0xe8933fc9, 0xc302, 0x4e12, \
      34             :     { 0xa5, 0x5b, 0x4f, 0x88, 0x61, 0x1d, 0x9c, 0x6c }}
      35             : 
      36           0 : class NS_NO_VTABLE nsIScriptErrorNote : public nsISupports {
      37             :  public:
      38             : 
      39             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISCRIPTERRORNOTE_IID)
      40             : 
      41             :   /* readonly attribute AString errorMessage; */
      42             :   NS_IMETHOD GetErrorMessage(nsAString & aErrorMessage) = 0;
      43             : 
      44             :   /* readonly attribute AString sourceName; */
      45             :   NS_IMETHOD GetSourceName(nsAString & aSourceName) = 0;
      46             : 
      47             :   /* readonly attribute uint32_t lineNumber; */
      48             :   NS_IMETHOD GetLineNumber(uint32_t *aLineNumber) = 0;
      49             : 
      50             :   /* readonly attribute uint32_t columnNumber; */
      51             :   NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) = 0;
      52             : 
      53             :   /* AUTF8String toString (); */
      54             :   NS_IMETHOD ToString(nsACString & _retval) = 0;
      55             : 
      56             : };
      57             : 
      58             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIScriptErrorNote, NS_ISCRIPTERRORNOTE_IID)
      59             : 
      60             : /* Use this macro when declaring classes that implement this interface. */
      61             : #define NS_DECL_NSISCRIPTERRORNOTE \
      62             :   NS_IMETHOD GetErrorMessage(nsAString & aErrorMessage) override; \
      63             :   NS_IMETHOD GetSourceName(nsAString & aSourceName) override; \
      64             :   NS_IMETHOD GetLineNumber(uint32_t *aLineNumber) override; \
      65             :   NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) override; \
      66             :   NS_IMETHOD ToString(nsACString & _retval) override; 
      67             : 
      68             : /* Use this macro when declaring the members of this interface when the
      69             :    class doesn't implement the interface. This is useful for forwarding. */
      70             : #define NS_DECL_NON_VIRTUAL_NSISCRIPTERRORNOTE \
      71             :   nsresult GetErrorMessage(nsAString & aErrorMessage); \
      72             :   nsresult GetSourceName(nsAString & aSourceName); \
      73             :   nsresult GetLineNumber(uint32_t *aLineNumber); \
      74             :   nsresult GetColumnNumber(uint32_t *aColumnNumber); \
      75             :   nsresult ToString(nsACString & _retval); 
      76             : 
      77             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      78             : #define NS_FORWARD_NSISCRIPTERRORNOTE(_to) \
      79             :   NS_IMETHOD GetErrorMessage(nsAString & aErrorMessage) override { return _to GetErrorMessage(aErrorMessage); } \
      80             :   NS_IMETHOD GetSourceName(nsAString & aSourceName) override { return _to GetSourceName(aSourceName); } \
      81             :   NS_IMETHOD GetLineNumber(uint32_t *aLineNumber) override { return _to GetLineNumber(aLineNumber); } \
      82             :   NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) override { return _to GetColumnNumber(aColumnNumber); } \
      83             :   NS_IMETHOD ToString(nsACString & _retval) override { return _to ToString(_retval); } 
      84             : 
      85             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      86             : #define NS_FORWARD_SAFE_NSISCRIPTERRORNOTE(_to) \
      87             :   NS_IMETHOD GetErrorMessage(nsAString & aErrorMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetErrorMessage(aErrorMessage); } \
      88             :   NS_IMETHOD GetSourceName(nsAString & aSourceName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSourceName(aSourceName); } \
      89             :   NS_IMETHOD GetLineNumber(uint32_t *aLineNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLineNumber(aLineNumber); } \
      90             :   NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnNumber(aColumnNumber); } \
      91             :   NS_IMETHOD ToString(nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } 
      92             : 
      93             : #if 0
      94             : /* Use the code below as a template for the implementation class for this interface. */
      95             : 
      96             : /* Header file */
      97             : class nsScriptErrorNote : public nsIScriptErrorNote
      98             : {
      99             : public:
     100             :   NS_DECL_ISUPPORTS
     101             :   NS_DECL_NSISCRIPTERRORNOTE
     102             : 
     103             :   nsScriptErrorNote();
     104             : 
     105             : private:
     106             :   ~nsScriptErrorNote();
     107             : 
     108             : protected:
     109             :   /* additional members */
     110             : };
     111             : 
     112             : /* Implementation file */
     113             : NS_IMPL_ISUPPORTS(nsScriptErrorNote, nsIScriptErrorNote)
     114             : 
     115             : nsScriptErrorNote::nsScriptErrorNote()
     116             : {
     117             :   /* member initializers and constructor code */
     118             : }
     119             : 
     120             : nsScriptErrorNote::~nsScriptErrorNote()
     121             : {
     122             :   /* destructor code */
     123             : }
     124             : 
     125             : /* readonly attribute AString errorMessage; */
     126             : NS_IMETHODIMP nsScriptErrorNote::GetErrorMessage(nsAString & aErrorMessage)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : 
     131             : /* readonly attribute AString sourceName; */
     132             : NS_IMETHODIMP nsScriptErrorNote::GetSourceName(nsAString & aSourceName)
     133             : {
     134             :     return NS_ERROR_NOT_IMPLEMENTED;
     135             : }
     136             : 
     137             : /* readonly attribute uint32_t lineNumber; */
     138             : NS_IMETHODIMP nsScriptErrorNote::GetLineNumber(uint32_t *aLineNumber)
     139             : {
     140             :     return NS_ERROR_NOT_IMPLEMENTED;
     141             : }
     142             : 
     143             : /* readonly attribute uint32_t columnNumber; */
     144             : NS_IMETHODIMP nsScriptErrorNote::GetColumnNumber(uint32_t *aColumnNumber)
     145             : {
     146             :     return NS_ERROR_NOT_IMPLEMENTED;
     147             : }
     148             : 
     149             : /* AUTF8String toString (); */
     150             : NS_IMETHODIMP nsScriptErrorNote::ToString(nsACString & _retval)
     151             : {
     152             :     return NS_ERROR_NOT_IMPLEMENTED;
     153             : }
     154             : 
     155             : /* End of implementation class template. */
     156             : #endif
     157             : 
     158             : 
     159             : /* starting interface:    nsIScriptError */
     160             : #define NS_ISCRIPTERROR_IID_STR "63eb4d3e-7d99-4150-b4f3-11314f9d82a9"
     161             : 
     162             : #define NS_ISCRIPTERROR_IID \
     163             :   {0x63eb4d3e, 0x7d99, 0x4150, \
     164             :     { 0xb4, 0xf3, 0x11, 0x31, 0x4f, 0x9d, 0x82, 0xa9 }}
     165             : 
     166           2 : class nsIScriptError : public nsIConsoleMessage {
     167             :  public:
     168             : 
     169             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISCRIPTERROR_IID)
     170             : 
     171             :   enum {
     172             :     errorFlag = 0U,
     173             :     warningFlag = 1U,
     174             :     exceptionFlag = 2U,
     175             :     strictFlag = 4U,
     176             :     infoFlag = 8U
     177             :   };
     178             : 
     179             :   /* readonly attribute AString errorMessage; */
     180             :   NS_IMETHOD GetErrorMessage(nsAString & aErrorMessage) = 0;
     181             : 
     182             :   /* readonly attribute AString sourceName; */
     183             :   NS_IMETHOD GetSourceName(nsAString & aSourceName) = 0;
     184             : 
     185             :   /* readonly attribute AString sourceLine; */
     186             :   NS_IMETHOD GetSourceLine(nsAString & aSourceLine) = 0;
     187             : 
     188             :   /* readonly attribute uint32_t lineNumber; */
     189             :   NS_IMETHOD GetLineNumber(uint32_t *aLineNumber) = 0;
     190             : 
     191             :   /* readonly attribute uint32_t columnNumber; */
     192             :   NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) = 0;
     193             : 
     194             :   /* readonly attribute uint32_t flags; */
     195             :   NS_IMETHOD GetFlags(uint32_t *aFlags) = 0;
     196             : 
     197             :   /* readonly attribute string category; */
     198             :   NS_IMETHOD GetCategory(char * *aCategory) = 0;
     199             : 
     200             :   /* readonly attribute unsigned long long outerWindowID; */
     201             :   NS_IMETHOD GetOuterWindowID(uint64_t *aOuterWindowID) = 0;
     202             : 
     203             :   /* readonly attribute unsigned long long innerWindowID; */
     204             :   NS_IMETHOD GetInnerWindowID(uint64_t *aInnerWindowID) = 0;
     205             : 
     206             :   /* readonly attribute boolean isFromPrivateWindow; */
     207             :   NS_IMETHOD GetIsFromPrivateWindow(bool *aIsFromPrivateWindow) = 0;
     208             : 
     209             :   /* attribute jsval stack; */
     210             :   NS_IMETHOD GetStack(JS::MutableHandleValue aStack) = 0;
     211             :   NS_IMETHOD SetStack(JS::HandleValue aStack) = 0;
     212             : 
     213             :   /* attribute AString errorMessageName; */
     214             :   NS_IMETHOD GetErrorMessageName(nsAString & aErrorMessageName) = 0;
     215             :   NS_IMETHOD SetErrorMessageName(const nsAString & aErrorMessageName) = 0;
     216             : 
     217             :   /* readonly attribute nsIArray notes; */
     218             :   NS_IMETHOD GetNotes(nsIArray * *aNotes) = 0;
     219             : 
     220             :   /* void init (in AString message, in AString sourceName, in AString sourceLine, in uint32_t lineNumber, in uint32_t columnNumber, in uint32_t flags, in string category); */
     221             :   NS_IMETHOD Init(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const char * category) = 0;
     222             : 
     223             :   /* void initWithWindowID (in AString message, in AString sourceName, in AString sourceLine, in uint32_t lineNumber, in uint32_t columnNumber, in uint32_t flags, in ACString category, in unsigned long long innerWindowID); */
     224             :   NS_IMETHOD InitWithWindowID(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const nsACString & category, uint64_t innerWindowID) = 0;
     225             : 
     226             :      // This overload allows passing a literal string for category.
     227             :     template<uint32_t N>
     228           0 :     nsresult InitWithWindowID(const nsAString& message,
     229             :                               const nsAString& sourceName,
     230             :                               const nsAString& sourceLine,
     231             :                               uint32_t lineNumber,
     232             :                               uint32_t columnNumber,
     233             :                               uint32_t flags,
     234             :                               const char (&c)[N],
     235             :                               uint64_t aInnerWindowID)
     236             :     {
     237           0 :         nsDependentCString category(c, N - 1);
     238           0 :         return InitWithWindowID(message, sourceName, sourceLine, lineNumber,
     239           0 :                                 columnNumber, flags, category, aInnerWindowID);
     240             :     }
     241             : };
     242             : 
     243             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIScriptError, NS_ISCRIPTERROR_IID)
     244             : 
     245             : /* Use this macro when declaring classes that implement this interface. */
     246             : #define NS_DECL_NSISCRIPTERROR \
     247             :   NS_IMETHOD GetErrorMessage(nsAString & aErrorMessage) override; \
     248             :   NS_IMETHOD GetSourceName(nsAString & aSourceName) override; \
     249             :   NS_IMETHOD GetSourceLine(nsAString & aSourceLine) override; \
     250             :   NS_IMETHOD GetLineNumber(uint32_t *aLineNumber) override; \
     251             :   NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) override; \
     252             :   NS_IMETHOD GetFlags(uint32_t *aFlags) override; \
     253             :   NS_IMETHOD GetCategory(char * *aCategory) override; \
     254             :   NS_IMETHOD GetOuterWindowID(uint64_t *aOuterWindowID) override; \
     255             :   NS_IMETHOD GetInnerWindowID(uint64_t *aInnerWindowID) override; \
     256             :   NS_IMETHOD GetIsFromPrivateWindow(bool *aIsFromPrivateWindow) override; \
     257             :   NS_IMETHOD GetStack(JS::MutableHandleValue aStack) override; \
     258             :   NS_IMETHOD SetStack(JS::HandleValue aStack) override; \
     259             :   NS_IMETHOD GetErrorMessageName(nsAString & aErrorMessageName) override; \
     260             :   NS_IMETHOD SetErrorMessageName(const nsAString & aErrorMessageName) override; \
     261             :   NS_IMETHOD GetNotes(nsIArray * *aNotes) override; \
     262             :   NS_IMETHOD Init(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const char * category) override; \
     263             :   NS_IMETHOD InitWithWindowID(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const nsACString & category, uint64_t innerWindowID) override; \
     264             : 
     265             : /* Use this macro when declaring the members of this interface when the
     266             :    class doesn't implement the interface. This is useful for forwarding. */
     267             : #define NS_DECL_NON_VIRTUAL_NSISCRIPTERROR \
     268             :   nsresult GetErrorMessage(nsAString & aErrorMessage); \
     269             :   nsresult GetSourceName(nsAString & aSourceName); \
     270             :   nsresult GetSourceLine(nsAString & aSourceLine); \
     271             :   nsresult GetLineNumber(uint32_t *aLineNumber); \
     272             :   nsresult GetColumnNumber(uint32_t *aColumnNumber); \
     273             :   nsresult GetFlags(uint32_t *aFlags); \
     274             :   nsresult GetCategory(char * *aCategory); \
     275             :   nsresult GetOuterWindowID(uint64_t *aOuterWindowID); \
     276             :   nsresult GetInnerWindowID(uint64_t *aInnerWindowID); \
     277             :   nsresult GetIsFromPrivateWindow(bool *aIsFromPrivateWindow); \
     278             :   nsresult GetStack(JS::MutableHandleValue aStack); \
     279             :   nsresult SetStack(JS::HandleValue aStack); \
     280             :   nsresult GetErrorMessageName(nsAString & aErrorMessageName); \
     281             :   nsresult SetErrorMessageName(const nsAString & aErrorMessageName); \
     282             :   nsresult GetNotes(nsIArray * *aNotes); \
     283             :   nsresult Init(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const char * category); \
     284             :   nsresult InitWithWindowID(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const nsACString & category, uint64_t innerWindowID); \
     285             : 
     286             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     287             : #define NS_FORWARD_NSISCRIPTERROR(_to) \
     288             :   NS_IMETHOD GetErrorMessage(nsAString & aErrorMessage) override { return _to GetErrorMessage(aErrorMessage); } \
     289             :   NS_IMETHOD GetSourceName(nsAString & aSourceName) override { return _to GetSourceName(aSourceName); } \
     290             :   NS_IMETHOD GetSourceLine(nsAString & aSourceLine) override { return _to GetSourceLine(aSourceLine); } \
     291             :   NS_IMETHOD GetLineNumber(uint32_t *aLineNumber) override { return _to GetLineNumber(aLineNumber); } \
     292             :   NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) override { return _to GetColumnNumber(aColumnNumber); } \
     293             :   NS_IMETHOD GetFlags(uint32_t *aFlags) override { return _to GetFlags(aFlags); } \
     294             :   NS_IMETHOD GetCategory(char * *aCategory) override { return _to GetCategory(aCategory); } \
     295             :   NS_IMETHOD GetOuterWindowID(uint64_t *aOuterWindowID) override { return _to GetOuterWindowID(aOuterWindowID); } \
     296             :   NS_IMETHOD GetInnerWindowID(uint64_t *aInnerWindowID) override { return _to GetInnerWindowID(aInnerWindowID); } \
     297             :   NS_IMETHOD GetIsFromPrivateWindow(bool *aIsFromPrivateWindow) override { return _to GetIsFromPrivateWindow(aIsFromPrivateWindow); } \
     298             :   NS_IMETHOD GetStack(JS::MutableHandleValue aStack) override { return _to GetStack(aStack); } \
     299             :   NS_IMETHOD SetStack(JS::HandleValue aStack) override { return _to SetStack(aStack); } \
     300             :   NS_IMETHOD GetErrorMessageName(nsAString & aErrorMessageName) override { return _to GetErrorMessageName(aErrorMessageName); } \
     301             :   NS_IMETHOD SetErrorMessageName(const nsAString & aErrorMessageName) override { return _to SetErrorMessageName(aErrorMessageName); } \
     302             :   NS_IMETHOD GetNotes(nsIArray * *aNotes) override { return _to GetNotes(aNotes); } \
     303             :   NS_IMETHOD Init(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const char * category) override { return _to Init(message, sourceName, sourceLine, lineNumber, columnNumber, flags, category); } \
     304             :   NS_IMETHOD InitWithWindowID(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const nsACString & category, uint64_t innerWindowID) override { return _to InitWithWindowID(message, sourceName, sourceLine, lineNumber, columnNumber, flags, category, innerWindowID); } \
     305             : 
     306             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     307             : #define NS_FORWARD_SAFE_NSISCRIPTERROR(_to) \
     308             :   NS_IMETHOD GetErrorMessage(nsAString & aErrorMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetErrorMessage(aErrorMessage); } \
     309             :   NS_IMETHOD GetSourceName(nsAString & aSourceName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSourceName(aSourceName); } \
     310             :   NS_IMETHOD GetSourceLine(nsAString & aSourceLine) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSourceLine(aSourceLine); } \
     311             :   NS_IMETHOD GetLineNumber(uint32_t *aLineNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLineNumber(aLineNumber); } \
     312             :   NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnNumber(aColumnNumber); } \
     313             :   NS_IMETHOD GetFlags(uint32_t *aFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFlags(aFlags); } \
     314             :   NS_IMETHOD GetCategory(char * *aCategory) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCategory(aCategory); } \
     315             :   NS_IMETHOD GetOuterWindowID(uint64_t *aOuterWindowID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOuterWindowID(aOuterWindowID); } \
     316             :   NS_IMETHOD GetInnerWindowID(uint64_t *aInnerWindowID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInnerWindowID(aInnerWindowID); } \
     317             :   NS_IMETHOD GetIsFromPrivateWindow(bool *aIsFromPrivateWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsFromPrivateWindow(aIsFromPrivateWindow); } \
     318             :   NS_IMETHOD GetStack(JS::MutableHandleValue aStack) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStack(aStack); } \
     319             :   NS_IMETHOD SetStack(JS::HandleValue aStack) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStack(aStack); } \
     320             :   NS_IMETHOD GetErrorMessageName(nsAString & aErrorMessageName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetErrorMessageName(aErrorMessageName); } \
     321             :   NS_IMETHOD SetErrorMessageName(const nsAString & aErrorMessageName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetErrorMessageName(aErrorMessageName); } \
     322             :   NS_IMETHOD GetNotes(nsIArray * *aNotes) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotes(aNotes); } \
     323             :   NS_IMETHOD Init(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const char * category) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(message, sourceName, sourceLine, lineNumber, columnNumber, flags, category); } \
     324             :   NS_IMETHOD InitWithWindowID(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const nsACString & category, uint64_t innerWindowID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitWithWindowID(message, sourceName, sourceLine, lineNumber, columnNumber, flags, category, innerWindowID); } \
     325             : 
     326             : #if 0
     327             : /* Use the code below as a template for the implementation class for this interface. */
     328             : 
     329             : /* Header file */
     330             : class nsScriptError : public nsIScriptError
     331             : {
     332             : public:
     333             :   NS_DECL_ISUPPORTS
     334             :   NS_DECL_NSISCRIPTERROR
     335             : 
     336             :   nsScriptError();
     337             : 
     338             : private:
     339             :   ~nsScriptError();
     340             : 
     341             : protected:
     342             :   /* additional members */
     343             : };
     344             : 
     345             : /* Implementation file */
     346             : NS_IMPL_ISUPPORTS(nsScriptError, nsIScriptError)
     347             : 
     348             : nsScriptError::nsScriptError()
     349             : {
     350             :   /* member initializers and constructor code */
     351             : }
     352             : 
     353             : nsScriptError::~nsScriptError()
     354             : {
     355             :   /* destructor code */
     356             : }
     357             : 
     358             : /* readonly attribute AString errorMessage; */
     359             : NS_IMETHODIMP nsScriptError::GetErrorMessage(nsAString & aErrorMessage)
     360             : {
     361             :     return NS_ERROR_NOT_IMPLEMENTED;
     362             : }
     363             : 
     364             : /* readonly attribute AString sourceName; */
     365             : NS_IMETHODIMP nsScriptError::GetSourceName(nsAString & aSourceName)
     366             : {
     367             :     return NS_ERROR_NOT_IMPLEMENTED;
     368             : }
     369             : 
     370             : /* readonly attribute AString sourceLine; */
     371             : NS_IMETHODIMP nsScriptError::GetSourceLine(nsAString & aSourceLine)
     372             : {
     373             :     return NS_ERROR_NOT_IMPLEMENTED;
     374             : }
     375             : 
     376             : /* readonly attribute uint32_t lineNumber; */
     377             : NS_IMETHODIMP nsScriptError::GetLineNumber(uint32_t *aLineNumber)
     378             : {
     379             :     return NS_ERROR_NOT_IMPLEMENTED;
     380             : }
     381             : 
     382             : /* readonly attribute uint32_t columnNumber; */
     383             : NS_IMETHODIMP nsScriptError::GetColumnNumber(uint32_t *aColumnNumber)
     384             : {
     385             :     return NS_ERROR_NOT_IMPLEMENTED;
     386             : }
     387             : 
     388             : /* readonly attribute uint32_t flags; */
     389             : NS_IMETHODIMP nsScriptError::GetFlags(uint32_t *aFlags)
     390             : {
     391             :     return NS_ERROR_NOT_IMPLEMENTED;
     392             : }
     393             : 
     394             : /* readonly attribute string category; */
     395             : NS_IMETHODIMP nsScriptError::GetCategory(char * *aCategory)
     396             : {
     397             :     return NS_ERROR_NOT_IMPLEMENTED;
     398             : }
     399             : 
     400             : /* readonly attribute unsigned long long outerWindowID; */
     401             : NS_IMETHODIMP nsScriptError::GetOuterWindowID(uint64_t *aOuterWindowID)
     402             : {
     403             :     return NS_ERROR_NOT_IMPLEMENTED;
     404             : }
     405             : 
     406             : /* readonly attribute unsigned long long innerWindowID; */
     407             : NS_IMETHODIMP nsScriptError::GetInnerWindowID(uint64_t *aInnerWindowID)
     408             : {
     409             :     return NS_ERROR_NOT_IMPLEMENTED;
     410             : }
     411             : 
     412             : /* readonly attribute boolean isFromPrivateWindow; */
     413             : NS_IMETHODIMP nsScriptError::GetIsFromPrivateWindow(bool *aIsFromPrivateWindow)
     414             : {
     415             :     return NS_ERROR_NOT_IMPLEMENTED;
     416             : }
     417             : 
     418             : /* attribute jsval stack; */
     419             : NS_IMETHODIMP nsScriptError::GetStack(JS::MutableHandleValue aStack)
     420             : {
     421             :     return NS_ERROR_NOT_IMPLEMENTED;
     422             : }
     423             : NS_IMETHODIMP nsScriptError::SetStack(JS::HandleValue aStack)
     424             : {
     425             :     return NS_ERROR_NOT_IMPLEMENTED;
     426             : }
     427             : 
     428             : /* attribute AString errorMessageName; */
     429             : NS_IMETHODIMP nsScriptError::GetErrorMessageName(nsAString & aErrorMessageName)
     430             : {
     431             :     return NS_ERROR_NOT_IMPLEMENTED;
     432             : }
     433             : NS_IMETHODIMP nsScriptError::SetErrorMessageName(const nsAString & aErrorMessageName)
     434             : {
     435             :     return NS_ERROR_NOT_IMPLEMENTED;
     436             : }
     437             : 
     438             : /* readonly attribute nsIArray notes; */
     439             : NS_IMETHODIMP nsScriptError::GetNotes(nsIArray * *aNotes)
     440             : {
     441             :     return NS_ERROR_NOT_IMPLEMENTED;
     442             : }
     443             : 
     444             : /* void init (in AString message, in AString sourceName, in AString sourceLine, in uint32_t lineNumber, in uint32_t columnNumber, in uint32_t flags, in string category); */
     445             : NS_IMETHODIMP nsScriptError::Init(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const char * category)
     446             : {
     447             :     return NS_ERROR_NOT_IMPLEMENTED;
     448             : }
     449             : 
     450             : /* void initWithWindowID (in AString message, in AString sourceName, in AString sourceLine, in uint32_t lineNumber, in uint32_t columnNumber, in uint32_t flags, in ACString category, in unsigned long long innerWindowID); */
     451             : NS_IMETHODIMP nsScriptError::InitWithWindowID(const nsAString & message, const nsAString & sourceName, const nsAString & sourceLine, uint32_t lineNumber, uint32_t columnNumber, uint32_t flags, const nsACString & category, uint64_t innerWindowID)
     452             : {
     453             :     return NS_ERROR_NOT_IMPLEMENTED;
     454             : }
     455             : 
     456             : /* End of implementation class template. */
     457             : #endif
     458             : 
     459             : #define NS_SCRIPTERROR_CID \
     460             : { 0x1950539a, 0x90f0, 0x4d22, { 0xb5, 0xaf, 0x71, 0x32, 0x9c, 0x68, 0xfa, 0x35 }}
     461             : #define NS_SCRIPTERROR_CONTRACTID "@mozilla.org/scripterror;1"
     462             : 
     463             : #endif /* __gen_nsIScriptError_h__ */

Generated by: LCOV version 1.13