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

#ifndef __gen_nsIMsgOperationListener_h__
#define __gen_nsIMsgOperationListener_h__


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

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIMsgOperationListener */
#define NS_IMSGOPERATIONLISTENER_IID_STR "bdaef6ff-0909-435b-8fcd-76525dd2364c"

#define NS_IMSGOPERATIONLISTENER_IID \
  {0xbdaef6ff, 0x0909, 0x435b, \
    { 0x8f, 0xcd, 0x76, 0x52, 0x5d, 0xd2, 0x36, 0x4c }}

class NS_NO_VTABLE nsIMsgOperationListener : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGOPERATIONLISTENER_IID)

  /* void onStopOperation (in nsresult aStatus); */
  NS_IMETHOD OnStopOperation(nsresult aStatus) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgOperationListener, NS_IMSGOPERATIONLISTENER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGOPERATIONLISTENER \
  NS_IMETHOD OnStopOperation(nsresult aStatus) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGOPERATIONLISTENER(_to) \
  NS_IMETHOD OnStopOperation(nsresult aStatus) override { return _to OnStopOperation(aStatus); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGOPERATIONLISTENER(_to) \
  NS_IMETHOD OnStopOperation(nsresult aStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnStopOperation(aStatus); } 

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

/* Header file */
class nsMsgOperationListener : public nsIMsgOperationListener
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGOPERATIONLISTENER

  nsMsgOperationListener();

private:
  ~nsMsgOperationListener();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgOperationListener, nsIMsgOperationListener)

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

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

/* void onStopOperation (in nsresult aStatus); */
NS_IMETHODIMP nsMsgOperationListener::OnStopOperation(nsresult aStatus)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMsgOperationListener_h__ */
