LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIJARURI.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/modules/libjar/nsIJARURI.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIJARURI_h__
       6                 : #define __gen_nsIJARURI_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIURL_h__
      10                 : #include "nsIURL.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                 : 
      18                 : /* starting interface:    nsIJARURI */
      19                 : #define NS_IJARURI_IID_STR "1ee60719-c056-43b3-8f54-6a6e7ba0ca6c"
      20                 : 
      21                 : #define NS_IJARURI_IID \
      22                 :   {0x1ee60719, 0xc056, 0x43b3, \
      23                 :     { 0x8f, 0x54, 0x6a, 0x6e, 0x7b, 0xa0, 0xca, 0x6c }}
      24                 : 
      25            2328 : class NS_NO_VTABLE NS_SCRIPTABLE nsIJARURI : public nsIURL {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJARURI_IID)
      29                 : 
      30                 :   /* readonly attribute nsIURI JARFile; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetJARFile(nsIURI * *aJARFile) = 0;
      32                 : 
      33                 :   /* attribute AUTF8String JAREntry; */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetJAREntry(nsACString & aJAREntry) = 0;
      35                 :   NS_SCRIPTABLE NS_IMETHOD SetJAREntry(const nsACString & aJAREntry) = 0;
      36                 : 
      37                 :   /* nsIJARURI cloneWithJARFile (in nsIURI jarFile); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD CloneWithJARFile(nsIURI *jarFile, nsIJARURI * *_retval NS_OUTPARAM) = 0;
      39                 : 
      40                 : };
      41                 : 
      42                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIJARURI, NS_IJARURI_IID)
      43                 : 
      44                 : /* Use this macro when declaring classes that implement this interface. */
      45                 : #define NS_DECL_NSIJARURI \
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetJARFile(nsIURI * *aJARFile); \
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetJAREntry(nsACString & aJAREntry); \
      48                 :   NS_SCRIPTABLE NS_IMETHOD SetJAREntry(const nsACString & aJAREntry); \
      49                 :   NS_SCRIPTABLE NS_IMETHOD CloneWithJARFile(nsIURI *jarFile, nsIJARURI * *_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_NSIJARURI(_to) \
      53                 :   NS_SCRIPTABLE NS_IMETHOD GetJARFile(nsIURI * *aJARFile) { return _to GetJARFile(aJARFile); } \
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetJAREntry(nsACString & aJAREntry) { return _to GetJAREntry(aJAREntry); } \
      55                 :   NS_SCRIPTABLE NS_IMETHOD SetJAREntry(const nsACString & aJAREntry) { return _to SetJAREntry(aJAREntry); } \
      56                 :   NS_SCRIPTABLE NS_IMETHOD CloneWithJARFile(nsIURI *jarFile, nsIJARURI * *_retval NS_OUTPARAM) { return _to CloneWithJARFile(jarFile, _retval); } 
      57                 : 
      58                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      59                 : #define NS_FORWARD_SAFE_NSIJARURI(_to) \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetJARFile(nsIURI * *aJARFile) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetJARFile(aJARFile); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetJAREntry(nsACString & aJAREntry) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetJAREntry(aJAREntry); } \
      62                 :   NS_SCRIPTABLE NS_IMETHOD SetJAREntry(const nsACString & aJAREntry) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetJAREntry(aJAREntry); } \
      63                 :   NS_SCRIPTABLE NS_IMETHOD CloneWithJARFile(nsIURI *jarFile, nsIJARURI * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CloneWithJARFile(jarFile, _retval); } 
      64                 : 
      65                 : #if 0
      66                 : /* Use the code below as a template for the implementation class for this interface. */
      67                 : 
      68                 : /* Header file */
      69                 : class nsJARURI : public nsIJARURI
      70                 : {
      71                 : public:
      72                 :   NS_DECL_ISUPPORTS
      73                 :   NS_DECL_NSIJARURI
      74                 : 
      75                 :   nsJARURI();
      76                 : 
      77                 : private:
      78                 :   ~nsJARURI();
      79                 : 
      80                 : protected:
      81                 :   /* additional members */
      82                 : };
      83                 : 
      84                 : /* Implementation file */
      85                 : NS_IMPL_ISUPPORTS1(nsJARURI, nsIJARURI)
      86                 : 
      87                 : nsJARURI::nsJARURI()
      88                 : {
      89                 :   /* member initializers and constructor code */
      90                 : }
      91                 : 
      92                 : nsJARURI::~nsJARURI()
      93                 : {
      94                 :   /* destructor code */
      95                 : }
      96                 : 
      97                 : /* readonly attribute nsIURI JARFile; */
      98                 : NS_IMETHODIMP nsJARURI::GetJARFile(nsIURI * *aJARFile)
      99                 : {
     100                 :     return NS_ERROR_NOT_IMPLEMENTED;
     101                 : }
     102                 : 
     103                 : /* attribute AUTF8String JAREntry; */
     104                 : NS_IMETHODIMP nsJARURI::GetJAREntry(nsACString & aJAREntry)
     105                 : {
     106                 :     return NS_ERROR_NOT_IMPLEMENTED;
     107                 : }
     108                 : NS_IMETHODIMP nsJARURI::SetJAREntry(const nsACString & aJAREntry)
     109                 : {
     110                 :     return NS_ERROR_NOT_IMPLEMENTED;
     111                 : }
     112                 : 
     113                 : /* nsIJARURI cloneWithJARFile (in nsIURI jarFile); */
     114                 : NS_IMETHODIMP nsJARURI::CloneWithJARFile(nsIURI *jarFile, nsIJARURI * *_retval NS_OUTPARAM)
     115                 : {
     116                 :     return NS_ERROR_NOT_IMPLEMENTED;
     117                 : }
     118                 : 
     119                 : /* End of implementation class template. */
     120                 : #endif
     121                 : 
     122                 : 
     123                 : #endif /* __gen_nsIJARURI_h__ */

Generated by: LCOV version 1.7