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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/content/base/public/nsIScriptLoaderObserver.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIScriptLoaderObserver_h__
       6                 : #define __gen_nsIScriptLoaderObserver_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : class nsIScriptElement; /* forward declaration */
      18                 : 
      19                 : class nsIURI; /* forward declaration */
      20                 : 
      21                 : 
      22                 : /* starting interface:    nsIScriptLoaderObserver */
      23                 : #define NS_ISCRIPTLOADEROBSERVER_IID_STR "7b787204-76fb-4764-96f1-fb7a666db4f4"
      24                 : 
      25                 : #define NS_ISCRIPTLOADEROBSERVER_IID \
      26                 :   {0x7b787204, 0x76fb, 0x4764, \
      27                 :     { 0x96, 0xf1, 0xfb, 0x7a, 0x66, 0x6d, 0xb4, 0xf4 }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIScriptLoaderObserver : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISCRIPTLOADEROBSERVER_IID)
      33                 : 
      34                 :   /* void scriptAvailable (in nsresult aResult, in nsIScriptElement aElement, in boolean aIsInline, in nsIURI aURI, in PRInt32 aLineNo); */
      35                 :   NS_SCRIPTABLE NS_IMETHOD ScriptAvailable(nsresult aResult, nsIScriptElement *aElement, bool aIsInline, nsIURI *aURI, PRInt32 aLineNo) = 0;
      36                 : 
      37                 :   /* void scriptEvaluated (in nsresult aResult, in nsIScriptElement aElement, in boolean aIsInline); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD ScriptEvaluated(nsresult aResult, nsIScriptElement *aElement, bool aIsInline) = 0;
      39                 : 
      40                 : };
      41                 : 
      42                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIScriptLoaderObserver, NS_ISCRIPTLOADEROBSERVER_IID)
      43                 : 
      44                 : /* Use this macro when declaring classes that implement this interface. */
      45                 : #define NS_DECL_NSISCRIPTLOADEROBSERVER \
      46                 :   NS_SCRIPTABLE NS_IMETHOD ScriptAvailable(nsresult aResult, nsIScriptElement *aElement, bool aIsInline, nsIURI *aURI, PRInt32 aLineNo); \
      47                 :   NS_SCRIPTABLE NS_IMETHOD ScriptEvaluated(nsresult aResult, nsIScriptElement *aElement, bool aIsInline); 
      48                 : 
      49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50                 : #define NS_FORWARD_NSISCRIPTLOADEROBSERVER(_to) \
      51                 :   NS_SCRIPTABLE NS_IMETHOD ScriptAvailable(nsresult aResult, nsIScriptElement *aElement, bool aIsInline, nsIURI *aURI, PRInt32 aLineNo) { return _to ScriptAvailable(aResult, aElement, aIsInline, aURI, aLineNo); } \
      52                 :   NS_SCRIPTABLE NS_IMETHOD ScriptEvaluated(nsresult aResult, nsIScriptElement *aElement, bool aIsInline) { return _to ScriptEvaluated(aResult, aElement, aIsInline); } 
      53                 : 
      54                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      55                 : #define NS_FORWARD_SAFE_NSISCRIPTLOADEROBSERVER(_to) \
      56                 :   NS_SCRIPTABLE NS_IMETHOD ScriptAvailable(nsresult aResult, nsIScriptElement *aElement, bool aIsInline, nsIURI *aURI, PRInt32 aLineNo) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScriptAvailable(aResult, aElement, aIsInline, aURI, aLineNo); } \
      57                 :   NS_SCRIPTABLE NS_IMETHOD ScriptEvaluated(nsresult aResult, nsIScriptElement *aElement, bool aIsInline) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScriptEvaluated(aResult, aElement, aIsInline); } 
      58                 : 
      59                 : #if 0
      60                 : /* Use the code below as a template for the implementation class for this interface. */
      61                 : 
      62                 : /* Header file */
      63                 : class nsScriptLoaderObserver : public nsIScriptLoaderObserver
      64                 : {
      65                 : public:
      66                 :   NS_DECL_ISUPPORTS
      67                 :   NS_DECL_NSISCRIPTLOADEROBSERVER
      68                 : 
      69                 :   nsScriptLoaderObserver();
      70                 : 
      71                 : private:
      72                 :   ~nsScriptLoaderObserver();
      73                 : 
      74                 : protected:
      75                 :   /* additional members */
      76                 : };
      77                 : 
      78                 : /* Implementation file */
      79                 : NS_IMPL_ISUPPORTS1(nsScriptLoaderObserver, nsIScriptLoaderObserver)
      80                 : 
      81                 : nsScriptLoaderObserver::nsScriptLoaderObserver()
      82                 : {
      83                 :   /* member initializers and constructor code */
      84                 : }
      85                 : 
      86                 : nsScriptLoaderObserver::~nsScriptLoaderObserver()
      87                 : {
      88                 :   /* destructor code */
      89                 : }
      90                 : 
      91                 : /* void scriptAvailable (in nsresult aResult, in nsIScriptElement aElement, in boolean aIsInline, in nsIURI aURI, in PRInt32 aLineNo); */
      92                 : NS_IMETHODIMP nsScriptLoaderObserver::ScriptAvailable(nsresult aResult, nsIScriptElement *aElement, bool aIsInline, nsIURI *aURI, PRInt32 aLineNo)
      93                 : {
      94                 :     return NS_ERROR_NOT_IMPLEMENTED;
      95                 : }
      96                 : 
      97                 : /* void scriptEvaluated (in nsresult aResult, in nsIScriptElement aElement, in boolean aIsInline); */
      98                 : NS_IMETHODIMP nsScriptLoaderObserver::ScriptEvaluated(nsresult aResult, nsIScriptElement *aElement, bool aIsInline)
      99                 : {
     100                 :     return NS_ERROR_NOT_IMPLEMENTED;
     101                 : }
     102                 : 
     103                 : /* End of implementation class template. */
     104                 : #endif
     105                 : 
     106                 : 
     107                 : #endif /* __gen_nsIScriptLoaderObserver_h__ */

Generated by: LCOV version 1.7