DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/import/public/nsIImportABDescriptor.idl
 */

#ifndef __gen_nsIImportABDescriptor_h__
#define __gen_nsIImportABDescriptor_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#include "js/GCAnnotations.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIFile; /* forward declaration */


/* starting interface:    nsIImportABDescriptor */
#define NS_IIMPORTABDESCRIPTOR_IID_STR "2d8983b2-cea6-4ae2-9145-eb772481fa18"

#define NS_IIMPORTABDESCRIPTOR_IID \
  {0x2d8983b2, 0xcea6, 0x4ae2, \
    { 0x91, 0x45, 0xeb, 0x77, 0x24, 0x81, 0xfa, 0x18 }}

class NS_NO_VTABLE nsIImportABDescriptor : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIMPORTABDESCRIPTOR_IID)

  /* attribute unsigned long identifier; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIdentifier(uint32_t *aIdentifier) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIdentifier(uint32_t aIdentifier) = 0;

  /* attribute unsigned long ref; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRef(uint32_t *aRef) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRef(uint32_t aRef) = 0;

  /* attribute unsigned long size; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSize(uint32_t *aSize) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSize(uint32_t aSize) = 0;

  /* attribute AString preferredName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPreferredName(nsAString& aPreferredName) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPreferredName(const nsAString& aPreferredName) = 0;

  /* attribute nsIFile abFile; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAbFile(nsIFile **aAbFile) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAbFile(nsIFile *aAbFile) = 0;

  /* attribute boolean import; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetImport(bool *aImport) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetImport(bool aImport) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIImportABDescriptor, NS_IIMPORTABDESCRIPTOR_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIIMPORTABDESCRIPTOR \
  NS_IMETHOD GetIdentifier(uint32_t *aIdentifier) override; \
  NS_IMETHOD SetIdentifier(uint32_t aIdentifier) override; \
  NS_IMETHOD GetRef(uint32_t *aRef) override; \
  NS_IMETHOD SetRef(uint32_t aRef) override; \
  NS_IMETHOD GetSize(uint32_t *aSize) override; \
  NS_IMETHOD SetSize(uint32_t aSize) override; \
  NS_IMETHOD GetPreferredName(nsAString& aPreferredName) override; \
  NS_IMETHOD SetPreferredName(const nsAString& aPreferredName) override; \
  NS_IMETHOD GetAbFile(nsIFile **aAbFile) override; \
  NS_IMETHOD SetAbFile(nsIFile *aAbFile) override; \
  NS_IMETHOD GetImport(bool *aImport) override; \
  NS_IMETHOD SetImport(bool aImport) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIIMPORTABDESCRIPTOR \
  nsresult GetIdentifier(uint32_t *aIdentifier); \
  nsresult SetIdentifier(uint32_t aIdentifier); \
  nsresult GetRef(uint32_t *aRef); \
  nsresult SetRef(uint32_t aRef); \
  nsresult GetSize(uint32_t *aSize); \
  nsresult SetSize(uint32_t aSize); \
  nsresult GetPreferredName(nsAString& aPreferredName); \
  nsresult SetPreferredName(const nsAString& aPreferredName); \
  nsresult GetAbFile(nsIFile **aAbFile); \
  nsresult SetAbFile(nsIFile *aAbFile); \
  nsresult GetImport(bool *aImport); \
  nsresult SetImport(bool aImport); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIIMPORTABDESCRIPTOR(_to) \
  NS_IMETHOD GetIdentifier(uint32_t *aIdentifier) override { return _to GetIdentifier(aIdentifier); } \
  NS_IMETHOD SetIdentifier(uint32_t aIdentifier) override { return _to SetIdentifier(aIdentifier); } \
  NS_IMETHOD GetRef(uint32_t *aRef) override { return _to GetRef(aRef); } \
  NS_IMETHOD SetRef(uint32_t aRef) override { return _to SetRef(aRef); } \
  NS_IMETHOD GetSize(uint32_t *aSize) override { return _to GetSize(aSize); } \
  NS_IMETHOD SetSize(uint32_t aSize) override { return _to SetSize(aSize); } \
  NS_IMETHOD GetPreferredName(nsAString& aPreferredName) override { return _to GetPreferredName(aPreferredName); } \
  NS_IMETHOD SetPreferredName(const nsAString& aPreferredName) override { return _to SetPreferredName(aPreferredName); } \
  NS_IMETHOD GetAbFile(nsIFile **aAbFile) override { return _to GetAbFile(aAbFile); } \
  NS_IMETHOD SetAbFile(nsIFile *aAbFile) override { return _to SetAbFile(aAbFile); } \
  NS_IMETHOD GetImport(bool *aImport) override { return _to GetImport(aImport); } \
  NS_IMETHOD SetImport(bool aImport) override { return _to SetImport(aImport); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIIMPORTABDESCRIPTOR(_to) \
  NS_IMETHOD GetIdentifier(uint32_t *aIdentifier) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIdentifier(aIdentifier); } \
  NS_IMETHOD SetIdentifier(uint32_t aIdentifier) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIdentifier(aIdentifier); } \
  NS_IMETHOD GetRef(uint32_t *aRef) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRef(aRef); } \
  NS_IMETHOD SetRef(uint32_t aRef) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRef(aRef); } \
  NS_IMETHOD GetSize(uint32_t *aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
  NS_IMETHOD SetSize(uint32_t aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSize(aSize); } \
  NS_IMETHOD GetPreferredName(nsAString& aPreferredName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreferredName(aPreferredName); } \
  NS_IMETHOD SetPreferredName(const nsAString& aPreferredName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPreferredName(aPreferredName); } \
  NS_IMETHOD GetAbFile(nsIFile **aAbFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAbFile(aAbFile); } \
  NS_IMETHOD SetAbFile(nsIFile *aAbFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAbFile(aAbFile); } \
  NS_IMETHOD GetImport(bool *aImport) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImport(aImport); } \
  NS_IMETHOD SetImport(bool aImport) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImport(aImport); } 


#endif /* __gen_nsIImportABDescriptor_h__ */