LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMSimpleGestureEvent.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMSimpleGestureEvent.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMSimpleGestureEvent_h__
       6             : #define __gen_nsIDOMSimpleGestureEvent_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIDOMMouseEvent_h__
      10             : #include "nsIDOMMouseEvent.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:    nsIDOMSimpleGestureEvent */
      19             : #define NS_IDOMSIMPLEGESTUREEVENT_IID_STR "c397f9a2-4266-4291-b282-3efd6d7afc57"
      20             : 
      21             : #define NS_IDOMSIMPLEGESTUREEVENT_IID \
      22             :   {0xc397f9a2, 0x4266, 0x4291, \
      23             :     { 0xb2, 0x82, 0x3e, 0xfd, 0x6d, 0x7a, 0xfc, 0x57 }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIDOMSimpleGestureEvent : public nsIDOMMouseEvent {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSIMPLEGESTUREEVENT_IID)
      29             : 
      30             :   enum {
      31             :     DIRECTION_UP = 1U,
      32             :     DIRECTION_DOWN = 2U,
      33             :     DIRECTION_LEFT = 4U,
      34             :     DIRECTION_RIGHT = 8U,
      35             :     ROTATION_COUNTERCLOCKWISE = 1U,
      36             :     ROTATION_CLOCKWISE = 2U
      37             :   };
      38             : 
      39             :   /* attribute unsigned long allowedDirections; */
      40             :   NS_IMETHOD GetAllowedDirections(uint32_t *aAllowedDirections) = 0;
      41             :   NS_IMETHOD SetAllowedDirections(uint32_t aAllowedDirections) = 0;
      42             : 
      43             :   /* readonly attribute unsigned long direction; */
      44             :   NS_IMETHOD GetDirection(uint32_t *aDirection) = 0;
      45             : 
      46             :   /* readonly attribute double delta; */
      47             :   NS_IMETHOD GetDelta(double *aDelta) = 0;
      48             : 
      49             :   /* readonly attribute unsigned long clickCount; */
      50             :   NS_IMETHOD GetClickCount(uint32_t *aClickCount) = 0;
      51             : 
      52             : };
      53             : 
      54             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSimpleGestureEvent, NS_IDOMSIMPLEGESTUREEVENT_IID)
      55             : 
      56             : /* Use this macro when declaring classes that implement this interface. */
      57             : #define NS_DECL_NSIDOMSIMPLEGESTUREEVENT \
      58             :   NS_IMETHOD GetAllowedDirections(uint32_t *aAllowedDirections) override; \
      59             :   NS_IMETHOD SetAllowedDirections(uint32_t aAllowedDirections) override; \
      60             :   NS_IMETHOD GetDirection(uint32_t *aDirection) override; \
      61             :   NS_IMETHOD GetDelta(double *aDelta) override; \
      62             :   NS_IMETHOD GetClickCount(uint32_t *aClickCount) override; 
      63             : 
      64             : /* Use this macro when declaring the members of this interface when the
      65             :    class doesn't implement the interface. This is useful for forwarding. */
      66             : #define NS_DECL_NON_VIRTUAL_NSIDOMSIMPLEGESTUREEVENT \
      67             :   nsresult GetAllowedDirections(uint32_t *aAllowedDirections); \
      68             :   nsresult SetAllowedDirections(uint32_t aAllowedDirections); \
      69             :   nsresult GetDirection(uint32_t *aDirection); \
      70             :   nsresult GetDelta(double *aDelta); \
      71             :   nsresult GetClickCount(uint32_t *aClickCount); 
      72             : 
      73             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      74             : #define NS_FORWARD_NSIDOMSIMPLEGESTUREEVENT(_to) \
      75             :   NS_IMETHOD GetAllowedDirections(uint32_t *aAllowedDirections) override { return _to GetAllowedDirections(aAllowedDirections); } \
      76             :   NS_IMETHOD SetAllowedDirections(uint32_t aAllowedDirections) override { return _to SetAllowedDirections(aAllowedDirections); } \
      77             :   NS_IMETHOD GetDirection(uint32_t *aDirection) override { return _to GetDirection(aDirection); } \
      78             :   NS_IMETHOD GetDelta(double *aDelta) override { return _to GetDelta(aDelta); } \
      79             :   NS_IMETHOD GetClickCount(uint32_t *aClickCount) override { return _to GetClickCount(aClickCount); } 
      80             : 
      81             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      82             : #define NS_FORWARD_SAFE_NSIDOMSIMPLEGESTUREEVENT(_to) \
      83             :   NS_IMETHOD GetAllowedDirections(uint32_t *aAllowedDirections) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllowedDirections(aAllowedDirections); } \
      84             :   NS_IMETHOD SetAllowedDirections(uint32_t aAllowedDirections) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAllowedDirections(aAllowedDirections); } \
      85             :   NS_IMETHOD GetDirection(uint32_t *aDirection) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDirection(aDirection); } \
      86             :   NS_IMETHOD GetDelta(double *aDelta) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDelta(aDelta); } \
      87             :   NS_IMETHOD GetClickCount(uint32_t *aClickCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClickCount(aClickCount); } 
      88             : 
      89             : #if 0
      90             : /* Use the code below as a template for the implementation class for this interface. */
      91             : 
      92             : /* Header file */
      93             : class nsDOMSimpleGestureEvent : public nsIDOMSimpleGestureEvent
      94             : {
      95             : public:
      96             :   NS_DECL_ISUPPORTS
      97             :   NS_DECL_NSIDOMSIMPLEGESTUREEVENT
      98             : 
      99             :   nsDOMSimpleGestureEvent();
     100             : 
     101             : private:
     102             :   ~nsDOMSimpleGestureEvent();
     103             : 
     104             : protected:
     105             :   /* additional members */
     106             : };
     107             : 
     108             : /* Implementation file */
     109             : NS_IMPL_ISUPPORTS(nsDOMSimpleGestureEvent, nsIDOMSimpleGestureEvent)
     110             : 
     111             : nsDOMSimpleGestureEvent::nsDOMSimpleGestureEvent()
     112             : {
     113             :   /* member initializers and constructor code */
     114             : }
     115             : 
     116             : nsDOMSimpleGestureEvent::~nsDOMSimpleGestureEvent()
     117             : {
     118             :   /* destructor code */
     119             : }
     120             : 
     121             : /* attribute unsigned long allowedDirections; */
     122             : NS_IMETHODIMP nsDOMSimpleGestureEvent::GetAllowedDirections(uint32_t *aAllowedDirections)
     123             : {
     124             :     return NS_ERROR_NOT_IMPLEMENTED;
     125             : }
     126             : NS_IMETHODIMP nsDOMSimpleGestureEvent::SetAllowedDirections(uint32_t aAllowedDirections)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : 
     131             : /* readonly attribute unsigned long direction; */
     132             : NS_IMETHODIMP nsDOMSimpleGestureEvent::GetDirection(uint32_t *aDirection)
     133             : {
     134             :     return NS_ERROR_NOT_IMPLEMENTED;
     135             : }
     136             : 
     137             : /* readonly attribute double delta; */
     138             : NS_IMETHODIMP nsDOMSimpleGestureEvent::GetDelta(double *aDelta)
     139             : {
     140             :     return NS_ERROR_NOT_IMPLEMENTED;
     141             : }
     142             : 
     143             : /* readonly attribute unsigned long clickCount; */
     144             : NS_IMETHODIMP nsDOMSimpleGestureEvent::GetClickCount(uint32_t *aClickCount)
     145             : {
     146             :     return NS_ERROR_NOT_IMPLEMENTED;
     147             : }
     148             : 
     149             : /* End of implementation class template. */
     150             : #endif
     151             : 
     152             : 
     153             : #endif /* __gen_nsIDOMSimpleGestureEvent_h__ */

Generated by: LCOV version 1.13