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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/base/public/nsIMapiRegistry.idl
 */

#ifndef __gen_nsIMapiRegistry_h__
#define __gen_nsIMapiRegistry_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 mozIDOMWindowProxy; /* forward declaration */


/* starting interface:    nsIMapiRegistry */
#define NS_IMAPIREGISTRY_IID_STR "47d707c3-4369-46a6-a053-5118e12579d6"

#define NS_IMAPIREGISTRY_IID \
  {0x47d707c3, 0x4369, 0x46a6, \
    { 0xa0, 0x53, 0x51, 0x18, 0xe1, 0x25, 0x79, 0xd6 }}

class NS_NO_VTABLE nsIMapiRegistry : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMAPIREGISTRY_IID)

  /* attribute boolean isDefaultMailClient; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsDefaultMailClient(bool *aIsDefaultMailClient) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIsDefaultMailClient(bool aIsDefaultMailClient) = 0;

  /* attribute boolean isDefaultNewsClient; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsDefaultNewsClient(bool *aIsDefaultNewsClient) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIsDefaultNewsClient(bool aIsDefaultNewsClient) = 0;

  /* attribute boolean isDefaultFeedClient; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsDefaultFeedClient(bool *aIsDefaultFeedClient) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIsDefaultFeedClient(bool aIsDefaultFeedClient) = 0;

  /* readonly attribute boolean showDialog; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetShowDialog(bool *aShowDialog) = 0;

  /* void showMailIntegrationDialog (in mozIDOMWindowProxy parentWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ShowMailIntegrationDialog(mozIDOMWindowProxy *parentWindow) = 0;

  /* void registerMailAndNewsClient (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RegisterMailAndNewsClient(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMapiRegistry, NS_IMAPIREGISTRY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMAPIREGISTRY \
  NS_IMETHOD GetIsDefaultMailClient(bool *aIsDefaultMailClient) override; \
  NS_IMETHOD SetIsDefaultMailClient(bool aIsDefaultMailClient) override; \
  NS_IMETHOD GetIsDefaultNewsClient(bool *aIsDefaultNewsClient) override; \
  NS_IMETHOD SetIsDefaultNewsClient(bool aIsDefaultNewsClient) override; \
  NS_IMETHOD GetIsDefaultFeedClient(bool *aIsDefaultFeedClient) override; \
  NS_IMETHOD SetIsDefaultFeedClient(bool aIsDefaultFeedClient) override; \
  NS_IMETHOD GetShowDialog(bool *aShowDialog) override; \
  NS_IMETHOD ShowMailIntegrationDialog(mozIDOMWindowProxy *parentWindow) override; \
  NS_IMETHOD RegisterMailAndNewsClient(void) 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_NSIMAPIREGISTRY \
  nsresult GetIsDefaultMailClient(bool *aIsDefaultMailClient); \
  nsresult SetIsDefaultMailClient(bool aIsDefaultMailClient); \
  nsresult GetIsDefaultNewsClient(bool *aIsDefaultNewsClient); \
  nsresult SetIsDefaultNewsClient(bool aIsDefaultNewsClient); \
  nsresult GetIsDefaultFeedClient(bool *aIsDefaultFeedClient); \
  nsresult SetIsDefaultFeedClient(bool aIsDefaultFeedClient); \
  nsresult GetShowDialog(bool *aShowDialog); \
  nsresult ShowMailIntegrationDialog(mozIDOMWindowProxy *parentWindow); \
  nsresult RegisterMailAndNewsClient(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMAPIREGISTRY(_to) \
  NS_IMETHOD GetIsDefaultMailClient(bool *aIsDefaultMailClient) override { return _to GetIsDefaultMailClient(aIsDefaultMailClient); } \
  NS_IMETHOD SetIsDefaultMailClient(bool aIsDefaultMailClient) override { return _to SetIsDefaultMailClient(aIsDefaultMailClient); } \
  NS_IMETHOD GetIsDefaultNewsClient(bool *aIsDefaultNewsClient) override { return _to GetIsDefaultNewsClient(aIsDefaultNewsClient); } \
  NS_IMETHOD SetIsDefaultNewsClient(bool aIsDefaultNewsClient) override { return _to SetIsDefaultNewsClient(aIsDefaultNewsClient); } \
  NS_IMETHOD GetIsDefaultFeedClient(bool *aIsDefaultFeedClient) override { return _to GetIsDefaultFeedClient(aIsDefaultFeedClient); } \
  NS_IMETHOD SetIsDefaultFeedClient(bool aIsDefaultFeedClient) override { return _to SetIsDefaultFeedClient(aIsDefaultFeedClient); } \
  NS_IMETHOD GetShowDialog(bool *aShowDialog) override { return _to GetShowDialog(aShowDialog); } \
  NS_IMETHOD ShowMailIntegrationDialog(mozIDOMWindowProxy *parentWindow) override { return _to ShowMailIntegrationDialog(parentWindow); } \
  NS_IMETHOD RegisterMailAndNewsClient(void) override { return _to RegisterMailAndNewsClient(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMAPIREGISTRY(_to) \
  NS_IMETHOD GetIsDefaultMailClient(bool *aIsDefaultMailClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsDefaultMailClient(aIsDefaultMailClient); } \
  NS_IMETHOD SetIsDefaultMailClient(bool aIsDefaultMailClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsDefaultMailClient(aIsDefaultMailClient); } \
  NS_IMETHOD GetIsDefaultNewsClient(bool *aIsDefaultNewsClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsDefaultNewsClient(aIsDefaultNewsClient); } \
  NS_IMETHOD SetIsDefaultNewsClient(bool aIsDefaultNewsClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsDefaultNewsClient(aIsDefaultNewsClient); } \
  NS_IMETHOD GetIsDefaultFeedClient(bool *aIsDefaultFeedClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsDefaultFeedClient(aIsDefaultFeedClient); } \
  NS_IMETHOD SetIsDefaultFeedClient(bool aIsDefaultFeedClient) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsDefaultFeedClient(aIsDefaultFeedClient); } \
  NS_IMETHOD GetShowDialog(bool *aShowDialog) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowDialog(aShowDialog); } \
  NS_IMETHOD ShowMailIntegrationDialog(mozIDOMWindowProxy *parentWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowMailIntegrationDialog(parentWindow); } \
  NS_IMETHOD RegisterMailAndNewsClient(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RegisterMailAndNewsClient(); } 

#define NS_IMAPIREGISTRY_CONTRACTID    "@mozilla.org/mapiregistry;1"
#define NS_IMAPIREGISTRY_CLASSNAME "Mozilla MAPI Registry"

#endif /* __gen_nsIMapiRegistry_h__ */