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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/parser/html/nsIScriptableUnescapeHTML.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIScriptableUnescapeHTML_h__
       6                 : #define __gen_nsIScriptableUnescapeHTML_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 nsIDOMElement; /* forward declaration */
      18                 : 
      19                 : class nsIDOMDocumentFragment; /* forward declaration */
      20                 : 
      21                 : class nsIURI; /* forward declaration */
      22                 : 
      23                 : 
      24                 : /* starting interface:    nsIScriptableUnescapeHTML */
      25                 : #define NS_ISCRIPTABLEUNESCAPEHTML_IID_STR "3ab244a9-f09d-44da-9e3f-ee4d67367f2d"
      26                 : 
      27                 : #define NS_ISCRIPTABLEUNESCAPEHTML_IID \
      28                 :   {0x3ab244a9, 0xf09d, 0x44da, \
      29                 :     { 0x9e, 0x3f, 0xee, 0x4d, 0x67, 0x36, 0x7f, 0x2d }}
      30                 : 
      31               2 : class NS_NO_VTABLE NS_SCRIPTABLE nsIScriptableUnescapeHTML : public nsISupports {
      32                 :  public: 
      33                 : 
      34                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISCRIPTABLEUNESCAPEHTML_IID)
      35                 : 
      36                 :   /* AString unescape (in AString src); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD Unescape(const nsAString & src, nsAString & _retval NS_OUTPARAM) = 0;
      38                 : 
      39                 :   /* nsIDOMDocumentFragment parseFragment (in AString fragment, in boolean isXML, in nsIURI baseURI, in nsIDOMElement element); */
      40                 :   NS_SCRIPTABLE NS_IMETHOD ParseFragment(const nsAString & fragment, bool isXML, nsIURI *baseURI, nsIDOMElement *element, nsIDOMDocumentFragment * *_retval NS_OUTPARAM) = 0;
      41                 : 
      42                 : };
      43                 : 
      44                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIScriptableUnescapeHTML, NS_ISCRIPTABLEUNESCAPEHTML_IID)
      45                 : 
      46                 : /* Use this macro when declaring classes that implement this interface. */
      47                 : #define NS_DECL_NSISCRIPTABLEUNESCAPEHTML \
      48                 :   NS_SCRIPTABLE NS_IMETHOD Unescape(const nsAString & src, nsAString & _retval NS_OUTPARAM); \
      49                 :   NS_SCRIPTABLE NS_IMETHOD ParseFragment(const nsAString & fragment, bool isXML, nsIURI *baseURI, nsIDOMElement *element, nsIDOMDocumentFragment * *_retval NS_OUTPARAM); 
      50                 : 
      51                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      52                 : #define NS_FORWARD_NSISCRIPTABLEUNESCAPEHTML(_to) \
      53                 :   NS_SCRIPTABLE NS_IMETHOD Unescape(const nsAString & src, nsAString & _retval NS_OUTPARAM) { return _to Unescape(src, _retval); } \
      54                 :   NS_SCRIPTABLE NS_IMETHOD ParseFragment(const nsAString & fragment, bool isXML, nsIURI *baseURI, nsIDOMElement *element, nsIDOMDocumentFragment * *_retval NS_OUTPARAM) { return _to ParseFragment(fragment, isXML, baseURI, element, _retval); } 
      55                 : 
      56                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      57                 : #define NS_FORWARD_SAFE_NSISCRIPTABLEUNESCAPEHTML(_to) \
      58                 :   NS_SCRIPTABLE NS_IMETHOD Unescape(const nsAString & src, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Unescape(src, _retval); } \
      59                 :   NS_SCRIPTABLE NS_IMETHOD ParseFragment(const nsAString & fragment, bool isXML, nsIURI *baseURI, nsIDOMElement *element, nsIDOMDocumentFragment * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseFragment(fragment, isXML, baseURI, element, _retval); } 
      60                 : 
      61                 : #if 0
      62                 : /* Use the code below as a template for the implementation class for this interface. */
      63                 : 
      64                 : /* Header file */
      65                 : class nsScriptableUnescapeHTML : public nsIScriptableUnescapeHTML
      66                 : {
      67                 : public:
      68                 :   NS_DECL_ISUPPORTS
      69                 :   NS_DECL_NSISCRIPTABLEUNESCAPEHTML
      70                 : 
      71                 :   nsScriptableUnescapeHTML();
      72                 : 
      73                 : private:
      74                 :   ~nsScriptableUnescapeHTML();
      75                 : 
      76                 : protected:
      77                 :   /* additional members */
      78                 : };
      79                 : 
      80                 : /* Implementation file */
      81                 : NS_IMPL_ISUPPORTS1(nsScriptableUnescapeHTML, nsIScriptableUnescapeHTML)
      82                 : 
      83                 : nsScriptableUnescapeHTML::nsScriptableUnescapeHTML()
      84                 : {
      85                 :   /* member initializers and constructor code */
      86                 : }
      87                 : 
      88                 : nsScriptableUnescapeHTML::~nsScriptableUnescapeHTML()
      89                 : {
      90                 :   /* destructor code */
      91                 : }
      92                 : 
      93                 : /* AString unescape (in AString src); */
      94                 : NS_IMETHODIMP nsScriptableUnescapeHTML::Unescape(const nsAString & src, nsAString & _retval NS_OUTPARAM)
      95                 : {
      96                 :     return NS_ERROR_NOT_IMPLEMENTED;
      97                 : }
      98                 : 
      99                 : /* nsIDOMDocumentFragment parseFragment (in AString fragment, in boolean isXML, in nsIURI baseURI, in nsIDOMElement element); */
     100                 : NS_IMETHODIMP nsScriptableUnescapeHTML::ParseFragment(const nsAString & fragment, bool isXML, nsIURI *baseURI, nsIDOMElement *element, nsIDOMDocumentFragment * *_retval NS_OUTPARAM)
     101                 : {
     102                 :     return NS_ERROR_NOT_IMPLEMENTED;
     103                 : }
     104                 : 
     105                 : /* End of implementation class template. */
     106                 : #endif
     107                 : 
     108                 : #define NS_SCRIPTABLEUNESCAPEHTML_CONTRACTID \
     109                 :   "@mozilla.org/feed-unescapehtml;1"
     110                 : #define NS_SCRIPTABLEUNESCAPEHTML_CID  \
     111                 : { 0x10f2f5f0, 0xf103, 0x4901, { 0x98, 0x0f, 0xba, 0x11, 0xbd, 0x70, 0xd6, 0x0d} }
     112                 : 
     113                 : #endif /* __gen_nsIScriptableUnescapeHTML_h__ */

Generated by: LCOV version 1.7