LCOV - app.info - objdir/dist/include/nsICMSEncoder.h

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsICMSEncoder.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/security/manager/ssl/public/nsICMSEncoder.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsICMSEncoder_h__
           6                 : #define __gen_nsICMSEncoder_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                 : typedef void (*NSSCMSContentCallback)(void *arg, const char *buf, unsigned long len);
          18                 : #define NS_CMSENCODER_CONTRACTID "@mozilla.org/nsCMSEncoder;1"
          19                 : class nsICMSMessage; /* forward declaration */
          20                 :
          21                 :
          22                 : /* starting interface:    nsICMSEncoder */
          23                 : #define NS_ICMSENCODER_IID_STR "a15789aa-8903-462b-81e9-4aa2cff4d5cb"
          24                 :
          25                 : #define NS_ICMSENCODER_IID \
          26                 :   {0xa15789aa, 0x8903, 0x462b, \
          27                 :     { 0x81, 0xe9, 0x4a, 0xa2, 0xcf, 0xf4, 0xd5, 0xcb }}
          28                 :
          29               0 : class NS_NO_VTABLE nsICMSEncoder : public nsISupports {
          30                 :  public:
          31                 :
          32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICMSENCODER_IID)
          33                 :
          34                 :   /* void start (in nsICMSMessage aMsg, in NSSCMSContentCallback cb, in voidPtr arg); */
          35                 :   NS_IMETHOD Start(nsICMSMessage *aMsg, NSSCMSContentCallback cb, void *arg) = 0;
          36                 :
          37                 :   /* void update (in string aBuf, in long aLen); */
          38                 :   NS_IMETHOD Update(const char * aBuf, PRInt32 aLen) = 0;
          39                 :
          40                 :   /* void finish (); */
          41                 :   NS_IMETHOD Finish(void) = 0;
          42                 :
          43                 :   /* void encode (in nsICMSMessage aMsg); */
          44                 :   NS_IMETHOD Encode(nsICMSMessage *aMsg) = 0;
          45                 :
          46                 : };
          47                 :
          48                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsICMSEncoder, NS_ICMSENCODER_IID)
          49                 :
          50                 : /* Use this macro when declaring classes that implement this interface. */
          51                 : #define NS_DECL_NSICMSENCODER \
          52                 :   NS_IMETHOD Start(nsICMSMessage *aMsg, NSSCMSContentCallback cb, void *arg); \
          53                 :   NS_IMETHOD Update(const char * aBuf, PRInt32 aLen); \
          54                 :   NS_IMETHOD Finish(void); \
          55                 :   NS_IMETHOD Encode(nsICMSMessage *aMsg);
          56                 :
          57                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          58                 : #define NS_FORWARD_NSICMSENCODER(_to) \
          59                 :   NS_IMETHOD Start(nsICMSMessage *aMsg, NSSCMSContentCallback cb, void *arg) { return _to Start(aMsg, cb, arg); } \
          60                 :   NS_IMETHOD Update(const char * aBuf, PRInt32 aLen) { return _to Update(aBuf, aLen); } \
          61                 :   NS_IMETHOD Finish(void) { return _to Finish(); } \
          62                 :   NS_IMETHOD Encode(nsICMSMessage *aMsg) { return _to Encode(aMsg); }
          63                 :
          64                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          65                 : #define NS_FORWARD_SAFE_NSICMSENCODER(_to) \
          66                 :   NS_IMETHOD Start(nsICMSMessage *aMsg, NSSCMSContentCallback cb, void *arg) { return !_to ? NS_ERROR_NULL_POINTER : _to->Start(aMsg, cb, arg); } \
          67                 :   NS_IMETHOD Update(const char * aBuf, PRInt32 aLen) { return !_to ? NS_ERROR_NULL_POINTER : _to->Update(aBuf, aLen); } \
          68                 :   NS_IMETHOD Finish(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Finish(); } \
          69                 :   NS_IMETHOD Encode(nsICMSMessage *aMsg) { return !_to ? NS_ERROR_NULL_POINTER : _to->Encode(aMsg); }
          70                 :
          71                 : #if 0
          72                 : /* Use the code below as a template for the implementation class for this interface. */
          73                 :
          74                 : /* Header file */
          75                 : class nsCMSEncoder : public nsICMSEncoder
          76                 : {
          77                 : public:
          78                 :   NS_DECL_ISUPPORTS
          79                 :   NS_DECL_NSICMSENCODER
          80                 :
          81                 :   nsCMSEncoder();
          82                 :
          83                 : private:
          84                 :   ~nsCMSEncoder();
          85                 :
          86                 : protected:
          87                 :   /* additional members */
          88                 : };
          89                 :
          90                 : /* Implementation file */
          91                 : NS_IMPL_ISUPPORTS1(nsCMSEncoder, nsICMSEncoder)
          92                 :
          93                 : nsCMSEncoder::nsCMSEncoder()
          94                 : {
          95                 :   /* member initializers and constructor code */
          96                 : }
          97                 :
          98                 : nsCMSEncoder::~nsCMSEncoder()
          99                 : {
         100                 :   /* destructor code */
         101                 : }
         102                 :
         103                 : /* void start (in nsICMSMessage aMsg, in NSSCMSContentCallback cb, in voidPtr arg); */
         104                 : NS_IMETHODIMP nsCMSEncoder::Start(nsICMSMessage *aMsg, NSSCMSContentCallback cb, void *arg)
         105                 : {
         106                 :     return NS_ERROR_NOT_IMPLEMENTED;
         107                 : }
         108                 :
         109                 : /* void update (in string aBuf, in long aLen); */
         110                 : NS_IMETHODIMP nsCMSEncoder::Update(const char * aBuf, PRInt32 aLen)
         111                 : {
         112                 :     return NS_ERROR_NOT_IMPLEMENTED;
         113                 : }
         114                 :
         115                 : /* void finish (); */
         116                 : NS_IMETHODIMP nsCMSEncoder::Finish()
         117                 : {
         118                 :     return NS_ERROR_NOT_IMPLEMENTED;
         119                 : }
         120                 :
         121                 : /* void encode (in nsICMSMessage aMsg); */
         122                 : NS_IMETHODIMP nsCMSEncoder::Encode(nsICMSMessage *aMsg)
         123                 : {
         124                 :     return NS_ERROR_NOT_IMPLEMENTED;
         125                 : }
         126                 :
         127                 : /* End of implementation class template. */
         128                 : #endif
         129                 :
         130                 :
         131                 : #endif /* __gen_nsICMSEncoder_h__ */

Generated by: LCOV version 1.7