/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsISuiteDownloadManagerUI.idl
 */

#ifndef __gen_nsISuiteDownloadManagerUI_h__
#define __gen_nsISuiteDownloadManagerUI_h__


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

#ifndef __gen_nsIDownloadManagerUI_h__
#include "nsIDownloadManagerUI.h"
#endif

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


/* starting interface:    nsISuiteDownloadManagerUI */
#define NS_ISUITEDOWNLOADMANAGERUI_IID_STR "23e0112d-2924-4e74-8886-157b60c4af24"

#define NS_ISUITEDOWNLOADMANAGERUI_IID \
  {0x23e0112d, 0x2924, 0x4e74, \
    { 0x88, 0x86, 0x15, 0x7b, 0x60, 0xc4, 0xaf, 0x24 }}

class NS_NO_VTABLE nsISuiteDownloadManagerUI : public nsIDownloadManagerUI {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISUITEDOWNLOADMANAGERUI_IID)

  /* readonly attribute nsIDOMWindow recentWindow; */
  NS_IMETHOD GetRecentWindow(nsIDOMWindow * *aRecentWindow) = 0;

  /* void showManager ([optional] in nsIInterfaceRequestor aWindowContext, [optional] in nsIDownload aDownload, [optional] in short aReason); */
  NS_IMETHOD ShowManager(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason) = 0;

  /* void showProgress ([optional] in nsIInterfaceRequestor aWindowContext, [optional] in nsIDownload aDownload, [optional] in short aReason); */
  NS_IMETHOD ShowProgress(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsISuiteDownloadManagerUI, NS_ISUITEDOWNLOADMANAGERUI_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISUITEDOWNLOADMANAGERUI \
  NS_IMETHOD GetRecentWindow(nsIDOMWindow * *aRecentWindow) override; \
  NS_IMETHOD ShowManager(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason) override; \
  NS_IMETHOD ShowProgress(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason) 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_NSISUITEDOWNLOADMANAGERUI \
  NS_METHOD GetRecentWindow(nsIDOMWindow * *aRecentWindow); \
  NS_METHOD ShowManager(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason); \
  NS_METHOD ShowProgress(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISUITEDOWNLOADMANAGERUI(_to) \
  NS_IMETHOD GetRecentWindow(nsIDOMWindow * *aRecentWindow) override { return _to GetRecentWindow(aRecentWindow); } \
  NS_IMETHOD ShowManager(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason) override { return _to ShowManager(aWindowContext, aDownload, aReason); } \
  NS_IMETHOD ShowProgress(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason) override { return _to ShowProgress(aWindowContext, aDownload, aReason); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISUITEDOWNLOADMANAGERUI(_to) \
  NS_IMETHOD GetRecentWindow(nsIDOMWindow * *aRecentWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRecentWindow(aRecentWindow); } \
  NS_IMETHOD ShowManager(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowManager(aWindowContext, aDownload, aReason); } \
  NS_IMETHOD ShowProgress(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowProgress(aWindowContext, aDownload, aReason); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsSuiteDownloadManagerUI : public nsISuiteDownloadManagerUI
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISUITEDOWNLOADMANAGERUI

  nsSuiteDownloadManagerUI();

private:
  ~nsSuiteDownloadManagerUI();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsSuiteDownloadManagerUI, nsISuiteDownloadManagerUI)

nsSuiteDownloadManagerUI::nsSuiteDownloadManagerUI()
{
  /* member initializers and constructor code */
}

nsSuiteDownloadManagerUI::~nsSuiteDownloadManagerUI()
{
  /* destructor code */
}

/* readonly attribute nsIDOMWindow recentWindow; */
NS_IMETHODIMP nsSuiteDownloadManagerUI::GetRecentWindow(nsIDOMWindow * *aRecentWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void showManager ([optional] in nsIInterfaceRequestor aWindowContext, [optional] in nsIDownload aDownload, [optional] in short aReason); */
NS_IMETHODIMP nsSuiteDownloadManagerUI::ShowManager(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void showProgress ([optional] in nsIInterfaceRequestor aWindowContext, [optional] in nsIDownload aDownload, [optional] in short aReason); */
NS_IMETHODIMP nsSuiteDownloadManagerUI::ShowProgress(nsIInterfaceRequestor *aWindowContext, nsIDownload *aDownload, int16_t aReason)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsISuiteDownloadManagerUI_h__ */
