LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIAtomService.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/xpcom/ds/nsIAtomService.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIAtomService_h__
       6                 : #define __gen_nsIAtomService_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIAtom_h__
      10                 : #include "nsIAtom.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                 : #define NS_ATOMSERVICE_CID \
      18                 : { /* ed3db3fc-0168-4cab-8818-98f5475a490c */ \
      19                 :     0xed3db3fc,                              \
      20                 :     0x0168,                                  \
      21                 :     0x4cab,                                  \
      22                 :     {0x88, 0x18, 0x98, 0xf5, 0x47, 0x5a, 0x49, 0x0c} }
      23                 : #define NS_ATOMSERVICE_CONTRACTID "@mozilla.org/atom-service;1"
      24                 : #define NS_ATOMSERVICE_CLASSNAME "Atom Service"
      25                 : 
      26                 : /* starting interface:    nsIAtomService */
      27                 : #define NS_IATOMSERVICE_IID_STR "9c1f50b9-f9eb-42d4-a8cb-2c7600aeb241"
      28                 : 
      29                 : #define NS_IATOMSERVICE_IID \
      30                 :   {0x9c1f50b9, 0xf9eb, 0x42d4, \
      31                 :     { 0xa8, 0xcb, 0x2c, 0x76, 0x00, 0xae, 0xb2, 0x41 }}
      32                 : 
      33               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIAtomService : public nsISupports {
      34                 :  public: 
      35                 : 
      36                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IATOMSERVICE_IID)
      37                 : 
      38                 :   /* nsIAtom getAtom (in AString value); */
      39                 :   NS_SCRIPTABLE NS_IMETHOD GetAtom(const nsAString & value, nsIAtom * *_retval NS_OUTPARAM) = 0;
      40                 : 
      41                 :   /* nsIAtom getPermanentAtom (in AString value); */
      42                 :   NS_SCRIPTABLE NS_IMETHOD GetPermanentAtom(const nsAString & value, nsIAtom * *_retval NS_OUTPARAM) = 0;
      43                 : 
      44                 :   /* [noscript] nsIAtom getAtomUTF8 (in string value); */
      45                 :   NS_IMETHOD GetAtomUTF8(const char * value, nsIAtom * *_retval NS_OUTPARAM) = 0;
      46                 : 
      47                 :   /* [noscript] nsIAtom getPermanentAtomUTF8 (in string value); */
      48                 :   NS_IMETHOD GetPermanentAtomUTF8(const char * value, nsIAtom * *_retval NS_OUTPARAM) = 0;
      49                 : 
      50                 : };
      51                 : 
      52                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAtomService, NS_IATOMSERVICE_IID)
      53                 : 
      54                 : /* Use this macro when declaring classes that implement this interface. */
      55                 : #define NS_DECL_NSIATOMSERVICE \
      56                 :   NS_SCRIPTABLE NS_IMETHOD GetAtom(const nsAString & value, nsIAtom * *_retval NS_OUTPARAM); \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetPermanentAtom(const nsAString & value, nsIAtom * *_retval NS_OUTPARAM); \
      58                 :   NS_IMETHOD GetAtomUTF8(const char * value, nsIAtom * *_retval NS_OUTPARAM); \
      59                 :   NS_IMETHOD GetPermanentAtomUTF8(const char * value, nsIAtom * *_retval NS_OUTPARAM); 
      60                 : 
      61                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62                 : #define NS_FORWARD_NSIATOMSERVICE(_to) \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetAtom(const nsAString & value, nsIAtom * *_retval NS_OUTPARAM) { return _to GetAtom(value, _retval); } \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetPermanentAtom(const nsAString & value, nsIAtom * *_retval NS_OUTPARAM) { return _to GetPermanentAtom(value, _retval); } \
      65                 :   NS_IMETHOD GetAtomUTF8(const char * value, nsIAtom * *_retval NS_OUTPARAM) { return _to GetAtomUTF8(value, _retval); } \
      66                 :   NS_IMETHOD GetPermanentAtomUTF8(const char * value, nsIAtom * *_retval NS_OUTPARAM) { return _to GetPermanentAtomUTF8(value, _retval); } 
      67                 : 
      68                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      69                 : #define NS_FORWARD_SAFE_NSIATOMSERVICE(_to) \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetAtom(const nsAString & value, nsIAtom * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAtom(value, _retval); } \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetPermanentAtom(const nsAString & value, nsIAtom * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPermanentAtom(value, _retval); } \
      72                 :   NS_IMETHOD GetAtomUTF8(const char * value, nsIAtom * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAtomUTF8(value, _retval); } \
      73                 :   NS_IMETHOD GetPermanentAtomUTF8(const char * value, nsIAtom * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPermanentAtomUTF8(value, _retval); } 
      74                 : 
      75                 : #if 0
      76                 : /* Use the code below as a template for the implementation class for this interface. */
      77                 : 
      78                 : /* Header file */
      79                 : class nsAtomService : public nsIAtomService
      80                 : {
      81                 : public:
      82                 :   NS_DECL_ISUPPORTS
      83                 :   NS_DECL_NSIATOMSERVICE
      84                 : 
      85                 :   nsAtomService();
      86                 : 
      87                 : private:
      88                 :   ~nsAtomService();
      89                 : 
      90                 : protected:
      91                 :   /* additional members */
      92                 : };
      93                 : 
      94                 : /* Implementation file */
      95                 : NS_IMPL_ISUPPORTS1(nsAtomService, nsIAtomService)
      96                 : 
      97                 : nsAtomService::nsAtomService()
      98                 : {
      99                 :   /* member initializers and constructor code */
     100                 : }
     101                 : 
     102                 : nsAtomService::~nsAtomService()
     103                 : {
     104                 :   /* destructor code */
     105                 : }
     106                 : 
     107                 : /* nsIAtom getAtom (in AString value); */
     108                 : NS_IMETHODIMP nsAtomService::GetAtom(const nsAString & value, nsIAtom * *_retval NS_OUTPARAM)
     109                 : {
     110                 :     return NS_ERROR_NOT_IMPLEMENTED;
     111                 : }
     112                 : 
     113                 : /* nsIAtom getPermanentAtom (in AString value); */
     114                 : NS_IMETHODIMP nsAtomService::GetPermanentAtom(const nsAString & value, nsIAtom * *_retval NS_OUTPARAM)
     115                 : {
     116                 :     return NS_ERROR_NOT_IMPLEMENTED;
     117                 : }
     118                 : 
     119                 : /* [noscript] nsIAtom getAtomUTF8 (in string value); */
     120                 : NS_IMETHODIMP nsAtomService::GetAtomUTF8(const char * value, nsIAtom * *_retval NS_OUTPARAM)
     121                 : {
     122                 :     return NS_ERROR_NOT_IMPLEMENTED;
     123                 : }
     124                 : 
     125                 : /* [noscript] nsIAtom getPermanentAtomUTF8 (in string value); */
     126                 : NS_IMETHODIMP nsAtomService::GetPermanentAtomUTF8(const char * value, nsIAtom * *_retval NS_OUTPARAM)
     127                 : {
     128                 :     return NS_ERROR_NOT_IMPLEMENTED;
     129                 : }
     130                 : 
     131                 : /* End of implementation class template. */
     132                 : #endif
     133                 : 
     134                 : 
     135                 : #endif /* __gen_nsIAtomService_h__ */

Generated by: LCOV version 1.7