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

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIURIClassifier.h (source / functions) |  | Found | Hit | Coverage |
| Test: | app.info | Lines: | 2 | 1 | 50.0 %
| Date: | 2012-04-21 | Functions: | 2 | 1 | 50.0 %

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-aurora-lnx-codecoverage/build/netwerk/base/public/nsIURIClassifier.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIURIClassifier_h__
           6                 : #define __gen_nsIURIClassifier_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                 : class nsIURI; /* forward declaration */
          18                 :
          19                 : class nsIChannel; /* forward declaration */
          20                 :
          21                 :
          22                 : /* starting interface:    nsIURIClassifierCallback */
          23                 : #define NS_IURICLASSIFIERCALLBACK_IID_STR "8face46e-0c96-470f-af40-0037dcd797bd"
          24                 :
          25                 : #define NS_IURICLASSIFIERCALLBACK_IID \
          26                 :   {0x8face46e, 0x0c96, 0x470f, \
          27                 :     { 0xaf, 0x40, 0x00, 0x37, 0xdc, 0xd7, 0x97, 0xbd }}
          28                 :
          29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIURIClassifierCallback : public nsISupports {
          30                 :  public:
          31                 :
          32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IURICLASSIFIERCALLBACK_IID)
          33                 :
          34                 :   /* void onClassifyComplete (in nsresult aErrorCode); */
          35                 :   NS_SCRIPTABLE NS_IMETHOD OnClassifyComplete(nsresult aErrorCode) = 0;
          36                 :
          37                 : };
          38                 :
          39                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIURIClassifierCallback, NS_IURICLASSIFIERCALLBACK_IID)
          40                 :
          41                 : /* Use this macro when declaring classes that implement this interface. */
          42                 : #define NS_DECL_NSIURICLASSIFIERCALLBACK \
          43                 :   NS_SCRIPTABLE NS_IMETHOD OnClassifyComplete(nsresult aErrorCode);
          44                 :
          45                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          46                 : #define NS_FORWARD_NSIURICLASSIFIERCALLBACK(_to) \
          47                 :   NS_SCRIPTABLE NS_IMETHOD OnClassifyComplete(nsresult aErrorCode) { return _to OnClassifyComplete(aErrorCode); }
          48                 :
          49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          50                 : #define NS_FORWARD_SAFE_NSIURICLASSIFIERCALLBACK(_to) \
          51                 :   NS_SCRIPTABLE NS_IMETHOD OnClassifyComplete(nsresult aErrorCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnClassifyComplete(aErrorCode); }
          52                 :
          53                 : #if 0
          54                 : /* Use the code below as a template for the implementation class for this interface. */
          55                 :
          56                 : /* Header file */
          57                 : class nsURIClassifierCallback : public nsIURIClassifierCallback
          58                 : {
          59                 : public:
          60                 :   NS_DECL_ISUPPORTS
          61                 :   NS_DECL_NSIURICLASSIFIERCALLBACK
          62                 :
          63                 :   nsURIClassifierCallback();
          64                 :
          65                 : private:
          66                 :   ~nsURIClassifierCallback();
          67                 :
          68                 : protected:
          69                 :   /* additional members */
          70                 : };
          71                 :
          72                 : /* Implementation file */
          73                 : NS_IMPL_ISUPPORTS1(nsURIClassifierCallback, nsIURIClassifierCallback)
          74                 :
          75                 : nsURIClassifierCallback::nsURIClassifierCallback()
          76                 : {
          77                 :   /* member initializers and constructor code */
          78                 : }
          79                 :
          80                 : nsURIClassifierCallback::~nsURIClassifierCallback()
          81                 : {
          82                 :   /* destructor code */
          83                 : }
          84                 :
          85                 : /* void onClassifyComplete (in nsresult aErrorCode); */
          86                 : NS_IMETHODIMP nsURIClassifierCallback::OnClassifyComplete(nsresult aErrorCode)
          87                 : {
          88                 :     return NS_ERROR_NOT_IMPLEMENTED;
          89                 : }
          90                 :
          91                 : /* End of implementation class template. */
          92                 : #endif
          93                 :
          94                 :
          95                 : /* starting interface:    nsIURIClassifier */
          96                 : #define NS_IURICLASSIFIER_IID_STR "2de5c563-1203-43dd-a212-f5d56d530b6f"
          97                 :
          98                 : #define NS_IURICLASSIFIER_IID \
          99                 :   {0x2de5c563, 0x1203, 0x43dd, \
         100                 :     { 0xa2, 0x12, 0xf5, 0xd5, 0x6d, 0x53, 0x0b, 0x6f }}
         101                 :
         102               7 : class NS_NO_VTABLE NS_SCRIPTABLE nsIURIClassifier : public nsISupports {
         103                 :  public:
         104                 :
         105                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IURICLASSIFIER_IID)
         106                 :
         107                 :   /* boolean classify (in nsIURI aURI, in nsIURIClassifierCallback aCallback); */
         108                 :   NS_SCRIPTABLE NS_IMETHOD Classify(nsIURI *aURI, nsIURIClassifierCallback *aCallback, bool *_retval NS_OUTPARAM) = 0;
         109                 :
         110                 : };
         111                 :
         112                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIURIClassifier, NS_IURICLASSIFIER_IID)
         113                 :
         114                 : /* Use this macro when declaring classes that implement this interface. */
         115                 : #define NS_DECL_NSIURICLASSIFIER \
         116                 :   NS_SCRIPTABLE NS_IMETHOD Classify(nsIURI *aURI, nsIURIClassifierCallback *aCallback, bool *_retval NS_OUTPARAM);
         117                 :
         118                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
         119                 : #define NS_FORWARD_NSIURICLASSIFIER(_to) \
         120                 :   NS_SCRIPTABLE NS_IMETHOD Classify(nsIURI *aURI, nsIURIClassifierCallback *aCallback, bool *_retval NS_OUTPARAM) { return _to Classify(aURI, aCallback, _retval); }
         121                 :
         122                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
         123                 : #define NS_FORWARD_SAFE_NSIURICLASSIFIER(_to) \
         124                 :   NS_SCRIPTABLE NS_IMETHOD Classify(nsIURI *aURI, nsIURIClassifierCallback *aCallback, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Classify(aURI, aCallback, _retval); }
         125                 :
         126                 : #if 0
         127                 : /* Use the code below as a template for the implementation class for this interface. */
         128                 :
         129                 : /* Header file */
         130                 : class nsURIClassifier : public nsIURIClassifier
         131                 : {
         132                 : public:
         133                 :   NS_DECL_ISUPPORTS
         134                 :   NS_DECL_NSIURICLASSIFIER
         135                 :
         136                 :   nsURIClassifier();
         137                 :
         138                 : private:
         139                 :   ~nsURIClassifier();
         140                 :
         141                 : protected:
         142                 :   /* additional members */
         143                 : };
         144                 :
         145                 : /* Implementation file */
         146                 : NS_IMPL_ISUPPORTS1(nsURIClassifier, nsIURIClassifier)
         147                 :
         148                 : nsURIClassifier::nsURIClassifier()
         149                 : {
         150                 :   /* member initializers and constructor code */
         151                 : }
         152                 :
         153                 : nsURIClassifier::~nsURIClassifier()
         154                 : {
         155                 :   /* destructor code */
         156                 : }
         157                 :
         158                 : /* boolean classify (in nsIURI aURI, in nsIURIClassifierCallback aCallback); */
         159                 : NS_IMETHODIMP nsURIClassifier::Classify(nsIURI *aURI, nsIURIClassifierCallback *aCallback, bool *_retval NS_OUTPARAM)
         160                 : {
         161                 :     return NS_ERROR_NOT_IMPLEMENTED;
         162                 : }
         163                 :
         164                 : /* End of implementation class template. */
         165                 : #endif
         166                 :
         167                 :
         168                 : #endif /* __gen_nsIURIClassifier_h__ */

Generated by: LCOV version 1.7