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

#ifndef __gen_nsIMsgMailViewList_h__
#define __gen_nsIMsgMailViewList_h__


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

#ifndef __gen_nsIMsgMailView_h__
#include "nsIMsgMailView.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
typedef int32_t  nsMsgMailViewListFileAttribValue;


/* starting interface:    nsIMsgMailViewList */
#define NS_IMSGMAILVIEWLIST_IID_STR "6dd798d7-9528-49e6-9447-3aaf14d2d36f"

#define NS_IMSGMAILVIEWLIST_IID \
  {0x6dd798d7, 0x9528, 0x49e6, \
    { 0x94, 0x47, 0x3a, 0xaf, 0x14, 0xd2, 0xd3, 0x6f }}

class NS_NO_VTABLE nsIMsgMailViewList : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGMAILVIEWLIST_IID)

  /* readonly attribute unsigned long mailViewCount; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMailViewCount(uint32_t *aMailViewCount) = 0;

  /* nsIMsgMailView getMailViewAt (in unsigned long mailViewIndex); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMailViewAt(uint32_t mailViewIndex, nsIMsgMailView **_retval) = 0;

  /* void addMailView (in nsIMsgMailView mailView); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddMailView(nsIMsgMailView *mailView) = 0;

  /* void removeMailView (in nsIMsgMailView mailView); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveMailView(nsIMsgMailView *mailView) = 0;

  /* nsIMsgMailView createMailView (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CreateMailView(nsIMsgMailView **_retval) = 0;

  /* void save (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Save(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgMailViewList, NS_IMSGMAILVIEWLIST_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGMAILVIEWLIST \
  NS_IMETHOD GetMailViewCount(uint32_t *aMailViewCount) override; \
  NS_IMETHOD GetMailViewAt(uint32_t mailViewIndex, nsIMsgMailView **_retval) override; \
  NS_IMETHOD AddMailView(nsIMsgMailView *mailView) override; \
  NS_IMETHOD RemoveMailView(nsIMsgMailView *mailView) override; \
  NS_IMETHOD CreateMailView(nsIMsgMailView **_retval) override; \
  NS_IMETHOD Save(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_NSIMSGMAILVIEWLIST \
  nsresult GetMailViewCount(uint32_t *aMailViewCount); \
  nsresult GetMailViewAt(uint32_t mailViewIndex, nsIMsgMailView **_retval); \
  nsresult AddMailView(nsIMsgMailView *mailView); \
  nsresult RemoveMailView(nsIMsgMailView *mailView); \
  nsresult CreateMailView(nsIMsgMailView **_retval); \
  nsresult Save(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGMAILVIEWLIST(_to) \
  NS_IMETHOD GetMailViewCount(uint32_t *aMailViewCount) override { return _to GetMailViewCount(aMailViewCount); } \
  NS_IMETHOD GetMailViewAt(uint32_t mailViewIndex, nsIMsgMailView **_retval) override { return _to GetMailViewAt(mailViewIndex, _retval); } \
  NS_IMETHOD AddMailView(nsIMsgMailView *mailView) override { return _to AddMailView(mailView); } \
  NS_IMETHOD RemoveMailView(nsIMsgMailView *mailView) override { return _to RemoveMailView(mailView); } \
  NS_IMETHOD CreateMailView(nsIMsgMailView **_retval) override { return _to CreateMailView(_retval); } \
  NS_IMETHOD Save(void) override { return _to Save(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGMAILVIEWLIST(_to) \
  NS_IMETHOD GetMailViewCount(uint32_t *aMailViewCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMailViewCount(aMailViewCount); } \
  NS_IMETHOD GetMailViewAt(uint32_t mailViewIndex, nsIMsgMailView **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMailViewAt(mailViewIndex, _retval); } \
  NS_IMETHOD AddMailView(nsIMsgMailView *mailView) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddMailView(mailView); } \
  NS_IMETHOD RemoveMailView(nsIMsgMailView *mailView) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveMailView(mailView); } \
  NS_IMETHOD CreateMailView(nsIMsgMailView **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateMailView(_retval); } \
  NS_IMETHOD Save(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Save(); } 


#endif /* __gen_nsIMsgMailViewList_h__ */