LCOV - code coverage report
Current view: directory - objdir/dist/include - nsITraceRefcnt.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/base/nsITraceRefcnt.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsITraceRefcnt_h__
       6                 : #define __gen_nsITraceRefcnt_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:    nsITraceRefcnt */
      19                 : #define NS_ITRACEREFCNT_IID_STR "273dc92f-0fe6-4545-96a9-21be77828039"
      20                 : 
      21                 : #define NS_ITRACEREFCNT_IID \
      22                 :   {0x273dc92f, 0x0fe6, 0x4545, \
      23                 :     { 0x96, 0xa9, 0x21, 0xbe, 0x77, 0x82, 0x80, 0x39 }}
      24                 : 
      25            1464 : class NS_NO_VTABLE nsITraceRefcnt : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITRACEREFCNT_IID)
      29                 : 
      30                 :   /* void logAddRef (in voidPtr aPtr, in nsrefcnt aNewRefcnt, in string aTypeName, in unsigned long aInstanceSize); */
      31                 :   NS_IMETHOD LogAddRef(void *aPtr, nsrefcnt aNewRefcnt, const char * aTypeName, PRUint32 aInstanceSize) = 0;
      32                 : 
      33                 :   /* void logRelease (in voidPtr aPtr, in nsrefcnt aNewRefcnt, in string aTypeName); */
      34                 :   NS_IMETHOD LogRelease(void *aPtr, nsrefcnt aNewRefcnt, const char * aTypeName) = 0;
      35                 : 
      36                 :   /* void logCtor (in voidPtr aPtr, in string aTypeName, in unsigned long aInstanceSize); */
      37                 :   NS_IMETHOD LogCtor(void *aPtr, const char * aTypeName, PRUint32 aInstanceSize) = 0;
      38                 : 
      39                 :   /* void logDtor (in voidPtr aPtr, in string aTypeName, in unsigned long aInstanceSize); */
      40                 :   NS_IMETHOD LogDtor(void *aPtr, const char * aTypeName, PRUint32 aInstanceSize) = 0;
      41                 : 
      42                 :   /* void logAddCOMPtr (in voidPtr aPtr, in nsISupports aObject); */
      43                 :   NS_IMETHOD LogAddCOMPtr(void *aPtr, nsISupports *aObject) = 0;
      44                 : 
      45                 :   /* void logReleaseCOMPtr (in voidPtr aPtr, in nsISupports aObject); */
      46                 :   NS_IMETHOD LogReleaseCOMPtr(void *aPtr, nsISupports *aObject) = 0;
      47                 : 
      48                 : };
      49                 : 
      50                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsITraceRefcnt, NS_ITRACEREFCNT_IID)
      51                 : 
      52                 : /* Use this macro when declaring classes that implement this interface. */
      53                 : #define NS_DECL_NSITRACEREFCNT \
      54                 :   NS_IMETHOD LogAddRef(void *aPtr, nsrefcnt aNewRefcnt, const char * aTypeName, PRUint32 aInstanceSize); \
      55                 :   NS_IMETHOD LogRelease(void *aPtr, nsrefcnt aNewRefcnt, const char * aTypeName); \
      56                 :   NS_IMETHOD LogCtor(void *aPtr, const char * aTypeName, PRUint32 aInstanceSize); \
      57                 :   NS_IMETHOD LogDtor(void *aPtr, const char * aTypeName, PRUint32 aInstanceSize); \
      58                 :   NS_IMETHOD LogAddCOMPtr(void *aPtr, nsISupports *aObject); \
      59                 :   NS_IMETHOD LogReleaseCOMPtr(void *aPtr, nsISupports *aObject); 
      60                 : 
      61                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62                 : #define NS_FORWARD_NSITRACEREFCNT(_to) \
      63                 :   NS_IMETHOD LogAddRef(void *aPtr, nsrefcnt aNewRefcnt, const char * aTypeName, PRUint32 aInstanceSize) { return _to LogAddRef(aPtr, aNewRefcnt, aTypeName, aInstanceSize); } \
      64                 :   NS_IMETHOD LogRelease(void *aPtr, nsrefcnt aNewRefcnt, const char * aTypeName) { return _to LogRelease(aPtr, aNewRefcnt, aTypeName); } \
      65                 :   NS_IMETHOD LogCtor(void *aPtr, const char * aTypeName, PRUint32 aInstanceSize) { return _to LogCtor(aPtr, aTypeName, aInstanceSize); } \
      66                 :   NS_IMETHOD LogDtor(void *aPtr, const char * aTypeName, PRUint32 aInstanceSize) { return _to LogDtor(aPtr, aTypeName, aInstanceSize); } \
      67                 :   NS_IMETHOD LogAddCOMPtr(void *aPtr, nsISupports *aObject) { return _to LogAddCOMPtr(aPtr, aObject); } \
      68                 :   NS_IMETHOD LogReleaseCOMPtr(void *aPtr, nsISupports *aObject) { return _to LogReleaseCOMPtr(aPtr, aObject); } 
      69                 : 
      70                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      71                 : #define NS_FORWARD_SAFE_NSITRACEREFCNT(_to) \
      72                 :   NS_IMETHOD LogAddRef(void *aPtr, nsrefcnt aNewRefcnt, const char * aTypeName, PRUint32 aInstanceSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->LogAddRef(aPtr, aNewRefcnt, aTypeName, aInstanceSize); } \
      73                 :   NS_IMETHOD LogRelease(void *aPtr, nsrefcnt aNewRefcnt, const char * aTypeName) { return !_to ? NS_ERROR_NULL_POINTER : _to->LogRelease(aPtr, aNewRefcnt, aTypeName); } \
      74                 :   NS_IMETHOD LogCtor(void *aPtr, const char * aTypeName, PRUint32 aInstanceSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->LogCtor(aPtr, aTypeName, aInstanceSize); } \
      75                 :   NS_IMETHOD LogDtor(void *aPtr, const char * aTypeName, PRUint32 aInstanceSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->LogDtor(aPtr, aTypeName, aInstanceSize); } \
      76                 :   NS_IMETHOD LogAddCOMPtr(void *aPtr, nsISupports *aObject) { return !_to ? NS_ERROR_NULL_POINTER : _to->LogAddCOMPtr(aPtr, aObject); } \
      77                 :   NS_IMETHOD LogReleaseCOMPtr(void *aPtr, nsISupports *aObject) { return !_to ? NS_ERROR_NULL_POINTER : _to->LogReleaseCOMPtr(aPtr, aObject); } 
      78                 : 
      79                 : #if 0
      80                 : /* Use the code below as a template for the implementation class for this interface. */
      81                 : 
      82                 : /* Header file */
      83                 : class nsTraceRefcnt : public nsITraceRefcnt
      84                 : {
      85                 : public:
      86                 :   NS_DECL_ISUPPORTS
      87                 :   NS_DECL_NSITRACEREFCNT
      88                 : 
      89                 :   nsTraceRefcnt();
      90                 : 
      91                 : private:
      92                 :   ~nsTraceRefcnt();
      93                 : 
      94                 : protected:
      95                 :   /* additional members */
      96                 : };
      97                 : 
      98                 : /* Implementation file */
      99                 : NS_IMPL_ISUPPORTS1(nsTraceRefcnt, nsITraceRefcnt)
     100                 : 
     101                 : nsTraceRefcnt::nsTraceRefcnt()
     102                 : {
     103                 :   /* member initializers and constructor code */
     104                 : }
     105                 : 
     106                 : nsTraceRefcnt::~nsTraceRefcnt()
     107                 : {
     108                 :   /* destructor code */
     109                 : }
     110                 : 
     111                 : /* void logAddRef (in voidPtr aPtr, in nsrefcnt aNewRefcnt, in string aTypeName, in unsigned long aInstanceSize); */
     112                 : NS_IMETHODIMP nsTraceRefcnt::LogAddRef(void *aPtr, nsrefcnt aNewRefcnt, const char * aTypeName, PRUint32 aInstanceSize)
     113                 : {
     114                 :     return NS_ERROR_NOT_IMPLEMENTED;
     115                 : }
     116                 : 
     117                 : /* void logRelease (in voidPtr aPtr, in nsrefcnt aNewRefcnt, in string aTypeName); */
     118                 : NS_IMETHODIMP nsTraceRefcnt::LogRelease(void *aPtr, nsrefcnt aNewRefcnt, const char * aTypeName)
     119                 : {
     120                 :     return NS_ERROR_NOT_IMPLEMENTED;
     121                 : }
     122                 : 
     123                 : /* void logCtor (in voidPtr aPtr, in string aTypeName, in unsigned long aInstanceSize); */
     124                 : NS_IMETHODIMP nsTraceRefcnt::LogCtor(void *aPtr, const char * aTypeName, PRUint32 aInstanceSize)
     125                 : {
     126                 :     return NS_ERROR_NOT_IMPLEMENTED;
     127                 : }
     128                 : 
     129                 : /* void logDtor (in voidPtr aPtr, in string aTypeName, in unsigned long aInstanceSize); */
     130                 : NS_IMETHODIMP nsTraceRefcnt::LogDtor(void *aPtr, const char * aTypeName, PRUint32 aInstanceSize)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* void logAddCOMPtr (in voidPtr aPtr, in nsISupports aObject); */
     136                 : NS_IMETHODIMP nsTraceRefcnt::LogAddCOMPtr(void *aPtr, nsISupports *aObject)
     137                 : {
     138                 :     return NS_ERROR_NOT_IMPLEMENTED;
     139                 : }
     140                 : 
     141                 : /* void logReleaseCOMPtr (in voidPtr aPtr, in nsISupports aObject); */
     142                 : NS_IMETHODIMP nsTraceRefcnt::LogReleaseCOMPtr(void *aPtr, nsISupports *aObject)
     143                 : {
     144                 :     return NS_ERROR_NOT_IMPLEMENTED;
     145                 : }
     146                 : 
     147                 : /* End of implementation class template. */
     148                 : #endif
     149                 : 
     150                 : 
     151                 : #endif /* __gen_nsITraceRefcnt_h__ */

Generated by: LCOV version 1.7