LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIPaymentAddress.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/nsIPaymentAddress.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIPaymentAddress_h__
       6             : #define __gen_nsIPaymentAddress_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             : class nsIArray; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsIPaymentAddress */
      21             : #define NS_IPAYMENTADDRESS_IID_STR "49a02241-7e48-477a-9345-9f246925dcb3"
      22             : 
      23             : #define NS_IPAYMENTADDRESS_IID \
      24             :   {0x49a02241, 0x7e48, 0x477a, \
      25             :     { 0x93, 0x45, 0x9f, 0x24, 0x69, 0x25, 0xdc, 0xb3 }}
      26             : 
      27           0 : class NS_NO_VTABLE nsIPaymentAddress : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPAYMENTADDRESS_IID)
      31             : 
      32             :   /* readonly attribute AString country; */
      33             :   NS_IMETHOD GetCountry(nsAString & aCountry) = 0;
      34             : 
      35             :   /* readonly attribute nsIArray addressLine; */
      36             :   NS_IMETHOD GetAddressLine(nsIArray * *aAddressLine) = 0;
      37             : 
      38             :   /* readonly attribute AString region; */
      39             :   NS_IMETHOD GetRegion(nsAString & aRegion) = 0;
      40             : 
      41             :   /* readonly attribute AString city; */
      42             :   NS_IMETHOD GetCity(nsAString & aCity) = 0;
      43             : 
      44             :   /* readonly attribute AString dependentLocality; */
      45             :   NS_IMETHOD GetDependentLocality(nsAString & aDependentLocality) = 0;
      46             : 
      47             :   /* readonly attribute AString postalCode; */
      48             :   NS_IMETHOD GetPostalCode(nsAString & aPostalCode) = 0;
      49             : 
      50             :   /* readonly attribute AString sortingCode; */
      51             :   NS_IMETHOD GetSortingCode(nsAString & aSortingCode) = 0;
      52             : 
      53             :   /* readonly attribute AString languageCode; */
      54             :   NS_IMETHOD GetLanguageCode(nsAString & aLanguageCode) = 0;
      55             : 
      56             :   /* readonly attribute AString organization; */
      57             :   NS_IMETHOD GetOrganization(nsAString & aOrganization) = 0;
      58             : 
      59             :   /* readonly attribute AString recipient; */
      60             :   NS_IMETHOD GetRecipient(nsAString & aRecipient) = 0;
      61             : 
      62             :   /* readonly attribute AString phone; */
      63             :   NS_IMETHOD GetPhone(nsAString & aPhone) = 0;
      64             : 
      65             :   /* void init (in AString aCountry, in nsIArray aAddressLine, in AString aRegion, in AString aCity, in AString aDependentLocality, in AString aPostalCode, in AString aSortingCode, in AString aLanguageCode, in AString aOrganization, in AString aRecipient, in AString aPhone); */
      66             :   NS_IMETHOD Init(const nsAString & aCountry, nsIArray *aAddressLine, const nsAString & aRegion, const nsAString & aCity, const nsAString & aDependentLocality, const nsAString & aPostalCode, const nsAString & aSortingCode, const nsAString & aLanguageCode, const nsAString & aOrganization, const nsAString & aRecipient, const nsAString & aPhone) = 0;
      67             : 
      68             : };
      69             : 
      70             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPaymentAddress, NS_IPAYMENTADDRESS_IID)
      71             : 
      72             : /* Use this macro when declaring classes that implement this interface. */
      73             : #define NS_DECL_NSIPAYMENTADDRESS \
      74             :   NS_IMETHOD GetCountry(nsAString & aCountry) override; \
      75             :   NS_IMETHOD GetAddressLine(nsIArray * *aAddressLine) override; \
      76             :   NS_IMETHOD GetRegion(nsAString & aRegion) override; \
      77             :   NS_IMETHOD GetCity(nsAString & aCity) override; \
      78             :   NS_IMETHOD GetDependentLocality(nsAString & aDependentLocality) override; \
      79             :   NS_IMETHOD GetPostalCode(nsAString & aPostalCode) override; \
      80             :   NS_IMETHOD GetSortingCode(nsAString & aSortingCode) override; \
      81             :   NS_IMETHOD GetLanguageCode(nsAString & aLanguageCode) override; \
      82             :   NS_IMETHOD GetOrganization(nsAString & aOrganization) override; \
      83             :   NS_IMETHOD GetRecipient(nsAString & aRecipient) override; \
      84             :   NS_IMETHOD GetPhone(nsAString & aPhone) override; \
      85             :   NS_IMETHOD Init(const nsAString & aCountry, nsIArray *aAddressLine, const nsAString & aRegion, const nsAString & aCity, const nsAString & aDependentLocality, const nsAString & aPostalCode, const nsAString & aSortingCode, const nsAString & aLanguageCode, const nsAString & aOrganization, const nsAString & aRecipient, const nsAString & aPhone) override; 
      86             : 
      87             : /* Use this macro when declaring the members of this interface when the
      88             :    class doesn't implement the interface. This is useful for forwarding. */
      89             : #define NS_DECL_NON_VIRTUAL_NSIPAYMENTADDRESS \
      90             :   nsresult GetCountry(nsAString & aCountry); \
      91             :   nsresult GetAddressLine(nsIArray * *aAddressLine); \
      92             :   nsresult GetRegion(nsAString & aRegion); \
      93             :   nsresult GetCity(nsAString & aCity); \
      94             :   nsresult GetDependentLocality(nsAString & aDependentLocality); \
      95             :   nsresult GetPostalCode(nsAString & aPostalCode); \
      96             :   nsresult GetSortingCode(nsAString & aSortingCode); \
      97             :   nsresult GetLanguageCode(nsAString & aLanguageCode); \
      98             :   nsresult GetOrganization(nsAString & aOrganization); \
      99             :   nsresult GetRecipient(nsAString & aRecipient); \
     100             :   nsresult GetPhone(nsAString & aPhone); \
     101             :   nsresult Init(const nsAString & aCountry, nsIArray *aAddressLine, const nsAString & aRegion, const nsAString & aCity, const nsAString & aDependentLocality, const nsAString & aPostalCode, const nsAString & aSortingCode, const nsAString & aLanguageCode, const nsAString & aOrganization, const nsAString & aRecipient, const nsAString & aPhone); 
     102             : 
     103             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     104             : #define NS_FORWARD_NSIPAYMENTADDRESS(_to) \
     105             :   NS_IMETHOD GetCountry(nsAString & aCountry) override { return _to GetCountry(aCountry); } \
     106             :   NS_IMETHOD GetAddressLine(nsIArray * *aAddressLine) override { return _to GetAddressLine(aAddressLine); } \
     107             :   NS_IMETHOD GetRegion(nsAString & aRegion) override { return _to GetRegion(aRegion); } \
     108             :   NS_IMETHOD GetCity(nsAString & aCity) override { return _to GetCity(aCity); } \
     109             :   NS_IMETHOD GetDependentLocality(nsAString & aDependentLocality) override { return _to GetDependentLocality(aDependentLocality); } \
     110             :   NS_IMETHOD GetPostalCode(nsAString & aPostalCode) override { return _to GetPostalCode(aPostalCode); } \
     111             :   NS_IMETHOD GetSortingCode(nsAString & aSortingCode) override { return _to GetSortingCode(aSortingCode); } \
     112             :   NS_IMETHOD GetLanguageCode(nsAString & aLanguageCode) override { return _to GetLanguageCode(aLanguageCode); } \
     113             :   NS_IMETHOD GetOrganization(nsAString & aOrganization) override { return _to GetOrganization(aOrganization); } \
     114             :   NS_IMETHOD GetRecipient(nsAString & aRecipient) override { return _to GetRecipient(aRecipient); } \
     115             :   NS_IMETHOD GetPhone(nsAString & aPhone) override { return _to GetPhone(aPhone); } \
     116             :   NS_IMETHOD Init(const nsAString & aCountry, nsIArray *aAddressLine, const nsAString & aRegion, const nsAString & aCity, const nsAString & aDependentLocality, const nsAString & aPostalCode, const nsAString & aSortingCode, const nsAString & aLanguageCode, const nsAString & aOrganization, const nsAString & aRecipient, const nsAString & aPhone) override { return _to Init(aCountry, aAddressLine, aRegion, aCity, aDependentLocality, aPostalCode, aSortingCode, aLanguageCode, aOrganization, aRecipient, aPhone); } 
     117             : 
     118             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     119             : #define NS_FORWARD_SAFE_NSIPAYMENTADDRESS(_to) \
     120             :   NS_IMETHOD GetCountry(nsAString & aCountry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCountry(aCountry); } \
     121             :   NS_IMETHOD GetAddressLine(nsIArray * *aAddressLine) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAddressLine(aAddressLine); } \
     122             :   NS_IMETHOD GetRegion(nsAString & aRegion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRegion(aRegion); } \
     123             :   NS_IMETHOD GetCity(nsAString & aCity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCity(aCity); } \
     124             :   NS_IMETHOD GetDependentLocality(nsAString & aDependentLocality) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDependentLocality(aDependentLocality); } \
     125             :   NS_IMETHOD GetPostalCode(nsAString & aPostalCode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostalCode(aPostalCode); } \
     126             :   NS_IMETHOD GetSortingCode(nsAString & aSortingCode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSortingCode(aSortingCode); } \
     127             :   NS_IMETHOD GetLanguageCode(nsAString & aLanguageCode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLanguageCode(aLanguageCode); } \
     128             :   NS_IMETHOD GetOrganization(nsAString & aOrganization) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOrganization(aOrganization); } \
     129             :   NS_IMETHOD GetRecipient(nsAString & aRecipient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRecipient(aRecipient); } \
     130             :   NS_IMETHOD GetPhone(nsAString & aPhone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPhone(aPhone); } \
     131             :   NS_IMETHOD Init(const nsAString & aCountry, nsIArray *aAddressLine, const nsAString & aRegion, const nsAString & aCity, const nsAString & aDependentLocality, const nsAString & aPostalCode, const nsAString & aSortingCode, const nsAString & aLanguageCode, const nsAString & aOrganization, const nsAString & aRecipient, const nsAString & aPhone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aCountry, aAddressLine, aRegion, aCity, aDependentLocality, aPostalCode, aSortingCode, aLanguageCode, aOrganization, aRecipient, aPhone); } 
     132             : 
     133             : #if 0
     134             : /* Use the code below as a template for the implementation class for this interface. */
     135             : 
     136             : /* Header file */
     137             : class nsPaymentAddress : public nsIPaymentAddress
     138             : {
     139             : public:
     140             :   NS_DECL_ISUPPORTS
     141             :   NS_DECL_NSIPAYMENTADDRESS
     142             : 
     143             :   nsPaymentAddress();
     144             : 
     145             : private:
     146             :   ~nsPaymentAddress();
     147             : 
     148             : protected:
     149             :   /* additional members */
     150             : };
     151             : 
     152             : /* Implementation file */
     153             : NS_IMPL_ISUPPORTS(nsPaymentAddress, nsIPaymentAddress)
     154             : 
     155             : nsPaymentAddress::nsPaymentAddress()
     156             : {
     157             :   /* member initializers and constructor code */
     158             : }
     159             : 
     160             : nsPaymentAddress::~nsPaymentAddress()
     161             : {
     162             :   /* destructor code */
     163             : }
     164             : 
     165             : /* readonly attribute AString country; */
     166             : NS_IMETHODIMP nsPaymentAddress::GetCountry(nsAString & aCountry)
     167             : {
     168             :     return NS_ERROR_NOT_IMPLEMENTED;
     169             : }
     170             : 
     171             : /* readonly attribute nsIArray addressLine; */
     172             : NS_IMETHODIMP nsPaymentAddress::GetAddressLine(nsIArray * *aAddressLine)
     173             : {
     174             :     return NS_ERROR_NOT_IMPLEMENTED;
     175             : }
     176             : 
     177             : /* readonly attribute AString region; */
     178             : NS_IMETHODIMP nsPaymentAddress::GetRegion(nsAString & aRegion)
     179             : {
     180             :     return NS_ERROR_NOT_IMPLEMENTED;
     181             : }
     182             : 
     183             : /* readonly attribute AString city; */
     184             : NS_IMETHODIMP nsPaymentAddress::GetCity(nsAString & aCity)
     185             : {
     186             :     return NS_ERROR_NOT_IMPLEMENTED;
     187             : }
     188             : 
     189             : /* readonly attribute AString dependentLocality; */
     190             : NS_IMETHODIMP nsPaymentAddress::GetDependentLocality(nsAString & aDependentLocality)
     191             : {
     192             :     return NS_ERROR_NOT_IMPLEMENTED;
     193             : }
     194             : 
     195             : /* readonly attribute AString postalCode; */
     196             : NS_IMETHODIMP nsPaymentAddress::GetPostalCode(nsAString & aPostalCode)
     197             : {
     198             :     return NS_ERROR_NOT_IMPLEMENTED;
     199             : }
     200             : 
     201             : /* readonly attribute AString sortingCode; */
     202             : NS_IMETHODIMP nsPaymentAddress::GetSortingCode(nsAString & aSortingCode)
     203             : {
     204             :     return NS_ERROR_NOT_IMPLEMENTED;
     205             : }
     206             : 
     207             : /* readonly attribute AString languageCode; */
     208             : NS_IMETHODIMP nsPaymentAddress::GetLanguageCode(nsAString & aLanguageCode)
     209             : {
     210             :     return NS_ERROR_NOT_IMPLEMENTED;
     211             : }
     212             : 
     213             : /* readonly attribute AString organization; */
     214             : NS_IMETHODIMP nsPaymentAddress::GetOrganization(nsAString & aOrganization)
     215             : {
     216             :     return NS_ERROR_NOT_IMPLEMENTED;
     217             : }
     218             : 
     219             : /* readonly attribute AString recipient; */
     220             : NS_IMETHODIMP nsPaymentAddress::GetRecipient(nsAString & aRecipient)
     221             : {
     222             :     return NS_ERROR_NOT_IMPLEMENTED;
     223             : }
     224             : 
     225             : /* readonly attribute AString phone; */
     226             : NS_IMETHODIMP nsPaymentAddress::GetPhone(nsAString & aPhone)
     227             : {
     228             :     return NS_ERROR_NOT_IMPLEMENTED;
     229             : }
     230             : 
     231             : /* void init (in AString aCountry, in nsIArray aAddressLine, in AString aRegion, in AString aCity, in AString aDependentLocality, in AString aPostalCode, in AString aSortingCode, in AString aLanguageCode, in AString aOrganization, in AString aRecipient, in AString aPhone); */
     232             : NS_IMETHODIMP nsPaymentAddress::Init(const nsAString & aCountry, nsIArray *aAddressLine, const nsAString & aRegion, const nsAString & aCity, const nsAString & aDependentLocality, const nsAString & aPostalCode, const nsAString & aSortingCode, const nsAString & aLanguageCode, const nsAString & aOrganization, const nsAString & aRecipient, const nsAString & aPhone)
     233             : {
     234             :     return NS_ERROR_NOT_IMPLEMENTED;
     235             : }
     236             : 
     237             : /* End of implementation class template. */
     238             : #endif
     239             : 
     240             : #define NS_PAYMENT_ADDRESS_CID \
     241             :   { 0x49a02241, 0x7e48, 0x477a, { 0x93, 0x45, 0x9f, 0x24, 0x69, 0x25, 0xdc, 0xb3 } }
     242             : #define NS_PAYMENT_ADDRESS_CONTRACT_ID \
     243             :   "@mozilla.org/dom/payments/payment-address;1"
     244             : 
     245             : #endif /* __gen_nsIPaymentAddress_h__ */

Generated by: LCOV version 1.13