LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIException.h (source / functions) Found Hit Coverage
Test: app.info Lines: 2 2 100.0 %
Date: 2012-06-02 Functions: 2 2 100.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/xpcom/base/nsIException.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIException_h__
       6                 : #define __gen_nsIException_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIProgrammingLanguage_h__
      14                 : #include "nsIProgrammingLanguage.h"
      15                 : #endif
      16                 : 
      17                 : /* For IDL files that don't want to include root IDL files. */
      18                 : #ifndef NS_NO_VTABLE
      19                 : #define NS_NO_VTABLE
      20                 : #endif
      21                 : 
      22                 : /* starting interface:    nsIStackFrame */
      23                 : #define NS_ISTACKFRAME_IID_STR "91d82105-7c62-4f8b-9779-154277c0ee90"
      24                 : 
      25                 : #define NS_ISTACKFRAME_IID \
      26                 :   {0x91d82105, 0x7c62, 0x4f8b, \
      27                 :     { 0x97, 0x79, 0x15, 0x42, 0x77, 0xc0, 0xee, 0x90 }}
      28                 : 
      29         1496139 : class NS_NO_VTABLE NS_SCRIPTABLE nsIStackFrame : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISTACKFRAME_IID)
      33                 : 
      34                 :   /* readonly attribute PRUint32 language; */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUint32 *aLanguage) = 0;
      36                 : 
      37                 :   /* readonly attribute string languageName; */
      38                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguageName(char * *aLanguageName) = 0;
      39                 : 
      40                 :   /* readonly attribute string filename; */
      41                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) = 0;
      42                 : 
      43                 :   /* readonly attribute string name; */
      44                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName) = 0;
      45                 : 
      46                 :   /* readonly attribute PRInt32 lineNumber; */
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRInt32 *aLineNumber) = 0;
      48                 : 
      49                 :   /* readonly attribute string sourceLine; */
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetSourceLine(char * *aSourceLine) = 0;
      51                 : 
      52                 :   /* readonly attribute nsIStackFrame caller; */
      53                 :   NS_SCRIPTABLE NS_IMETHOD GetCaller(nsIStackFrame * *aCaller) = 0;
      54                 : 
      55                 :   /* string toString (); */
      56                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) = 0;
      57                 : 
      58                 : };
      59                 : 
      60                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIStackFrame, NS_ISTACKFRAME_IID)
      61                 : 
      62                 : /* Use this macro when declaring classes that implement this interface. */
      63                 : #define NS_DECL_NSISTACKFRAME \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUint32 *aLanguage); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguageName(char * *aLanguageName); \
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName); \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRInt32 *aLineNumber); \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetSourceLine(char * *aSourceLine); \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetCaller(nsIStackFrame * *aCaller); \
      71                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM); 
      72                 : 
      73                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      74                 : #define NS_FORWARD_NSISTACKFRAME(_to) \
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUint32 *aLanguage) { return _to GetLanguage(aLanguage); } \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguageName(char * *aLanguageName) { return _to GetLanguageName(aLanguageName); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) { return _to GetFilename(aFilename); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName) { return _to GetName(aName); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRInt32 *aLineNumber) { return _to GetLineNumber(aLineNumber); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD GetSourceLine(char * *aSourceLine) { return _to GetSourceLine(aSourceLine); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD GetCaller(nsIStackFrame * *aCaller) { return _to GetCaller(aCaller); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) { return _to ToString(_retval); } 
      83                 : 
      84                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      85                 : #define NS_FORWARD_SAFE_NSISTACKFRAME(_to) \
      86                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUint32 *aLanguage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLanguage(aLanguage); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguageName(char * *aLanguageName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLanguageName(aLanguageName); } \
      88                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(aFilename); } \
      89                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
      90                 :   NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRInt32 *aLineNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLineNumber(aLineNumber); } \
      91                 :   NS_SCRIPTABLE NS_IMETHOD GetSourceLine(char * *aSourceLine) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSourceLine(aSourceLine); } \
      92                 :   NS_SCRIPTABLE NS_IMETHOD GetCaller(nsIStackFrame * *aCaller) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaller(aCaller); } \
      93                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } 
      94                 : 
      95                 : #if 0
      96                 : /* Use the code below as a template for the implementation class for this interface. */
      97                 : 
      98                 : /* Header file */
      99                 : class nsStackFrame : public nsIStackFrame
     100                 : {
     101                 : public:
     102                 :   NS_DECL_ISUPPORTS
     103                 :   NS_DECL_NSISTACKFRAME
     104                 : 
     105                 :   nsStackFrame();
     106                 : 
     107                 : private:
     108                 :   ~nsStackFrame();
     109                 : 
     110                 : protected:
     111                 :   /* additional members */
     112                 : };
     113                 : 
     114                 : /* Implementation file */
     115                 : NS_IMPL_ISUPPORTS1(nsStackFrame, nsIStackFrame)
     116                 : 
     117                 : nsStackFrame::nsStackFrame()
     118                 : {
     119                 :   /* member initializers and constructor code */
     120                 : }
     121                 : 
     122                 : nsStackFrame::~nsStackFrame()
     123                 : {
     124                 :   /* destructor code */
     125                 : }
     126                 : 
     127                 : /* readonly attribute PRUint32 language; */
     128                 : NS_IMETHODIMP nsStackFrame::GetLanguage(PRUint32 *aLanguage)
     129                 : {
     130                 :     return NS_ERROR_NOT_IMPLEMENTED;
     131                 : }
     132                 : 
     133                 : /* readonly attribute string languageName; */
     134                 : NS_IMETHODIMP nsStackFrame::GetLanguageName(char * *aLanguageName)
     135                 : {
     136                 :     return NS_ERROR_NOT_IMPLEMENTED;
     137                 : }
     138                 : 
     139                 : /* readonly attribute string filename; */
     140                 : NS_IMETHODIMP nsStackFrame::GetFilename(char * *aFilename)
     141                 : {
     142                 :     return NS_ERROR_NOT_IMPLEMENTED;
     143                 : }
     144                 : 
     145                 : /* readonly attribute string name; */
     146                 : NS_IMETHODIMP nsStackFrame::GetName(char * *aName)
     147                 : {
     148                 :     return NS_ERROR_NOT_IMPLEMENTED;
     149                 : }
     150                 : 
     151                 : /* readonly attribute PRInt32 lineNumber; */
     152                 : NS_IMETHODIMP nsStackFrame::GetLineNumber(PRInt32 *aLineNumber)
     153                 : {
     154                 :     return NS_ERROR_NOT_IMPLEMENTED;
     155                 : }
     156                 : 
     157                 : /* readonly attribute string sourceLine; */
     158                 : NS_IMETHODIMP nsStackFrame::GetSourceLine(char * *aSourceLine)
     159                 : {
     160                 :     return NS_ERROR_NOT_IMPLEMENTED;
     161                 : }
     162                 : 
     163                 : /* readonly attribute nsIStackFrame caller; */
     164                 : NS_IMETHODIMP nsStackFrame::GetCaller(nsIStackFrame * *aCaller)
     165                 : {
     166                 :     return NS_ERROR_NOT_IMPLEMENTED;
     167                 : }
     168                 : 
     169                 : /* string toString (); */
     170                 : NS_IMETHODIMP nsStackFrame::ToString(char * *_retval NS_OUTPARAM)
     171                 : {
     172                 :     return NS_ERROR_NOT_IMPLEMENTED;
     173                 : }
     174                 : 
     175                 : /* End of implementation class template. */
     176                 : #endif
     177                 : 
     178                 : 
     179                 : /* starting interface:    nsIException */
     180                 : #define NS_IEXCEPTION_IID_STR "f3a8d3b4-c424-4edc-8bf6-8974c983ba78"
     181                 : 
     182                 : #define NS_IEXCEPTION_IID \
     183                 :   {0xf3a8d3b4, 0xc424, 0x4edc, \
     184                 :     { 0x8b, 0xf6, 0x89, 0x74, 0xc9, 0x83, 0xba, 0x78 }}
     185                 : 
     186           46118 : class NS_NO_VTABLE NS_SCRIPTABLE nsIException : public nsISupports {
     187                 :  public: 
     188                 : 
     189                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEXCEPTION_IID)
     190                 : 
     191                 :   /* [binaryname(MessageMoz)] readonly attribute string message; */
     192                 :   NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(char * *aMessage) = 0;
     193                 : 
     194                 :   /* readonly attribute nsresult result; */
     195                 :   NS_SCRIPTABLE NS_IMETHOD GetResult(nsresult *aResult) = 0;
     196                 : 
     197                 :   /* readonly attribute string name; */
     198                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName) = 0;
     199                 : 
     200                 :   /* readonly attribute string filename; */
     201                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) = 0;
     202                 : 
     203                 :   /* readonly attribute PRUint32 lineNumber; */
     204                 :   NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRUint32 *aLineNumber) = 0;
     205                 : 
     206                 :   /* readonly attribute PRUint32 columnNumber; */
     207                 :   NS_SCRIPTABLE NS_IMETHOD GetColumnNumber(PRUint32 *aColumnNumber) = 0;
     208                 : 
     209                 :   /* readonly attribute nsIStackFrame location; */
     210                 :   NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIStackFrame * *aLocation) = 0;
     211                 : 
     212                 :   /* readonly attribute nsIException inner; */
     213                 :   NS_SCRIPTABLE NS_IMETHOD GetInner(nsIException * *aInner) = 0;
     214                 : 
     215                 :   /* readonly attribute nsISupports data; */
     216                 :   NS_SCRIPTABLE NS_IMETHOD GetData(nsISupports * *aData) = 0;
     217                 : 
     218                 :   /* string toString (); */
     219                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) = 0;
     220                 : 
     221                 : };
     222                 : 
     223                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIException, NS_IEXCEPTION_IID)
     224                 : 
     225                 : /* Use this macro when declaring classes that implement this interface. */
     226                 : #define NS_DECL_NSIEXCEPTION \
     227                 :   NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(char * *aMessage); \
     228                 :   NS_SCRIPTABLE NS_IMETHOD GetResult(nsresult *aResult); \
     229                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName); \
     230                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename); \
     231                 :   NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRUint32 *aLineNumber); \
     232                 :   NS_SCRIPTABLE NS_IMETHOD GetColumnNumber(PRUint32 *aColumnNumber); \
     233                 :   NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIStackFrame * *aLocation); \
     234                 :   NS_SCRIPTABLE NS_IMETHOD GetInner(nsIException * *aInner); \
     235                 :   NS_SCRIPTABLE NS_IMETHOD GetData(nsISupports * *aData); \
     236                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM); 
     237                 : 
     238                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     239                 : #define NS_FORWARD_NSIEXCEPTION(_to) \
     240                 :   NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(char * *aMessage) { return _to GetMessageMoz(aMessage); } \
     241                 :   NS_SCRIPTABLE NS_IMETHOD GetResult(nsresult *aResult) { return _to GetResult(aResult); } \
     242                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName) { return _to GetName(aName); } \
     243                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) { return _to GetFilename(aFilename); } \
     244                 :   NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRUint32 *aLineNumber) { return _to GetLineNumber(aLineNumber); } \
     245                 :   NS_SCRIPTABLE NS_IMETHOD GetColumnNumber(PRUint32 *aColumnNumber) { return _to GetColumnNumber(aColumnNumber); } \
     246                 :   NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIStackFrame * *aLocation) { return _to GetLocation(aLocation); } \
     247                 :   NS_SCRIPTABLE NS_IMETHOD GetInner(nsIException * *aInner) { return _to GetInner(aInner); } \
     248                 :   NS_SCRIPTABLE NS_IMETHOD GetData(nsISupports * *aData) { return _to GetData(aData); } \
     249                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) { return _to ToString(_retval); } 
     250                 : 
     251                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     252                 : #define NS_FORWARD_SAFE_NSIEXCEPTION(_to) \
     253                 :   NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(char * *aMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageMoz(aMessage); } \
     254                 :   NS_SCRIPTABLE NS_IMETHOD GetResult(nsresult *aResult) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResult(aResult); } \
     255                 :   NS_SCRIPTABLE NS_IMETHOD GetName(char * *aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
     256                 :   NS_SCRIPTABLE NS_IMETHOD GetFilename(char * *aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(aFilename); } \
     257                 :   NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRUint32 *aLineNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLineNumber(aLineNumber); } \
     258                 :   NS_SCRIPTABLE NS_IMETHOD GetColumnNumber(PRUint32 *aColumnNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnNumber(aColumnNumber); } \
     259                 :   NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIStackFrame * *aLocation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocation(aLocation); } \
     260                 :   NS_SCRIPTABLE NS_IMETHOD GetInner(nsIException * *aInner) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInner(aInner); } \
     261                 :   NS_SCRIPTABLE NS_IMETHOD GetData(nsISupports * *aData) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetData(aData); } \
     262                 :   NS_SCRIPTABLE NS_IMETHOD ToString(char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } 
     263                 : 
     264                 : #if 0
     265                 : /* Use the code below as a template for the implementation class for this interface. */
     266                 : 
     267                 : /* Header file */
     268                 : class nsException : public nsIException
     269                 : {
     270                 : public:
     271                 :   NS_DECL_ISUPPORTS
     272                 :   NS_DECL_NSIEXCEPTION
     273                 : 
     274                 :   nsException();
     275                 : 
     276                 : private:
     277                 :   ~nsException();
     278                 : 
     279                 : protected:
     280                 :   /* additional members */
     281                 : };
     282                 : 
     283                 : /* Implementation file */
     284                 : NS_IMPL_ISUPPORTS1(nsException, nsIException)
     285                 : 
     286                 : nsException::nsException()
     287                 : {
     288                 :   /* member initializers and constructor code */
     289                 : }
     290                 : 
     291                 : nsException::~nsException()
     292                 : {
     293                 :   /* destructor code */
     294                 : }
     295                 : 
     296                 : /* [binaryname(MessageMoz)] readonly attribute string message; */
     297                 : NS_IMETHODIMP nsException::GetMessageMoz(char * *aMessage)
     298                 : {
     299                 :     return NS_ERROR_NOT_IMPLEMENTED;
     300                 : }
     301                 : 
     302                 : /* readonly attribute nsresult result; */
     303                 : NS_IMETHODIMP nsException::GetResult(nsresult *aResult)
     304                 : {
     305                 :     return NS_ERROR_NOT_IMPLEMENTED;
     306                 : }
     307                 : 
     308                 : /* readonly attribute string name; */
     309                 : NS_IMETHODIMP nsException::GetName(char * *aName)
     310                 : {
     311                 :     return NS_ERROR_NOT_IMPLEMENTED;
     312                 : }
     313                 : 
     314                 : /* readonly attribute string filename; */
     315                 : NS_IMETHODIMP nsException::GetFilename(char * *aFilename)
     316                 : {
     317                 :     return NS_ERROR_NOT_IMPLEMENTED;
     318                 : }
     319                 : 
     320                 : /* readonly attribute PRUint32 lineNumber; */
     321                 : NS_IMETHODIMP nsException::GetLineNumber(PRUint32 *aLineNumber)
     322                 : {
     323                 :     return NS_ERROR_NOT_IMPLEMENTED;
     324                 : }
     325                 : 
     326                 : /* readonly attribute PRUint32 columnNumber; */
     327                 : NS_IMETHODIMP nsException::GetColumnNumber(PRUint32 *aColumnNumber)
     328                 : {
     329                 :     return NS_ERROR_NOT_IMPLEMENTED;
     330                 : }
     331                 : 
     332                 : /* readonly attribute nsIStackFrame location; */
     333                 : NS_IMETHODIMP nsException::GetLocation(nsIStackFrame * *aLocation)
     334                 : {
     335                 :     return NS_ERROR_NOT_IMPLEMENTED;
     336                 : }
     337                 : 
     338                 : /* readonly attribute nsIException inner; */
     339                 : NS_IMETHODIMP nsException::GetInner(nsIException * *aInner)
     340                 : {
     341                 :     return NS_ERROR_NOT_IMPLEMENTED;
     342                 : }
     343                 : 
     344                 : /* readonly attribute nsISupports data; */
     345                 : NS_IMETHODIMP nsException::GetData(nsISupports * *aData)
     346                 : {
     347                 :     return NS_ERROR_NOT_IMPLEMENTED;
     348                 : }
     349                 : 
     350                 : /* string toString (); */
     351                 : NS_IMETHODIMP nsException::ToString(char * *_retval NS_OUTPARAM)
     352                 : {
     353                 :     return NS_ERROR_NOT_IMPLEMENTED;
     354                 : }
     355                 : 
     356                 : /* End of implementation class template. */
     357                 : #endif
     358                 : 
     359                 : 
     360                 : #endif /* __gen_nsIException_h__ */

Generated by: LCOV version 1.7