LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMSmsRequest.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/dom/sms/interfaces/nsIDOMSmsRequest.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMSmsRequest_h__
       6                 : #define __gen_nsIDOMSmsRequest_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIDOMEventTarget_h__
      10                 : #include "nsIDOMEventTarget.h"
      11                 : #endif
      12                 : 
      13                 : #include "jspubtd.h"
      14                 : 
      15                 : /* For IDL files that don't want to include root IDL files. */
      16                 : #ifndef NS_NO_VTABLE
      17                 : #define NS_NO_VTABLE
      18                 : #endif
      19                 : class nsIDOMEventListener; /* forward declaration */
      20                 : 
      21                 : 
      22                 : /* starting interface:    nsIDOMMozSmsRequest */
      23                 : #define NS_IDOMMOZSMSREQUEST_IID_STR "1b24469d-cfb7-4667-aaf0-c1d17289ae7c"
      24                 : 
      25                 : #define NS_IDOMMOZSMSREQUEST_IID \
      26                 :   {0x1b24469d, 0xcfb7, 0x4667, \
      27                 :     { 0xaa, 0xf0, 0xc1, 0xd1, 0x72, 0x89, 0xae, 0x7c }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMozSmsRequest : public nsIDOMEventTarget {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZSMSREQUEST_IID)
      33                 : 
      34                 :   /* readonly attribute DOMString readyState; */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetReadyState(nsAString & aReadyState) = 0;
      36                 : 
      37                 :   /* readonly attribute DOMString error; */
      38                 :   NS_SCRIPTABLE NS_IMETHOD GetError(nsAString & aError) = 0;
      39                 : 
      40                 :   /* readonly attribute jsval result; */
      41                 :   NS_SCRIPTABLE NS_IMETHOD GetResult(JS::Value *aResult) = 0;
      42                 : 
      43                 :   /* attribute nsIDOMEventListener onsuccess; */
      44                 :   NS_SCRIPTABLE NS_IMETHOD GetOnsuccess(nsIDOMEventListener * *aOnsuccess) = 0;
      45                 :   NS_SCRIPTABLE NS_IMETHOD SetOnsuccess(nsIDOMEventListener *aOnsuccess) = 0;
      46                 : 
      47                 :   /* attribute nsIDOMEventListener onerror; */
      48                 :   NS_SCRIPTABLE NS_IMETHOD GetOnerror(nsIDOMEventListener * *aOnerror) = 0;
      49                 :   NS_SCRIPTABLE NS_IMETHOD SetOnerror(nsIDOMEventListener *aOnerror) = 0;
      50                 : 
      51                 : };
      52                 : 
      53                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozSmsRequest, NS_IDOMMOZSMSREQUEST_IID)
      54                 : 
      55                 : /* Use this macro when declaring classes that implement this interface. */
      56                 : #define NS_DECL_NSIDOMMOZSMSREQUEST \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetReadyState(nsAString & aReadyState); \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetError(nsAString & aError); \
      59                 :   NS_SCRIPTABLE NS_IMETHOD GetResult(JS::Value *aResult); \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetOnsuccess(nsIDOMEventListener * *aOnsuccess); \
      61                 :   NS_SCRIPTABLE NS_IMETHOD SetOnsuccess(nsIDOMEventListener *aOnsuccess); \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetOnerror(nsIDOMEventListener * *aOnerror); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD SetOnerror(nsIDOMEventListener *aOnerror); 
      64                 : 
      65                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      66                 : #define NS_FORWARD_NSIDOMMOZSMSREQUEST(_to) \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetReadyState(nsAString & aReadyState) { return _to GetReadyState(aReadyState); } \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetError(nsAString & aError) { return _to GetError(aError); } \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetResult(JS::Value *aResult) { return _to GetResult(aResult); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetOnsuccess(nsIDOMEventListener * *aOnsuccess) { return _to GetOnsuccess(aOnsuccess); } \
      71                 :   NS_SCRIPTABLE NS_IMETHOD SetOnsuccess(nsIDOMEventListener *aOnsuccess) { return _to SetOnsuccess(aOnsuccess); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD GetOnerror(nsIDOMEventListener * *aOnerror) { return _to GetOnerror(aOnerror); } \
      73                 :   NS_SCRIPTABLE NS_IMETHOD SetOnerror(nsIDOMEventListener *aOnerror) { return _to SetOnerror(aOnerror); } 
      74                 : 
      75                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      76                 : #define NS_FORWARD_SAFE_NSIDOMMOZSMSREQUEST(_to) \
      77                 :   NS_SCRIPTABLE NS_IMETHOD GetReadyState(nsAString & aReadyState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReadyState(aReadyState); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetError(nsAString & aError) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetError(aError); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetResult(JS::Value *aResult) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResult(aResult); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD GetOnsuccess(nsIDOMEventListener * *aOnsuccess) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnsuccess(aOnsuccess); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD SetOnsuccess(nsIDOMEventListener *aOnsuccess) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnsuccess(aOnsuccess); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD GetOnerror(nsIDOMEventListener * *aOnerror) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnerror(aOnerror); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD SetOnerror(nsIDOMEventListener *aOnerror) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnerror(aOnerror); } 
      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 nsDOMMozSmsRequest : public nsIDOMMozSmsRequest
      90                 : {
      91                 : public:
      92                 :   NS_DECL_ISUPPORTS
      93                 :   NS_DECL_NSIDOMMOZSMSREQUEST
      94                 : 
      95                 :   nsDOMMozSmsRequest();
      96                 : 
      97                 : private:
      98                 :   ~nsDOMMozSmsRequest();
      99                 : 
     100                 : protected:
     101                 :   /* additional members */
     102                 : };
     103                 : 
     104                 : /* Implementation file */
     105                 : NS_IMPL_ISUPPORTS1(nsDOMMozSmsRequest, nsIDOMMozSmsRequest)
     106                 : 
     107                 : nsDOMMozSmsRequest::nsDOMMozSmsRequest()
     108                 : {
     109                 :   /* member initializers and constructor code */
     110                 : }
     111                 : 
     112                 : nsDOMMozSmsRequest::~nsDOMMozSmsRequest()
     113                 : {
     114                 :   /* destructor code */
     115                 : }
     116                 : 
     117                 : /* readonly attribute DOMString readyState; */
     118                 : NS_IMETHODIMP nsDOMMozSmsRequest::GetReadyState(nsAString & aReadyState)
     119                 : {
     120                 :     return NS_ERROR_NOT_IMPLEMENTED;
     121                 : }
     122                 : 
     123                 : /* readonly attribute DOMString error; */
     124                 : NS_IMETHODIMP nsDOMMozSmsRequest::GetError(nsAString & aError)
     125                 : {
     126                 :     return NS_ERROR_NOT_IMPLEMENTED;
     127                 : }
     128                 : 
     129                 : /* readonly attribute jsval result; */
     130                 : NS_IMETHODIMP nsDOMMozSmsRequest::GetResult(JS::Value *aResult)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* attribute nsIDOMEventListener onsuccess; */
     136                 : NS_IMETHODIMP nsDOMMozSmsRequest::GetOnsuccess(nsIDOMEventListener * *aOnsuccess)
     137                 : {
     138                 :     return NS_ERROR_NOT_IMPLEMENTED;
     139                 : }
     140                 : NS_IMETHODIMP nsDOMMozSmsRequest::SetOnsuccess(nsIDOMEventListener *aOnsuccess)
     141                 : {
     142                 :     return NS_ERROR_NOT_IMPLEMENTED;
     143                 : }
     144                 : 
     145                 : /* attribute nsIDOMEventListener onerror; */
     146                 : NS_IMETHODIMP nsDOMMozSmsRequest::GetOnerror(nsIDOMEventListener * *aOnerror)
     147                 : {
     148                 :     return NS_ERROR_NOT_IMPLEMENTED;
     149                 : }
     150                 : NS_IMETHODIMP nsDOMMozSmsRequest::SetOnerror(nsIDOMEventListener *aOnerror)
     151                 : {
     152                 :     return NS_ERROR_NOT_IMPLEMENTED;
     153                 : }
     154                 : 
     155                 : /* End of implementation class template. */
     156                 : #endif
     157                 : 
     158                 : 
     159                 : #endif /* __gen_nsIDOMSmsRequest_h__ */

Generated by: LCOV version 1.7