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

#ifndef __gen_nsIImportSettings_h__
#define __gen_nsIImportSettings_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 nsIMsgAccount; /* forward declaration */

class nsIFile; /* forward declaration */


/* starting interface:    nsIImportSettings */
#define NS_IIMPORTSETTINGS_IID_STR "1c0e3012-bc4d-4fb2-be6a-0335c7bab9ac"

#define NS_IIMPORTSETTINGS_IID \
  {0x1c0e3012, 0xbc4d, 0x4fb2, \
    { 0xbe, 0x6a, 0x03, 0x35, 0xc7, 0xba, 0xb9, 0xac }}

class NS_NO_VTABLE nsIImportSettings : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIMPORTSETTINGS_IID)

  /* boolean AutoLocate (out wstring description, out nsIFile location); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AutoLocate(char16_t * *description, nsIFile **location, bool *_retval) = 0;

  /* void SetLocation (in nsIFile location); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLocation(nsIFile *location) = 0;

  /* boolean Import (out nsIMsgAccount localMailAccount); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Import(nsIMsgAccount **localMailAccount, bool *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIImportSettings, NS_IIMPORTSETTINGS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIIMPORTSETTINGS \
  NS_IMETHOD AutoLocate(char16_t * *description, nsIFile **location, bool *_retval) override; \
  NS_IMETHOD SetLocation(nsIFile *location) override; \
  NS_IMETHOD Import(nsIMsgAccount **localMailAccount, bool *_retval) 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_NSIIMPORTSETTINGS \
  nsresult AutoLocate(char16_t * *description, nsIFile **location, bool *_retval); \
  nsresult SetLocation(nsIFile *location); \
  nsresult Import(nsIMsgAccount **localMailAccount, bool *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIIMPORTSETTINGS(_to) \
  NS_IMETHOD AutoLocate(char16_t * *description, nsIFile **location, bool *_retval) override { return _to AutoLocate(description, location, _retval); } \
  NS_IMETHOD SetLocation(nsIFile *location) override { return _to SetLocation(location); } \
  NS_IMETHOD Import(nsIMsgAccount **localMailAccount, bool *_retval) override { return _to Import(localMailAccount, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIIMPORTSETTINGS(_to) \
  NS_IMETHOD AutoLocate(char16_t * *description, nsIFile **location, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AutoLocate(description, location, _retval); } \
  NS_IMETHOD SetLocation(nsIFile *location) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLocation(location); } \
  NS_IMETHOD Import(nsIMsgAccount **localMailAccount, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Import(localMailAccount, _retval); } 



#endif /* __gen_nsIImportSettings_h__ */