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

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/netwerk/base/public/nsILoadGroup.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsILoadGroup_h__
           6                 : #define __gen_nsILoadGroup_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_nsIRequest_h__
          10                 : #include "nsIRequest.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 nsISimpleEnumerator; /* forward declaration */
          18                 :
          19                 : class nsIRequestObserver; /* forward declaration */
          20                 :
          21                 : class nsIInterfaceRequestor; /* forward declaration */
          22                 :
          23                 :
          24                 : /* starting interface:    nsILoadGroup */
          25                 : #define NS_ILOADGROUP_IID_STR "3de0a31c-feaf-400f-9f1e-4ef71f8b20cc"
          26                 :
          27                 : #define NS_ILOADGROUP_IID \
          28                 :   {0x3de0a31c, 0xfeaf, 0x400f, \
          29                 :     { 0x9f, 0x1e, 0x4e, 0xf7, 0x1f, 0x8b, 0x20, 0xcc }}
          30                 :
          31            1408 : class NS_NO_VTABLE NS_SCRIPTABLE nsILoadGroup : public nsIRequest {
          32                 :  public:
          33                 :
          34                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILOADGROUP_IID)
          35                 :
          36                 :   /* attribute nsIRequestObserver groupObserver; */
          37                 :   NS_SCRIPTABLE NS_IMETHOD GetGroupObserver(nsIRequestObserver * *aGroupObserver) = 0;
          38                 :   NS_SCRIPTABLE NS_IMETHOD SetGroupObserver(nsIRequestObserver *aGroupObserver) = 0;
          39                 :
          40                 :   /* attribute nsIRequest defaultLoadRequest; */
          41                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultLoadRequest(nsIRequest * *aDefaultLoadRequest) = 0;
          42                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest) = 0;
          43                 :
          44                 :   /* void addRequest (in nsIRequest aRequest, in nsISupports aContext); */
          45                 :   NS_SCRIPTABLE NS_IMETHOD AddRequest(nsIRequest *aRequest, nsISupports *aContext) = 0;
          46                 :
          47                 :   /* void removeRequest (in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatus); */
          48                 :   NS_SCRIPTABLE NS_IMETHOD RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus) = 0;
          49                 :
          50                 :   /* readonly attribute nsISimpleEnumerator requests; */
          51                 :   NS_SCRIPTABLE NS_IMETHOD GetRequests(nsISimpleEnumerator * *aRequests) = 0;
          52                 :
          53                 :   /* readonly attribute unsigned long activeCount; */
          54                 :   NS_SCRIPTABLE NS_IMETHOD GetActiveCount(PRUint32 *aActiveCount) = 0;
          55                 :
          56                 :   /* attribute nsIInterfaceRequestor notificationCallbacks; */
          57                 :   NS_SCRIPTABLE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) = 0;
          58                 :   NS_SCRIPTABLE NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) = 0;
          59                 :
          60                 : };
          61                 :
          62                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsILoadGroup, NS_ILOADGROUP_IID)
          63                 :
          64                 : /* Use this macro when declaring classes that implement this interface. */
          65                 : #define NS_DECL_NSILOADGROUP \
          66                 :   NS_SCRIPTABLE NS_IMETHOD GetGroupObserver(nsIRequestObserver * *aGroupObserver); \
          67                 :   NS_SCRIPTABLE NS_IMETHOD SetGroupObserver(nsIRequestObserver *aGroupObserver); \
          68                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultLoadRequest(nsIRequest * *aDefaultLoadRequest); \
          69                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest); \
          70                 :   NS_SCRIPTABLE NS_IMETHOD AddRequest(nsIRequest *aRequest, nsISupports *aContext); \
          71                 :   NS_SCRIPTABLE NS_IMETHOD RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus); \
          72                 :   NS_SCRIPTABLE NS_IMETHOD GetRequests(nsISimpleEnumerator * *aRequests); \
          73                 :   NS_SCRIPTABLE NS_IMETHOD GetActiveCount(PRUint32 *aActiveCount); \
          74                 :   NS_SCRIPTABLE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks); \
          75                 :   NS_SCRIPTABLE NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks);
          76                 :
          77                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          78                 : #define NS_FORWARD_NSILOADGROUP(_to) \
          79                 :   NS_SCRIPTABLE NS_IMETHOD GetGroupObserver(nsIRequestObserver * *aGroupObserver) { return _to GetGroupObserver(aGroupObserver); } \
          80                 :   NS_SCRIPTABLE NS_IMETHOD SetGroupObserver(nsIRequestObserver *aGroupObserver) { return _to SetGroupObserver(aGroupObserver); } \
          81                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultLoadRequest(nsIRequest * *aDefaultLoadRequest) { return _to GetDefaultLoadRequest(aDefaultLoadRequest); } \
          82                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest) { return _to SetDefaultLoadRequest(aDefaultLoadRequest); } \
          83                 :   NS_SCRIPTABLE NS_IMETHOD AddRequest(nsIRequest *aRequest, nsISupports *aContext) { return _to AddRequest(aRequest, aContext); } \
          84                 :   NS_SCRIPTABLE NS_IMETHOD RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus) { return _to RemoveRequest(aRequest, aContext, aStatus); } \
          85                 :   NS_SCRIPTABLE NS_IMETHOD GetRequests(nsISimpleEnumerator * *aRequests) { return _to GetRequests(aRequests); } \
          86                 :   NS_SCRIPTABLE NS_IMETHOD GetActiveCount(PRUint32 *aActiveCount) { return _to GetActiveCount(aActiveCount); } \
          87                 :   NS_SCRIPTABLE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) { return _to GetNotificationCallbacks(aNotificationCallbacks); } \
          88                 :   NS_SCRIPTABLE NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) { return _to SetNotificationCallbacks(aNotificationCallbacks); }
          89                 :
          90                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          91                 : #define NS_FORWARD_SAFE_NSILOADGROUP(_to) \
          92                 :   NS_SCRIPTABLE NS_IMETHOD GetGroupObserver(nsIRequestObserver * *aGroupObserver) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGroupObserver(aGroupObserver); } \
          93                 :   NS_SCRIPTABLE NS_IMETHOD SetGroupObserver(nsIRequestObserver *aGroupObserver) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGroupObserver(aGroupObserver); } \
          94                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultLoadRequest(nsIRequest * *aDefaultLoadRequest) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultLoadRequest(aDefaultLoadRequest); } \
          95                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultLoadRequest(aDefaultLoadRequest); } \
          96                 :   NS_SCRIPTABLE NS_IMETHOD AddRequest(nsIRequest *aRequest, nsISupports *aContext) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddRequest(aRequest, aContext); } \
          97                 :   NS_SCRIPTABLE NS_IMETHOD RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveRequest(aRequest, aContext, aStatus); } \
          98                 :   NS_SCRIPTABLE NS_IMETHOD GetRequests(nsISimpleEnumerator * *aRequests) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequests(aRequests); } \
          99                 :   NS_SCRIPTABLE NS_IMETHOD GetActiveCount(PRUint32 *aActiveCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActiveCount(aActiveCount); } \
         100                 :   NS_SCRIPTABLE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotificationCallbacks(aNotificationCallbacks); } \
         101                 :   NS_SCRIPTABLE NS_IMETHOD SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNotificationCallbacks(aNotificationCallbacks); }
         102                 :
         103                 : #if 0
         104                 : /* Use the code below as a template for the implementation class for this interface. */
         105                 :
         106                 : /* Header file */
         107                 : class nsLoadGroup : public nsILoadGroup
         108                 : {
         109                 : public:
         110                 :   NS_DECL_ISUPPORTS
         111                 :   NS_DECL_NSILOADGROUP
         112                 :
         113                 :   nsLoadGroup();
         114                 :
         115                 : private:
         116                 :   ~nsLoadGroup();
         117                 :
         118                 : protected:
         119                 :   /* additional members */
         120                 : };
         121                 :
         122                 : /* Implementation file */
         123                 : NS_IMPL_ISUPPORTS1(nsLoadGroup, nsILoadGroup)
         124                 :
         125                 : nsLoadGroup::nsLoadGroup()
         126                 : {
         127                 :   /* member initializers and constructor code */
         128                 : }
         129                 :
         130                 : nsLoadGroup::~nsLoadGroup()
         131                 : {
         132                 :   /* destructor code */
         133                 : }
         134                 :
         135                 : /* attribute nsIRequestObserver groupObserver; */
         136                 : NS_IMETHODIMP nsLoadGroup::GetGroupObserver(nsIRequestObserver * *aGroupObserver)
         137                 : {
         138                 :     return NS_ERROR_NOT_IMPLEMENTED;
         139                 : }
         140                 : NS_IMETHODIMP nsLoadGroup::SetGroupObserver(nsIRequestObserver *aGroupObserver)
         141                 : {
         142                 :     return NS_ERROR_NOT_IMPLEMENTED;
         143                 : }
         144                 :
         145                 : /* attribute nsIRequest defaultLoadRequest; */
         146                 : NS_IMETHODIMP nsLoadGroup::GetDefaultLoadRequest(nsIRequest * *aDefaultLoadRequest)
         147                 : {
         148                 :     return NS_ERROR_NOT_IMPLEMENTED;
         149                 : }
         150                 : NS_IMETHODIMP nsLoadGroup::SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest)
         151                 : {
         152                 :     return NS_ERROR_NOT_IMPLEMENTED;
         153                 : }
         154                 :
         155                 : /* void addRequest (in nsIRequest aRequest, in nsISupports aContext); */
         156                 : NS_IMETHODIMP nsLoadGroup::AddRequest(nsIRequest *aRequest, nsISupports *aContext)
         157                 : {
         158                 :     return NS_ERROR_NOT_IMPLEMENTED;
         159                 : }
         160                 :
         161                 : /* void removeRequest (in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatus); */
         162                 : NS_IMETHODIMP nsLoadGroup::RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus)
         163                 : {
         164                 :     return NS_ERROR_NOT_IMPLEMENTED;
         165                 : }
         166                 :
         167                 : /* readonly attribute nsISimpleEnumerator requests; */
         168                 : NS_IMETHODIMP nsLoadGroup::GetRequests(nsISimpleEnumerator * *aRequests)
         169                 : {
         170                 :     return NS_ERROR_NOT_IMPLEMENTED;
         171                 : }
         172                 :
         173                 : /* readonly attribute unsigned long activeCount; */
         174                 : NS_IMETHODIMP nsLoadGroup::GetActiveCount(PRUint32 *aActiveCount)
         175                 : {
         176                 :     return NS_ERROR_NOT_IMPLEMENTED;
         177                 : }
         178                 :
         179                 : /* attribute nsIInterfaceRequestor notificationCallbacks; */
         180                 : NS_IMETHODIMP nsLoadGroup::GetNotificationCallbacks(nsIInterfaceRequestor * *aNotificationCallbacks)
         181                 : {
         182                 :     return NS_ERROR_NOT_IMPLEMENTED;
         183                 : }
         184                 : NS_IMETHODIMP nsLoadGroup::SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks)
         185                 : {
         186                 :     return NS_ERROR_NOT_IMPLEMENTED;
         187                 : }
         188                 :
         189                 : /* End of implementation class template. */
         190                 : #endif
         191                 :
         192                 :
         193                 : #endif /* __gen_nsILoadGroup_h__ */

Generated by: LCOV version 1.7