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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/storage/nsIDOMStorageItem.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMStorageItem_h__
       6                 : #define __gen_nsIDOMStorageItem_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:    nsIDOMStorageItem */
      19                 : #define NS_IDOMSTORAGEITEM_IID_STR "0cc37c78-4c5f-48e1-adfc-7480b8fe9dc4"
      20                 : 
      21                 : #define NS_IDOMSTORAGEITEM_IID \
      22                 :   {0x0cc37c78, 0x4c5f, 0x48e1, \
      23                 :     { 0xad, 0xfc, 0x74, 0x80, 0xb8, 0xfe, 0x9d, 0xc4 }}
      24                 : 
      25              34 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMStorageItem : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSTORAGEITEM_IID)
      29                 : 
      30                 :   /* attribute boolean secure; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetSecure(bool *aSecure) = 0;
      32                 :   NS_SCRIPTABLE NS_IMETHOD SetSecure(bool aSecure) = 0;
      33                 : 
      34                 :   /* attribute DOMString value; */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) = 0;
      36                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) = 0;
      37                 : 
      38                 : };
      39                 : 
      40                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMStorageItem, NS_IDOMSTORAGEITEM_IID)
      41                 : 
      42                 : /* Use this macro when declaring classes that implement this interface. */
      43                 : #define NS_DECL_NSIDOMSTORAGEITEM \
      44                 :   NS_SCRIPTABLE NS_IMETHOD GetSecure(bool *aSecure); \
      45                 :   NS_SCRIPTABLE NS_IMETHOD SetSecure(bool aSecure); \
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue); \
      47                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue); 
      48                 : 
      49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50                 : #define NS_FORWARD_NSIDOMSTORAGEITEM(_to) \
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetSecure(bool *aSecure) { return _to GetSecure(aSecure); } \
      52                 :   NS_SCRIPTABLE NS_IMETHOD SetSecure(bool aSecure) { return _to SetSecure(aSecure); } \
      53                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
      54                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } 
      55                 : 
      56                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      57                 : #define NS_FORWARD_SAFE_NSIDOMSTORAGEITEM(_to) \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetSecure(bool *aSecure) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSecure(aSecure); } \
      59                 :   NS_SCRIPTABLE NS_IMETHOD SetSecure(bool aSecure) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSecure(aSecure); } \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } 
      62                 : 
      63                 : #if 0
      64                 : /* Use the code below as a template for the implementation class for this interface. */
      65                 : 
      66                 : /* Header file */
      67                 : class nsDOMStorageItem : public nsIDOMStorageItem
      68                 : {
      69                 : public:
      70                 :   NS_DECL_ISUPPORTS
      71                 :   NS_DECL_NSIDOMSTORAGEITEM
      72                 : 
      73                 :   nsDOMStorageItem();
      74                 : 
      75                 : private:
      76                 :   ~nsDOMStorageItem();
      77                 : 
      78                 : protected:
      79                 :   /* additional members */
      80                 : };
      81                 : 
      82                 : /* Implementation file */
      83                 : NS_IMPL_ISUPPORTS1(nsDOMStorageItem, nsIDOMStorageItem)
      84                 : 
      85                 : nsDOMStorageItem::nsDOMStorageItem()
      86                 : {
      87                 :   /* member initializers and constructor code */
      88                 : }
      89                 : 
      90                 : nsDOMStorageItem::~nsDOMStorageItem()
      91                 : {
      92                 :   /* destructor code */
      93                 : }
      94                 : 
      95                 : /* attribute boolean secure; */
      96                 : NS_IMETHODIMP nsDOMStorageItem::GetSecure(bool *aSecure)
      97                 : {
      98                 :     return NS_ERROR_NOT_IMPLEMENTED;
      99                 : }
     100                 : NS_IMETHODIMP nsDOMStorageItem::SetSecure(bool aSecure)
     101                 : {
     102                 :     return NS_ERROR_NOT_IMPLEMENTED;
     103                 : }
     104                 : 
     105                 : /* attribute DOMString value; */
     106                 : NS_IMETHODIMP nsDOMStorageItem::GetValue(nsAString & aValue)
     107                 : {
     108                 :     return NS_ERROR_NOT_IMPLEMENTED;
     109                 : }
     110                 : NS_IMETHODIMP nsDOMStorageItem::SetValue(const nsAString & aValue)
     111                 : {
     112                 :     return NS_ERROR_NOT_IMPLEMENTED;
     113                 : }
     114                 : 
     115                 : /* End of implementation class template. */
     116                 : #endif
     117                 : 
     118                 : 
     119                 : #endif /* __gen_nsIDOMStorageItem_h__ */

Generated by: LCOV version 1.7