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

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-aurora-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGLocatable.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMSVGLocatable_h__
           6                 : #define __gen_nsIDOMSVGLocatable_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_domstubs_h__
          10                 : #include "domstubs.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 nsIDOMSVGRect; /* forward declaration */
          18                 :
          19                 : class nsIDOMSVGMatrix; /* forward declaration */
          20                 :
          21                 : class nsIDOMSVGElement; /* forward declaration */
          22                 :
          23                 :
          24                 : /* starting interface:    nsIDOMSVGLocatable */
          25                 : #define NS_IDOMSVGLOCATABLE_IID_STR "9cf4fc9c-90b2-4d66-88f5-35049b558aee"
          26                 :
          27                 : #define NS_IDOMSVGLOCATABLE_IID \
          28                 :   {0x9cf4fc9c, 0x90b2, 0x4d66, \
          29                 :     { 0x88, 0xf5, 0x35, 0x04, 0x9b, 0x55, 0x8a, 0xee }}
          30                 :
          31               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGLocatable : public nsISupports {
          32                 :  public:
          33                 :
          34                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGLOCATABLE_IID)
          35                 :
          36                 :   /* readonly attribute nsIDOMSVGElement nearestViewportElement; */
          37                 :   NS_SCRIPTABLE NS_IMETHOD GetNearestViewportElement(nsIDOMSVGElement * *aNearestViewportElement) = 0;
          38                 :
          39                 :   /* readonly attribute nsIDOMSVGElement farthestViewportElement; */
          40                 :   NS_SCRIPTABLE NS_IMETHOD GetFarthestViewportElement(nsIDOMSVGElement * *aFarthestViewportElement) = 0;
          41                 :
          42                 :   /* nsIDOMSVGRect getBBox (); */
          43                 :   NS_SCRIPTABLE NS_IMETHOD GetBBox(nsIDOMSVGRect * *_retval NS_OUTPARAM) = 0;
          44                 :
          45                 :   /* nsIDOMSVGMatrix getCTM (); */
          46                 :   NS_SCRIPTABLE NS_IMETHOD GetCTM(nsIDOMSVGMatrix * *_retval NS_OUTPARAM) = 0;
          47                 :
          48                 :   /* nsIDOMSVGMatrix getScreenCTM (); */
          49                 :   NS_SCRIPTABLE NS_IMETHOD GetScreenCTM(nsIDOMSVGMatrix * *_retval NS_OUTPARAM) = 0;
          50                 :
          51                 :   /* nsIDOMSVGMatrix getTransformToElement (in nsIDOMSVGElement element); */
          52                 :   NS_SCRIPTABLE NS_IMETHOD GetTransformToElement(nsIDOMSVGElement *element, nsIDOMSVGMatrix * *_retval NS_OUTPARAM) = 0;
          53                 :
          54                 : };
          55                 :
          56                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGLocatable, NS_IDOMSVGLOCATABLE_IID)
          57                 :
          58                 : /* Use this macro when declaring classes that implement this interface. */
          59                 : #define NS_DECL_NSIDOMSVGLOCATABLE \
          60                 :   NS_SCRIPTABLE NS_IMETHOD GetNearestViewportElement(nsIDOMSVGElement * *aNearestViewportElement); \
          61                 :   NS_SCRIPTABLE NS_IMETHOD GetFarthestViewportElement(nsIDOMSVGElement * *aFarthestViewportElement); \
          62                 :   NS_SCRIPTABLE NS_IMETHOD GetBBox(nsIDOMSVGRect * *_retval NS_OUTPARAM); \
          63                 :   NS_SCRIPTABLE NS_IMETHOD GetCTM(nsIDOMSVGMatrix * *_retval NS_OUTPARAM); \
          64                 :   NS_SCRIPTABLE NS_IMETHOD GetScreenCTM(nsIDOMSVGMatrix * *_retval NS_OUTPARAM); \
          65                 :   NS_SCRIPTABLE NS_IMETHOD GetTransformToElement(nsIDOMSVGElement *element, nsIDOMSVGMatrix * *_retval NS_OUTPARAM);
          66                 :
          67                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          68                 : #define NS_FORWARD_NSIDOMSVGLOCATABLE(_to) \
          69                 :   NS_SCRIPTABLE NS_IMETHOD GetNearestViewportElement(nsIDOMSVGElement * *aNearestViewportElement) { return _to GetNearestViewportElement(aNearestViewportElement); } \
          70                 :   NS_SCRIPTABLE NS_IMETHOD GetFarthestViewportElement(nsIDOMSVGElement * *aFarthestViewportElement) { return _to GetFarthestViewportElement(aFarthestViewportElement); } \
          71                 :   NS_SCRIPTABLE NS_IMETHOD GetBBox(nsIDOMSVGRect * *_retval NS_OUTPARAM) { return _to GetBBox(_retval); } \
          72                 :   NS_SCRIPTABLE NS_IMETHOD GetCTM(nsIDOMSVGMatrix * *_retval NS_OUTPARAM) { return _to GetCTM(_retval); } \
          73                 :   NS_SCRIPTABLE NS_IMETHOD GetScreenCTM(nsIDOMSVGMatrix * *_retval NS_OUTPARAM) { return _to GetScreenCTM(_retval); } \
          74                 :   NS_SCRIPTABLE NS_IMETHOD GetTransformToElement(nsIDOMSVGElement *element, nsIDOMSVGMatrix * *_retval NS_OUTPARAM) { return _to GetTransformToElement(element, _retval); }
          75                 :
          76                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          77                 : #define NS_FORWARD_SAFE_NSIDOMSVGLOCATABLE(_to) \
          78                 :   NS_SCRIPTABLE NS_IMETHOD GetNearestViewportElement(nsIDOMSVGElement * *aNearestViewportElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNearestViewportElement(aNearestViewportElement); } \
          79                 :   NS_SCRIPTABLE NS_IMETHOD GetFarthestViewportElement(nsIDOMSVGElement * *aFarthestViewportElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFarthestViewportElement(aFarthestViewportElement); } \
          80                 :   NS_SCRIPTABLE NS_IMETHOD GetBBox(nsIDOMSVGRect * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBBox(_retval); } \
          81                 :   NS_SCRIPTABLE NS_IMETHOD GetCTM(nsIDOMSVGMatrix * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCTM(_retval); } \
          82                 :   NS_SCRIPTABLE NS_IMETHOD GetScreenCTM(nsIDOMSVGMatrix * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScreenCTM(_retval); } \
          83                 :   NS_SCRIPTABLE NS_IMETHOD GetTransformToElement(nsIDOMSVGElement *element, nsIDOMSVGMatrix * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTransformToElement(element, _retval); }
          84                 :
          85                 : #if 0
          86                 : /* Use the code below as a template for the implementation class for this interface. */
          87                 :
          88                 : /* Header file */
          89                 : class nsDOMSVGLocatable : public nsIDOMSVGLocatable
          90                 : {
          91                 : public:
          92                 :   NS_DECL_ISUPPORTS
          93                 :   NS_DECL_NSIDOMSVGLOCATABLE
          94                 :
          95                 :   nsDOMSVGLocatable();
          96                 :
          97                 : private:
          98                 :   ~nsDOMSVGLocatable();
          99                 :
         100                 : protected:
         101                 :   /* additional members */
         102                 : };
         103                 :
         104                 : /* Implementation file */
         105                 : NS_IMPL_ISUPPORTS1(nsDOMSVGLocatable, nsIDOMSVGLocatable)
         106                 :
         107                 : nsDOMSVGLocatable::nsDOMSVGLocatable()
         108                 : {
         109                 :   /* member initializers and constructor code */
         110                 : }
         111                 :
         112                 : nsDOMSVGLocatable::~nsDOMSVGLocatable()
         113                 : {
         114                 :   /* destructor code */
         115                 : }
         116                 :
         117                 : /* readonly attribute nsIDOMSVGElement nearestViewportElement; */
         118                 : NS_IMETHODIMP nsDOMSVGLocatable::GetNearestViewportElement(nsIDOMSVGElement * *aNearestViewportElement)
         119                 : {
         120                 :     return NS_ERROR_NOT_IMPLEMENTED;
         121                 : }
         122                 :
         123                 : /* readonly attribute nsIDOMSVGElement farthestViewportElement; */
         124                 : NS_IMETHODIMP nsDOMSVGLocatable::GetFarthestViewportElement(nsIDOMSVGElement * *aFarthestViewportElement)
         125                 : {
         126                 :     return NS_ERROR_NOT_IMPLEMENTED;
         127                 : }
         128                 :
         129                 : /* nsIDOMSVGRect getBBox (); */
         130                 : NS_IMETHODIMP nsDOMSVGLocatable::GetBBox(nsIDOMSVGRect * *_retval NS_OUTPARAM)
         131                 : {
         132                 :     return NS_ERROR_NOT_IMPLEMENTED;
         133                 : }
         134                 :
         135                 : /* nsIDOMSVGMatrix getCTM (); */
         136                 : NS_IMETHODIMP nsDOMSVGLocatable::GetCTM(nsIDOMSVGMatrix * *_retval NS_OUTPARAM)
         137                 : {
         138                 :     return NS_ERROR_NOT_IMPLEMENTED;
         139                 : }
         140                 :
         141                 : /* nsIDOMSVGMatrix getScreenCTM (); */
         142                 : NS_IMETHODIMP nsDOMSVGLocatable::GetScreenCTM(nsIDOMSVGMatrix * *_retval NS_OUTPARAM)
         143                 : {
         144                 :     return NS_ERROR_NOT_IMPLEMENTED;
         145                 : }
         146                 :
         147                 : /* nsIDOMSVGMatrix getTransformToElement (in nsIDOMSVGElement element); */
         148                 : NS_IMETHODIMP nsDOMSVGLocatable::GetTransformToElement(nsIDOMSVGElement *element, nsIDOMSVGMatrix * *_retval NS_OUTPARAM)
         149                 : {
         150                 :     return NS_ERROR_NOT_IMPLEMENTED;
         151                 : }
         152                 :
         153                 : /* End of implementation class template. */
         154                 : #endif
         155                 :
         156                 :
         157                 : #endif /* __gen_nsIDOMSVGLocatable_h__ */

Generated by: LCOV version 1.7