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

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIDOMSmsManager.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/sms/interfaces/nsIDOMSmsManager.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMSmsManager_h__
           6                 : #define __gen_nsIDOMSmsManager_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                 : class nsIDOMMozSmsRequest; /* forward declaration */
          22                 :
          23                 : class nsIDOMMozSmsFilter; /* forward declaration */
          24                 :
          25                 :
          26                 : /* starting interface:    nsIDOMMozSmsManager */
          27                 : #define NS_IDOMMOZSMSMANAGER_IID_STR "c9916dce-2947-41bb-95c2-818f792a020c"
          28                 :
          29                 : #define NS_IDOMMOZSMSMANAGER_IID \
          30                 :   {0xc9916dce, 0x2947, 0x41bb, \
          31                 :     { 0x95, 0xc2, 0x81, 0x8f, 0x79, 0x2a, 0x02, 0x0c }}
          32                 :
          33               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMozSmsManager : public nsIDOMEventTarget {
          34                 :  public:
          35                 :
          36                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZSMSMANAGER_IID)
          37                 :
          38                 :   /* unsigned short getNumberOfMessagesForText (in DOMString text); */
          39                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfMessagesForText(const nsAString & text, PRUint16 *_retval NS_OUTPARAM) = 0;
          40                 :
          41                 :   /* jsval send (in jsval number, in DOMString message); */
          42                 :   NS_SCRIPTABLE NS_IMETHOD Send(const JS::Value & number, const nsAString & message, JS::Value *_retval NS_OUTPARAM) = 0;
          43                 :
          44                 :   /* [binaryname(GetMessageMoz)] nsIDOMMozSmsRequest getMessage (in long id); */
          45                 :   NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(PRInt32 id, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM) = 0;
          46                 :
          47                 :   /* nsIDOMMozSmsRequest delete (in jsval param); */
          48                 :   NS_SCRIPTABLE NS_IMETHOD Delete(const JS::Value & param, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM) = 0;
          49                 :
          50                 :   /* nsIDOMMozSmsRequest getMessages (in nsIDOMMozSmsFilter filter, in boolean reverse); */
          51                 :   NS_SCRIPTABLE NS_IMETHOD GetMessages(nsIDOMMozSmsFilter *filter, bool reverse, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM) = 0;
          52                 :
          53                 :   /* attribute nsIDOMEventListener onreceived; */
          54                 :   NS_SCRIPTABLE NS_IMETHOD GetOnreceived(nsIDOMEventListener * *aOnreceived) = 0;
          55                 :   NS_SCRIPTABLE NS_IMETHOD SetOnreceived(nsIDOMEventListener *aOnreceived) = 0;
          56                 :
          57                 :   /* attribute nsIDOMEventListener onsent; */
          58                 :   NS_SCRIPTABLE NS_IMETHOD GetOnsent(nsIDOMEventListener * *aOnsent) = 0;
          59                 :   NS_SCRIPTABLE NS_IMETHOD SetOnsent(nsIDOMEventListener *aOnsent) = 0;
          60                 :
          61                 :   /* attribute nsIDOMEventListener ondelivered; */
          62                 :   NS_SCRIPTABLE NS_IMETHOD GetOndelivered(nsIDOMEventListener * *aOndelivered) = 0;
          63                 :   NS_SCRIPTABLE NS_IMETHOD SetOndelivered(nsIDOMEventListener *aOndelivered) = 0;
          64                 :
          65                 : };
          66                 :
          67                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozSmsManager, NS_IDOMMOZSMSMANAGER_IID)
          68                 :
          69                 : /* Use this macro when declaring classes that implement this interface. */
          70                 : #define NS_DECL_NSIDOMMOZSMSMANAGER \
          71                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfMessagesForText(const nsAString & text, PRUint16 *_retval NS_OUTPARAM); \
          72                 :   NS_SCRIPTABLE NS_IMETHOD Send(const JS::Value & number, const nsAString & message, JS::Value *_retval NS_OUTPARAM); \
          73                 :   NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(PRInt32 id, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM); \
          74                 :   NS_SCRIPTABLE NS_IMETHOD Delete(const JS::Value & param, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM); \
          75                 :   NS_SCRIPTABLE NS_IMETHOD GetMessages(nsIDOMMozSmsFilter *filter, bool reverse, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM); \
          76                 :   NS_SCRIPTABLE NS_IMETHOD GetOnreceived(nsIDOMEventListener * *aOnreceived); \
          77                 :   NS_SCRIPTABLE NS_IMETHOD SetOnreceived(nsIDOMEventListener *aOnreceived); \
          78                 :   NS_SCRIPTABLE NS_IMETHOD GetOnsent(nsIDOMEventListener * *aOnsent); \
          79                 :   NS_SCRIPTABLE NS_IMETHOD SetOnsent(nsIDOMEventListener *aOnsent); \
          80                 :   NS_SCRIPTABLE NS_IMETHOD GetOndelivered(nsIDOMEventListener * *aOndelivered); \
          81                 :   NS_SCRIPTABLE NS_IMETHOD SetOndelivered(nsIDOMEventListener *aOndelivered);
          82                 :
          83                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          84                 : #define NS_FORWARD_NSIDOMMOZSMSMANAGER(_to) \
          85                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfMessagesForText(const nsAString & text, PRUint16 *_retval NS_OUTPARAM) { return _to GetNumberOfMessagesForText(text, _retval); } \
          86                 :   NS_SCRIPTABLE NS_IMETHOD Send(const JS::Value & number, const nsAString & message, JS::Value *_retval NS_OUTPARAM) { return _to Send(number, message, _retval); } \
          87                 :   NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(PRInt32 id, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM) { return _to GetMessageMoz(id, _retval); } \
          88                 :   NS_SCRIPTABLE NS_IMETHOD Delete(const JS::Value & param, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM) { return _to Delete(param, _retval); } \
          89                 :   NS_SCRIPTABLE NS_IMETHOD GetMessages(nsIDOMMozSmsFilter *filter, bool reverse, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM) { return _to GetMessages(filter, reverse, _retval); } \
          90                 :   NS_SCRIPTABLE NS_IMETHOD GetOnreceived(nsIDOMEventListener * *aOnreceived) { return _to GetOnreceived(aOnreceived); } \
          91                 :   NS_SCRIPTABLE NS_IMETHOD SetOnreceived(nsIDOMEventListener *aOnreceived) { return _to SetOnreceived(aOnreceived); } \
          92                 :   NS_SCRIPTABLE NS_IMETHOD GetOnsent(nsIDOMEventListener * *aOnsent) { return _to GetOnsent(aOnsent); } \
          93                 :   NS_SCRIPTABLE NS_IMETHOD SetOnsent(nsIDOMEventListener *aOnsent) { return _to SetOnsent(aOnsent); } \
          94                 :   NS_SCRIPTABLE NS_IMETHOD GetOndelivered(nsIDOMEventListener * *aOndelivered) { return _to GetOndelivered(aOndelivered); } \
          95                 :   NS_SCRIPTABLE NS_IMETHOD SetOndelivered(nsIDOMEventListener *aOndelivered) { return _to SetOndelivered(aOndelivered); }
          96                 :
          97                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          98                 : #define NS_FORWARD_SAFE_NSIDOMMOZSMSMANAGER(_to) \
          99                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfMessagesForText(const nsAString & text, PRUint16 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumberOfMessagesForText(text, _retval); } \
         100                 :   NS_SCRIPTABLE NS_IMETHOD Send(const JS::Value & number, const nsAString & message, JS::Value *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Send(number, message, _retval); } \
         101                 :   NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(PRInt32 id, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageMoz(id, _retval); } \
         102                 :   NS_SCRIPTABLE NS_IMETHOD Delete(const JS::Value & param, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Delete(param, _retval); } \
         103                 :   NS_SCRIPTABLE NS_IMETHOD GetMessages(nsIDOMMozSmsFilter *filter, bool reverse, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessages(filter, reverse, _retval); } \
         104                 :   NS_SCRIPTABLE NS_IMETHOD GetOnreceived(nsIDOMEventListener * *aOnreceived) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnreceived(aOnreceived); } \
         105                 :   NS_SCRIPTABLE NS_IMETHOD SetOnreceived(nsIDOMEventListener *aOnreceived) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnreceived(aOnreceived); } \
         106                 :   NS_SCRIPTABLE NS_IMETHOD GetOnsent(nsIDOMEventListener * *aOnsent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnsent(aOnsent); } \
         107                 :   NS_SCRIPTABLE NS_IMETHOD SetOnsent(nsIDOMEventListener *aOnsent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnsent(aOnsent); } \
         108                 :   NS_SCRIPTABLE NS_IMETHOD GetOndelivered(nsIDOMEventListener * *aOndelivered) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOndelivered(aOndelivered); } \
         109                 :   NS_SCRIPTABLE NS_IMETHOD SetOndelivered(nsIDOMEventListener *aOndelivered) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOndelivered(aOndelivered); }
         110                 :
         111                 : #if 0
         112                 : /* Use the code below as a template for the implementation class for this interface. */
         113                 :
         114                 : /* Header file */
         115                 : class nsDOMMozSmsManager : public nsIDOMMozSmsManager
         116                 : {
         117                 : public:
         118                 :   NS_DECL_ISUPPORTS
         119                 :   NS_DECL_NSIDOMMOZSMSMANAGER
         120                 :
         121                 :   nsDOMMozSmsManager();
         122                 :
         123                 : private:
         124                 :   ~nsDOMMozSmsManager();
         125                 :
         126                 : protected:
         127                 :   /* additional members */
         128                 : };
         129                 :
         130                 : /* Implementation file */
         131                 : NS_IMPL_ISUPPORTS1(nsDOMMozSmsManager, nsIDOMMozSmsManager)
         132                 :
         133                 : nsDOMMozSmsManager::nsDOMMozSmsManager()
         134                 : {
         135                 :   /* member initializers and constructor code */
         136                 : }
         137                 :
         138                 : nsDOMMozSmsManager::~nsDOMMozSmsManager()
         139                 : {
         140                 :   /* destructor code */
         141                 : }
         142                 :
         143                 : /* unsigned short getNumberOfMessagesForText (in DOMString text); */
         144                 : NS_IMETHODIMP nsDOMMozSmsManager::GetNumberOfMessagesForText(const nsAString & text, PRUint16 *_retval NS_OUTPARAM)
         145                 : {
         146                 :     return NS_ERROR_NOT_IMPLEMENTED;
         147                 : }
         148                 :
         149                 : /* jsval send (in jsval number, in DOMString message); */
         150                 : NS_IMETHODIMP nsDOMMozSmsManager::Send(const JS::Value & number, const nsAString & message, JS::Value *_retval NS_OUTPARAM)
         151                 : {
         152                 :     return NS_ERROR_NOT_IMPLEMENTED;
         153                 : }
         154                 :
         155                 : /* [binaryname(GetMessageMoz)] nsIDOMMozSmsRequest getMessage (in long id); */
         156                 : NS_IMETHODIMP nsDOMMozSmsManager::GetMessageMoz(PRInt32 id, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM)
         157                 : {
         158                 :     return NS_ERROR_NOT_IMPLEMENTED;
         159                 : }
         160                 :
         161                 : /* nsIDOMMozSmsRequest delete (in jsval param); */
         162                 : NS_IMETHODIMP nsDOMMozSmsManager::Delete(const JS::Value & param, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM)
         163                 : {
         164                 :     return NS_ERROR_NOT_IMPLEMENTED;
         165                 : }
         166                 :
         167                 : /* nsIDOMMozSmsRequest getMessages (in nsIDOMMozSmsFilter filter, in boolean reverse); */
         168                 : NS_IMETHODIMP nsDOMMozSmsManager::GetMessages(nsIDOMMozSmsFilter *filter, bool reverse, nsIDOMMozSmsRequest * *_retval NS_OUTPARAM)
         169                 : {
         170                 :     return NS_ERROR_NOT_IMPLEMENTED;
         171                 : }
         172                 :
         173                 : /* attribute nsIDOMEventListener onreceived; */
         174                 : NS_IMETHODIMP nsDOMMozSmsManager::GetOnreceived(nsIDOMEventListener * *aOnreceived)
         175                 : {
         176                 :     return NS_ERROR_NOT_IMPLEMENTED;
         177                 : }
         178                 : NS_IMETHODIMP nsDOMMozSmsManager::SetOnreceived(nsIDOMEventListener *aOnreceived)
         179                 : {
         180                 :     return NS_ERROR_NOT_IMPLEMENTED;
         181                 : }
         182                 :
         183                 : /* attribute nsIDOMEventListener onsent; */
         184                 : NS_IMETHODIMP nsDOMMozSmsManager::GetOnsent(nsIDOMEventListener * *aOnsent)
         185                 : {
         186                 :     return NS_ERROR_NOT_IMPLEMENTED;
         187                 : }
         188                 : NS_IMETHODIMP nsDOMMozSmsManager::SetOnsent(nsIDOMEventListener *aOnsent)
         189                 : {
         190                 :     return NS_ERROR_NOT_IMPLEMENTED;
         191                 : }
         192                 :
         193                 : /* attribute nsIDOMEventListener ondelivered; */
         194                 : NS_IMETHODIMP nsDOMMozSmsManager::GetOndelivered(nsIDOMEventListener * *aOndelivered)
         195                 : {
         196                 :     return NS_ERROR_NOT_IMPLEMENTED;
         197                 : }
         198                 : NS_IMETHODIMP nsDOMMozSmsManager::SetOndelivered(nsIDOMEventListener *aOndelivered)
         199                 : {
         200                 :     return NS_ERROR_NOT_IMPLEMENTED;
         201                 : }
         202                 :
         203                 : /* End of implementation class template. */
         204                 : #endif
         205                 :
         206                 :
         207                 : #endif /* __gen_nsIDOMSmsManager_h__ */

Generated by: LCOV version 1.7