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

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGPresAspectRatio.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMSVGPresAspectRatio_h__
           6                 : #define __gen_nsIDOMSVGPresAspectRatio_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                 :
          18                 : /* starting interface:    nsIDOMSVGPreserveAspectRatio */
          19                 : #define NS_IDOMSVGPRESERVEASPECTRATIO_IID_STR "7ae42f27-4799-4e7c-86c6-e1dae6ad5157"
          20                 :
          21                 : #define NS_IDOMSVGPRESERVEASPECTRATIO_IID \
          22                 :   {0x7ae42f27, 0x4799, 0x4e7c, \
          23                 :     { 0x86, 0xc6, 0xe1, 0xda, 0xe6, 0xad, 0x51, 0x57 }}
          24                 :
          25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGPreserveAspectRatio : public nsISupports {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGPRESERVEASPECTRATIO_IID)
          29                 :
          30                 :   enum {
          31                 :     SVG_PRESERVEASPECTRATIO_UNKNOWN = 0U,
          32                 :     SVG_PRESERVEASPECTRATIO_NONE = 1U,
          33                 :     SVG_PRESERVEASPECTRATIO_XMINYMIN = 2U,
          34                 :     SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3U,
          35                 :     SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4U,
          36                 :     SVG_PRESERVEASPECTRATIO_XMINYMID = 5U,
          37                 :     SVG_PRESERVEASPECTRATIO_XMIDYMID = 6U,
          38                 :     SVG_PRESERVEASPECTRATIO_XMAXYMID = 7U,
          39                 :     SVG_PRESERVEASPECTRATIO_XMINYMAX = 8U,
          40                 :     SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9U,
          41                 :     SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10U,
          42                 :     SVG_MEETORSLICE_UNKNOWN = 0U,
          43                 :     SVG_MEETORSLICE_MEET = 1U,
          44                 :     SVG_MEETORSLICE_SLICE = 2U
          45                 :   };
          46                 :
          47                 :   /* attribute unsigned short align; */
          48                 :   NS_SCRIPTABLE NS_IMETHOD GetAlign(PRUint16 *aAlign) = 0;
          49                 :   NS_SCRIPTABLE NS_IMETHOD SetAlign(PRUint16 aAlign) = 0;
          50                 :
          51                 :   /* attribute unsigned short meetOrSlice; */
          52                 :   NS_SCRIPTABLE NS_IMETHOD GetMeetOrSlice(PRUint16 *aMeetOrSlice) = 0;
          53                 :   NS_SCRIPTABLE NS_IMETHOD SetMeetOrSlice(PRUint16 aMeetOrSlice) = 0;
          54                 :
          55                 : };
          56                 :
          57                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGPreserveAspectRatio, NS_IDOMSVGPRESERVEASPECTRATIO_IID)
          58                 :
          59                 : /* Use this macro when declaring classes that implement this interface. */
          60                 : #define NS_DECL_NSIDOMSVGPRESERVEASPECTRATIO \
          61                 :   NS_SCRIPTABLE NS_IMETHOD GetAlign(PRUint16 *aAlign); \
          62                 :   NS_SCRIPTABLE NS_IMETHOD SetAlign(PRUint16 aAlign); \
          63                 :   NS_SCRIPTABLE NS_IMETHOD GetMeetOrSlice(PRUint16 *aMeetOrSlice); \
          64                 :   NS_SCRIPTABLE NS_IMETHOD SetMeetOrSlice(PRUint16 aMeetOrSlice);
          65                 :
          66                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          67                 : #define NS_FORWARD_NSIDOMSVGPRESERVEASPECTRATIO(_to) \
          68                 :   NS_SCRIPTABLE NS_IMETHOD GetAlign(PRUint16 *aAlign) { return _to GetAlign(aAlign); } \
          69                 :   NS_SCRIPTABLE NS_IMETHOD SetAlign(PRUint16 aAlign) { return _to SetAlign(aAlign); } \
          70                 :   NS_SCRIPTABLE NS_IMETHOD GetMeetOrSlice(PRUint16 *aMeetOrSlice) { return _to GetMeetOrSlice(aMeetOrSlice); } \
          71                 :   NS_SCRIPTABLE NS_IMETHOD SetMeetOrSlice(PRUint16 aMeetOrSlice) { return _to SetMeetOrSlice(aMeetOrSlice); }
          72                 :
          73                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          74                 : #define NS_FORWARD_SAFE_NSIDOMSVGPRESERVEASPECTRATIO(_to) \
          75                 :   NS_SCRIPTABLE NS_IMETHOD GetAlign(PRUint16 *aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
          76                 :   NS_SCRIPTABLE NS_IMETHOD SetAlign(PRUint16 aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
          77                 :   NS_SCRIPTABLE NS_IMETHOD GetMeetOrSlice(PRUint16 *aMeetOrSlice) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMeetOrSlice(aMeetOrSlice); } \
          78                 :   NS_SCRIPTABLE NS_IMETHOD SetMeetOrSlice(PRUint16 aMeetOrSlice) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMeetOrSlice(aMeetOrSlice); }
          79                 :
          80                 : #if 0
          81                 : /* Use the code below as a template for the implementation class for this interface. */
          82                 :
          83                 : /* Header file */
          84                 : class nsDOMSVGPreserveAspectRatio : public nsIDOMSVGPreserveAspectRatio
          85                 : {
          86                 : public:
          87                 :   NS_DECL_ISUPPORTS
          88                 :   NS_DECL_NSIDOMSVGPRESERVEASPECTRATIO
          89                 :
          90                 :   nsDOMSVGPreserveAspectRatio();
          91                 :
          92                 : private:
          93                 :   ~nsDOMSVGPreserveAspectRatio();
          94                 :
          95                 : protected:
          96                 :   /* additional members */
          97                 : };
          98                 :
          99                 : /* Implementation file */
         100                 : NS_IMPL_ISUPPORTS1(nsDOMSVGPreserveAspectRatio, nsIDOMSVGPreserveAspectRatio)
         101                 :
         102                 : nsDOMSVGPreserveAspectRatio::nsDOMSVGPreserveAspectRatio()
         103                 : {
         104                 :   /* member initializers and constructor code */
         105                 : }
         106                 :
         107                 : nsDOMSVGPreserveAspectRatio::~nsDOMSVGPreserveAspectRatio()
         108                 : {
         109                 :   /* destructor code */
         110                 : }
         111                 :
         112                 : /* attribute unsigned short align; */
         113                 : NS_IMETHODIMP nsDOMSVGPreserveAspectRatio::GetAlign(PRUint16 *aAlign)
         114                 : {
         115                 :     return NS_ERROR_NOT_IMPLEMENTED;
         116                 : }
         117                 : NS_IMETHODIMP nsDOMSVGPreserveAspectRatio::SetAlign(PRUint16 aAlign)
         118                 : {
         119                 :     return NS_ERROR_NOT_IMPLEMENTED;
         120                 : }
         121                 :
         122                 : /* attribute unsigned short meetOrSlice; */
         123                 : NS_IMETHODIMP nsDOMSVGPreserveAspectRatio::GetMeetOrSlice(PRUint16 *aMeetOrSlice)
         124                 : {
         125                 :     return NS_ERROR_NOT_IMPLEMENTED;
         126                 : }
         127                 : NS_IMETHODIMP nsDOMSVGPreserveAspectRatio::SetMeetOrSlice(PRUint16 aMeetOrSlice)
         128                 : {
         129                 :     return NS_ERROR_NOT_IMPLEMENTED;
         130                 : }
         131                 :
         132                 : /* End of implementation class template. */
         133                 : #endif
         134                 :
         135                 :
         136                 : #endif /* __gen_nsIDOMSVGPresAspectRatio_h__ */

Generated by: LCOV version 1.7