LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIStringEnumerator.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/ds/nsIStringEnumerator.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIStringEnumerator_h__
       6                 : #define __gen_nsIStringEnumerator_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                 : 
      18                 : /* starting interface:    nsIStringEnumerator */
      19                 : #define NS_ISTRINGENUMERATOR_IID_STR "50d3ef6c-9380-4f06-9fb2-95488f7d141c"
      20                 : 
      21                 : #define NS_ISTRINGENUMERATOR_IID \
      22                 :   {0x50d3ef6c, 0x9380, 0x4f06, \
      23                 :     { 0x9f, 0xb2, 0x95, 0x48, 0x8f, 0x7d, 0x14, 0x1c }}
      24                 : 
      25            5308 : class NS_NO_VTABLE NS_SCRIPTABLE nsIStringEnumerator : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISTRINGENUMERATOR_IID)
      29                 : 
      30                 :   /* boolean hasMore (); */
      31                 :   NS_SCRIPTABLE NS_IMETHOD HasMore(bool *_retval NS_OUTPARAM) = 0;
      32                 : 
      33                 :   /* AString getNext (); */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetNext(nsAString & _retval NS_OUTPARAM) = 0;
      35                 : 
      36                 : };
      37                 : 
      38                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIStringEnumerator, NS_ISTRINGENUMERATOR_IID)
      39                 : 
      40                 : /* Use this macro when declaring classes that implement this interface. */
      41                 : #define NS_DECL_NSISTRINGENUMERATOR \
      42                 :   NS_SCRIPTABLE NS_IMETHOD HasMore(bool *_retval NS_OUTPARAM); \
      43                 :   NS_SCRIPTABLE NS_IMETHOD GetNext(nsAString & _retval NS_OUTPARAM); 
      44                 : 
      45                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      46                 : #define NS_FORWARD_NSISTRINGENUMERATOR(_to) \
      47                 :   NS_SCRIPTABLE NS_IMETHOD HasMore(bool *_retval NS_OUTPARAM) { return _to HasMore(_retval); } \
      48                 :   NS_SCRIPTABLE NS_IMETHOD GetNext(nsAString & _retval NS_OUTPARAM) { return _to GetNext(_retval); } 
      49                 : 
      50                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      51                 : #define NS_FORWARD_SAFE_NSISTRINGENUMERATOR(_to) \
      52                 :   NS_SCRIPTABLE NS_IMETHOD HasMore(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->HasMore(_retval); } \
      53                 :   NS_SCRIPTABLE NS_IMETHOD GetNext(nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNext(_retval); } 
      54                 : 
      55                 : #if 0
      56                 : /* Use the code below as a template for the implementation class for this interface. */
      57                 : 
      58                 : /* Header file */
      59                 : class nsStringEnumerator : public nsIStringEnumerator
      60                 : {
      61                 : public:
      62                 :   NS_DECL_ISUPPORTS
      63                 :   NS_DECL_NSISTRINGENUMERATOR
      64                 : 
      65                 :   nsStringEnumerator();
      66                 : 
      67                 : private:
      68                 :   ~nsStringEnumerator();
      69                 : 
      70                 : protected:
      71                 :   /* additional members */
      72                 : };
      73                 : 
      74                 : /* Implementation file */
      75                 : NS_IMPL_ISUPPORTS1(nsStringEnumerator, nsIStringEnumerator)
      76                 : 
      77                 : nsStringEnumerator::nsStringEnumerator()
      78                 : {
      79                 :   /* member initializers and constructor code */
      80                 : }
      81                 : 
      82                 : nsStringEnumerator::~nsStringEnumerator()
      83                 : {
      84                 :   /* destructor code */
      85                 : }
      86                 : 
      87                 : /* boolean hasMore (); */
      88                 : NS_IMETHODIMP nsStringEnumerator::HasMore(bool *_retval NS_OUTPARAM)
      89                 : {
      90                 :     return NS_ERROR_NOT_IMPLEMENTED;
      91                 : }
      92                 : 
      93                 : /* AString getNext (); */
      94                 : NS_IMETHODIMP nsStringEnumerator::GetNext(nsAString & _retval NS_OUTPARAM)
      95                 : {
      96                 :     return NS_ERROR_NOT_IMPLEMENTED;
      97                 : }
      98                 : 
      99                 : /* End of implementation class template. */
     100                 : #endif
     101                 : 
     102                 : 
     103                 : /* starting interface:    nsIUTF8StringEnumerator */
     104                 : #define NS_IUTF8STRINGENUMERATOR_IID_STR "9bdf1010-3695-4907-95ed-83d0410ec307"
     105                 : 
     106                 : #define NS_IUTF8STRINGENUMERATOR_IID \
     107                 :   {0x9bdf1010, 0x3695, 0x4907, \
     108                 :     { 0x95, 0xed, 0x83, 0xd0, 0x41, 0x0e, 0xc3, 0x07 }}
     109                 : 
     110           13370 : class NS_NO_VTABLE NS_SCRIPTABLE nsIUTF8StringEnumerator : public nsISupports {
     111                 :  public: 
     112                 : 
     113                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IUTF8STRINGENUMERATOR_IID)
     114                 : 
     115                 :   /* boolean hasMore (); */
     116                 :   NS_SCRIPTABLE NS_IMETHOD HasMore(bool *_retval NS_OUTPARAM) = 0;
     117                 : 
     118                 :   /* AUTF8String getNext (); */
     119                 :   NS_SCRIPTABLE NS_IMETHOD GetNext(nsACString & _retval NS_OUTPARAM) = 0;
     120                 : 
     121                 : };
     122                 : 
     123                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIUTF8StringEnumerator, NS_IUTF8STRINGENUMERATOR_IID)
     124                 : 
     125                 : /* Use this macro when declaring classes that implement this interface. */
     126                 : #define NS_DECL_NSIUTF8STRINGENUMERATOR \
     127                 :   NS_SCRIPTABLE NS_IMETHOD HasMore(bool *_retval NS_OUTPARAM); \
     128                 :   NS_SCRIPTABLE NS_IMETHOD GetNext(nsACString & _retval NS_OUTPARAM); 
     129                 : 
     130                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     131                 : #define NS_FORWARD_NSIUTF8STRINGENUMERATOR(_to) \
     132                 :   NS_SCRIPTABLE NS_IMETHOD HasMore(bool *_retval NS_OUTPARAM) { return _to HasMore(_retval); } \
     133                 :   NS_SCRIPTABLE NS_IMETHOD GetNext(nsACString & _retval NS_OUTPARAM) { return _to GetNext(_retval); } 
     134                 : 
     135                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     136                 : #define NS_FORWARD_SAFE_NSIUTF8STRINGENUMERATOR(_to) \
     137                 :   NS_SCRIPTABLE NS_IMETHOD HasMore(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->HasMore(_retval); } \
     138                 :   NS_SCRIPTABLE NS_IMETHOD GetNext(nsACString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNext(_retval); } 
     139                 : 
     140                 : #if 0
     141                 : /* Use the code below as a template for the implementation class for this interface. */
     142                 : 
     143                 : /* Header file */
     144                 : class nsUTF8StringEnumerator : public nsIUTF8StringEnumerator
     145                 : {
     146                 : public:
     147                 :   NS_DECL_ISUPPORTS
     148                 :   NS_DECL_NSIUTF8STRINGENUMERATOR
     149                 : 
     150                 :   nsUTF8StringEnumerator();
     151                 : 
     152                 : private:
     153                 :   ~nsUTF8StringEnumerator();
     154                 : 
     155                 : protected:
     156                 :   /* additional members */
     157                 : };
     158                 : 
     159                 : /* Implementation file */
     160                 : NS_IMPL_ISUPPORTS1(nsUTF8StringEnumerator, nsIUTF8StringEnumerator)
     161                 : 
     162                 : nsUTF8StringEnumerator::nsUTF8StringEnumerator()
     163                 : {
     164                 :   /* member initializers and constructor code */
     165                 : }
     166                 : 
     167                 : nsUTF8StringEnumerator::~nsUTF8StringEnumerator()
     168                 : {
     169                 :   /* destructor code */
     170                 : }
     171                 : 
     172                 : /* boolean hasMore (); */
     173                 : NS_IMETHODIMP nsUTF8StringEnumerator::HasMore(bool *_retval NS_OUTPARAM)
     174                 : {
     175                 :     return NS_ERROR_NOT_IMPLEMENTED;
     176                 : }
     177                 : 
     178                 : /* AUTF8String getNext (); */
     179                 : NS_IMETHODIMP nsUTF8StringEnumerator::GetNext(nsACString & _retval NS_OUTPARAM)
     180                 : {
     181                 :     return NS_ERROR_NOT_IMPLEMENTED;
     182                 : }
     183                 : 
     184                 : /* End of implementation class template. */
     185                 : #endif
     186                 : 
     187                 : 
     188                 : #endif /* __gen_nsIStringEnumerator_h__ */

Generated by: LCOV version 1.7