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

#ifndef __gen_nsIMsgComposeProgressParams_h__
#define __gen_nsIMsgComposeProgressParams_h__


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

#ifndef __gen_nsIMsgCompose_h__
#include "nsIMsgCompose.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

/* starting interface:    nsIMsgComposeProgressParams */
#define NS_IMSGCOMPOSEPROGRESSPARAMS_IID_STR "1e0e7c00-3e4c-11d5-9daa-f88d288130fc"

#define NS_IMSGCOMPOSEPROGRESSPARAMS_IID \
  {0x1e0e7c00, 0x3e4c, 0x11d5, \
    { 0x9d, 0xaa, 0xf8, 0x8d, 0x28, 0x81, 0x30, 0xfc }}

class NS_NO_VTABLE nsIMsgComposeProgressParams : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGCOMPOSEPROGRESSPARAMS_IID)

  /* attribute wstring subject; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSubject(char16_t * *aSubject) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSubject(const char16_t * aSubject) = 0;

  /* attribute MSG_DeliverMode deliveryMode; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDeliveryMode(MSG_DeliverMode *aDeliveryMode) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDeliveryMode(MSG_DeliverMode aDeliveryMode) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgComposeProgressParams, NS_IMSGCOMPOSEPROGRESSPARAMS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGCOMPOSEPROGRESSPARAMS \
  NS_IMETHOD GetSubject(char16_t * *aSubject) override; \
  NS_IMETHOD SetSubject(const char16_t * aSubject) override; \
  NS_IMETHOD GetDeliveryMode(MSG_DeliverMode *aDeliveryMode) override; \
  NS_IMETHOD SetDeliveryMode(MSG_DeliverMode aDeliveryMode) 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_NSIMSGCOMPOSEPROGRESSPARAMS \
  nsresult GetSubject(char16_t * *aSubject); \
  nsresult SetSubject(const char16_t * aSubject); \
  nsresult GetDeliveryMode(MSG_DeliverMode *aDeliveryMode); \
  nsresult SetDeliveryMode(MSG_DeliverMode aDeliveryMode); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGCOMPOSEPROGRESSPARAMS(_to) \
  NS_IMETHOD GetSubject(char16_t * *aSubject) override { return _to GetSubject(aSubject); } \
  NS_IMETHOD SetSubject(const char16_t * aSubject) override { return _to SetSubject(aSubject); } \
  NS_IMETHOD GetDeliveryMode(MSG_DeliverMode *aDeliveryMode) override { return _to GetDeliveryMode(aDeliveryMode); } \
  NS_IMETHOD SetDeliveryMode(MSG_DeliverMode aDeliveryMode) override { return _to SetDeliveryMode(aDeliveryMode); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGCOMPOSEPROGRESSPARAMS(_to) \
  NS_IMETHOD GetSubject(char16_t * *aSubject) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSubject(aSubject); } \
  NS_IMETHOD SetSubject(const char16_t * aSubject) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSubject(aSubject); } \
  NS_IMETHOD GetDeliveryMode(MSG_DeliverMode *aDeliveryMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDeliveryMode(aDeliveryMode); } \
  NS_IMETHOD SetDeliveryMode(MSG_DeliverMode aDeliveryMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDeliveryMode(aDeliveryMode); } 


#endif /* __gen_nsIMsgComposeProgressParams_h__ */