LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIUnicharOutputStream.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/xpcom/io/nsIUnicharOutputStream.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIUnicharOutputStream_h__
       6                 : #define __gen_nsIUnicharOutputStream_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:    nsIUnicharOutputStream */
      19                 : #define NS_IUNICHAROUTPUTSTREAM_IID_STR "2d00b1bb-8b21-4a63-bcc6-7213f513ac2e"
      20                 : 
      21                 : #define NS_IUNICHAROUTPUTSTREAM_IID \
      22                 :   {0x2d00b1bb, 0x8b21, 0x4a63, \
      23                 :     { 0xbc, 0xc6, 0x72, 0x13, 0xf5, 0x13, 0xac, 0x2e }}
      24                 : 
      25             455 : class NS_NO_VTABLE NS_SCRIPTABLE nsIUnicharOutputStream : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IUNICHAROUTPUTSTREAM_IID)
      29                 : 
      30                 :   /* boolean write (in unsigned long aCount, [array, size_is (aCount), const] in PRUnichar c); */
      31                 :   NS_SCRIPTABLE NS_IMETHOD Write(PRUint32 aCount, const PRUnichar *c, bool *_retval NS_OUTPARAM) = 0;
      32                 : 
      33                 :   /* boolean writeString (in AString str); */
      34                 :   NS_SCRIPTABLE NS_IMETHOD WriteString(const nsAString & str, bool *_retval NS_OUTPARAM) = 0;
      35                 : 
      36                 :   /* void flush (); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD Flush(void) = 0;
      38                 : 
      39                 :   /* void close (); */
      40                 :   NS_SCRIPTABLE NS_IMETHOD Close(void) = 0;
      41                 : 
      42                 : };
      43                 : 
      44                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIUnicharOutputStream, NS_IUNICHAROUTPUTSTREAM_IID)
      45                 : 
      46                 : /* Use this macro when declaring classes that implement this interface. */
      47                 : #define NS_DECL_NSIUNICHAROUTPUTSTREAM \
      48                 :   NS_SCRIPTABLE NS_IMETHOD Write(PRUint32 aCount, const PRUnichar *c, bool *_retval NS_OUTPARAM); \
      49                 :   NS_SCRIPTABLE NS_IMETHOD WriteString(const nsAString & str, bool *_retval NS_OUTPARAM); \
      50                 :   NS_SCRIPTABLE NS_IMETHOD Flush(void); \
      51                 :   NS_SCRIPTABLE NS_IMETHOD Close(void); 
      52                 : 
      53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      54                 : #define NS_FORWARD_NSIUNICHAROUTPUTSTREAM(_to) \
      55                 :   NS_SCRIPTABLE NS_IMETHOD Write(PRUint32 aCount, const PRUnichar *c, bool *_retval NS_OUTPARAM) { return _to Write(aCount, c, _retval); } \
      56                 :   NS_SCRIPTABLE NS_IMETHOD WriteString(const nsAString & str, bool *_retval NS_OUTPARAM) { return _to WriteString(str, _retval); } \
      57                 :   NS_SCRIPTABLE NS_IMETHOD Flush(void) { return _to Flush(); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD Close(void) { return _to Close(); } 
      59                 : 
      60                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      61                 : #define NS_FORWARD_SAFE_NSIUNICHAROUTPUTSTREAM(_to) \
      62                 :   NS_SCRIPTABLE NS_IMETHOD Write(PRUint32 aCount, const PRUnichar *c, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Write(aCount, c, _retval); } \
      63                 :   NS_SCRIPTABLE NS_IMETHOD WriteString(const nsAString & str, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->WriteString(str, _retval); } \
      64                 :   NS_SCRIPTABLE NS_IMETHOD Flush(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Flush(); } \
      65                 :   NS_SCRIPTABLE NS_IMETHOD Close(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Close(); } 
      66                 : 
      67                 : #if 0
      68                 : /* Use the code below as a template for the implementation class for this interface. */
      69                 : 
      70                 : /* Header file */
      71                 : class nsUnicharOutputStream : public nsIUnicharOutputStream
      72                 : {
      73                 : public:
      74                 :   NS_DECL_ISUPPORTS
      75                 :   NS_DECL_NSIUNICHAROUTPUTSTREAM
      76                 : 
      77                 :   nsUnicharOutputStream();
      78                 : 
      79                 : private:
      80                 :   ~nsUnicharOutputStream();
      81                 : 
      82                 : protected:
      83                 :   /* additional members */
      84                 : };
      85                 : 
      86                 : /* Implementation file */
      87                 : NS_IMPL_ISUPPORTS1(nsUnicharOutputStream, nsIUnicharOutputStream)
      88                 : 
      89                 : nsUnicharOutputStream::nsUnicharOutputStream()
      90                 : {
      91                 :   /* member initializers and constructor code */
      92                 : }
      93                 : 
      94                 : nsUnicharOutputStream::~nsUnicharOutputStream()
      95                 : {
      96                 :   /* destructor code */
      97                 : }
      98                 : 
      99                 : /* boolean write (in unsigned long aCount, [array, size_is (aCount), const] in PRUnichar c); */
     100                 : NS_IMETHODIMP nsUnicharOutputStream::Write(PRUint32 aCount, const PRUnichar *c, bool *_retval NS_OUTPARAM)
     101                 : {
     102                 :     return NS_ERROR_NOT_IMPLEMENTED;
     103                 : }
     104                 : 
     105                 : /* boolean writeString (in AString str); */
     106                 : NS_IMETHODIMP nsUnicharOutputStream::WriteString(const nsAString & str, bool *_retval NS_OUTPARAM)
     107                 : {
     108                 :     return NS_ERROR_NOT_IMPLEMENTED;
     109                 : }
     110                 : 
     111                 : /* void flush (); */
     112                 : NS_IMETHODIMP nsUnicharOutputStream::Flush()
     113                 : {
     114                 :     return NS_ERROR_NOT_IMPLEMENTED;
     115                 : }
     116                 : 
     117                 : /* void close (); */
     118                 : NS_IMETHODIMP nsUnicharOutputStream::Close()
     119                 : {
     120                 :     return NS_ERROR_NOT_IMPLEMENTED;
     121                 : }
     122                 : 
     123                 : /* End of implementation class template. */
     124                 : #endif
     125                 : 
     126                 : 
     127                 : #endif /* __gen_nsIUnicharOutputStream_h__ */

Generated by: LCOV version 1.7