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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/accessible/public/nsIAccessibleValue.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIAccessibleValue_h__
       6                 : #define __gen_nsIAccessibleValue_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                 : 
      18                 : /* starting interface:    nsIAccessibleValue */
      19                 : #define NS_IACCESSIBLEVALUE_IID_STR "42a1e1dc-58cf-419d-bff0-ed3314c70016"
      20                 : 
      21                 : #define NS_IACCESSIBLEVALUE_IID \
      22                 :   {0x42a1e1dc, 0x58cf, 0x419d, \
      23                 :     { 0xbf, 0xf0, 0xed, 0x33, 0x14, 0xc7, 0x00, 0x16 }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIAccessibleValue : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLEVALUE_IID)
      29                 : 
      30                 :   /* readonly attribute double maximumValue; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetMaximumValue(double *aMaximumValue) = 0;
      32                 : 
      33                 :   /* readonly attribute double minimumValue; */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetMinimumValue(double *aMinimumValue) = 0;
      35                 : 
      36                 :   /* attribute double currentValue; */
      37                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentValue(double *aCurrentValue) = 0;
      38                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentValue(double aCurrentValue) = 0;
      39                 : 
      40                 :   /* readonly attribute double minimumIncrement; */
      41                 :   NS_SCRIPTABLE NS_IMETHOD GetMinimumIncrement(double *aMinimumIncrement) = 0;
      42                 : 
      43                 : };
      44                 : 
      45                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleValue, NS_IACCESSIBLEVALUE_IID)
      46                 : 
      47                 : /* Use this macro when declaring classes that implement this interface. */
      48                 : #define NS_DECL_NSIACCESSIBLEVALUE \
      49                 :   NS_SCRIPTABLE NS_IMETHOD GetMaximumValue(double *aMaximumValue); \
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetMinimumValue(double *aMinimumValue); \
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentValue(double *aCurrentValue); \
      52                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentValue(double aCurrentValue); \
      53                 :   NS_SCRIPTABLE NS_IMETHOD GetMinimumIncrement(double *aMinimumIncrement); 
      54                 : 
      55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      56                 : #define NS_FORWARD_NSIACCESSIBLEVALUE(_to) \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetMaximumValue(double *aMaximumValue) { return _to GetMaximumValue(aMaximumValue); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetMinimumValue(double *aMinimumValue) { return _to GetMinimumValue(aMinimumValue); } \
      59                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentValue(double *aCurrentValue) { return _to GetCurrentValue(aCurrentValue); } \
      60                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentValue(double aCurrentValue) { return _to SetCurrentValue(aCurrentValue); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetMinimumIncrement(double *aMinimumIncrement) { return _to GetMinimumIncrement(aMinimumIncrement); } 
      62                 : 
      63                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      64                 : #define NS_FORWARD_SAFE_NSIACCESSIBLEVALUE(_to) \
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetMaximumValue(double *aMaximumValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaximumValue(aMaximumValue); } \
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetMinimumValue(double *aMinimumValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMinimumValue(aMinimumValue); } \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentValue(double *aCurrentValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentValue(aCurrentValue); } \
      68                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentValue(double aCurrentValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentValue(aCurrentValue); } \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetMinimumIncrement(double *aMinimumIncrement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMinimumIncrement(aMinimumIncrement); } 
      70                 : 
      71                 : #if 0
      72                 : /* Use the code below as a template for the implementation class for this interface. */
      73                 : 
      74                 : /* Header file */
      75                 : class nsAccessibleValue : public nsIAccessibleValue
      76                 : {
      77                 : public:
      78                 :   NS_DECL_ISUPPORTS
      79                 :   NS_DECL_NSIACCESSIBLEVALUE
      80                 : 
      81                 :   nsAccessibleValue();
      82                 : 
      83                 : private:
      84                 :   ~nsAccessibleValue();
      85                 : 
      86                 : protected:
      87                 :   /* additional members */
      88                 : };
      89                 : 
      90                 : /* Implementation file */
      91                 : NS_IMPL_ISUPPORTS1(nsAccessibleValue, nsIAccessibleValue)
      92                 : 
      93                 : nsAccessibleValue::nsAccessibleValue()
      94                 : {
      95                 :   /* member initializers and constructor code */
      96                 : }
      97                 : 
      98                 : nsAccessibleValue::~nsAccessibleValue()
      99                 : {
     100                 :   /* destructor code */
     101                 : }
     102                 : 
     103                 : /* readonly attribute double maximumValue; */
     104                 : NS_IMETHODIMP nsAccessibleValue::GetMaximumValue(double *aMaximumValue)
     105                 : {
     106                 :     return NS_ERROR_NOT_IMPLEMENTED;
     107                 : }
     108                 : 
     109                 : /* readonly attribute double minimumValue; */
     110                 : NS_IMETHODIMP nsAccessibleValue::GetMinimumValue(double *aMinimumValue)
     111                 : {
     112                 :     return NS_ERROR_NOT_IMPLEMENTED;
     113                 : }
     114                 : 
     115                 : /* attribute double currentValue; */
     116                 : NS_IMETHODIMP nsAccessibleValue::GetCurrentValue(double *aCurrentValue)
     117                 : {
     118                 :     return NS_ERROR_NOT_IMPLEMENTED;
     119                 : }
     120                 : NS_IMETHODIMP nsAccessibleValue::SetCurrentValue(double aCurrentValue)
     121                 : {
     122                 :     return NS_ERROR_NOT_IMPLEMENTED;
     123                 : }
     124                 : 
     125                 : /* readonly attribute double minimumIncrement; */
     126                 : NS_IMETHODIMP nsAccessibleValue::GetMinimumIncrement(double *aMinimumIncrement)
     127                 : {
     128                 :     return NS_ERROR_NOT_IMPLEMENTED;
     129                 : }
     130                 : 
     131                 : /* End of implementation class template. */
     132                 : #endif
     133                 : 
     134                 : 
     135                 : #endif /* __gen_nsIAccessibleValue_h__ */

Generated by: LCOV version 1.7