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

#ifndef __gen_flockIAsyncImageScaler_h__
#define __gen_flockIAsyncImageScaler_h__


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

#ifndef __gen_nsIArray_h__
#include "nsIArray.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:    flockIAsyncImageScalerListener */
#define FLOCKIASYNCIMAGESCALERLISTENER_IID_STR "7144b0a4-1f60-44be-9470-5b6875f94d49"

#define FLOCKIASYNCIMAGESCALERLISTENER_IID \
  {0x7144b0a4, 0x1f60, 0x44be, \
    { 0x94, 0x70, 0x5b, 0x68, 0x75, 0xf9, 0x4d, 0x49 }}

class NS_NO_VTABLE flockIAsyncImageScalerListener : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIASYNCIMAGESCALERLISTENER_IID)

  /* void onFinished (in boolean aResult); */
  NS_IMETHOD OnFinished(PRBool aResult) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIASYNCIMAGESCALERLISTENER \
  NS_IMETHOD OnFinished(PRBool aResult); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIASYNCIMAGESCALERLISTENER(_to) \
  NS_IMETHOD OnFinished(PRBool aResult) { return _to OnFinished(aResult); } 

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

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

/* Header file */
class _MYCLASS_ : public flockIAsyncImageScalerListener
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIASYNCIMAGESCALERLISTENER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(_MYCLASS_, flockIAsyncImageScalerListener)

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

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

/* void onFinished (in boolean aResult); */
NS_IMETHODIMP _MYCLASS_::OnFinished(PRBool aResult)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    flockIAsyncImageScaler */
#define FLOCKIASYNCIMAGESCALER_IID_STR "33bbf73e-8d4b-4868-92a9-a86689018ca3"

#define FLOCKIASYNCIMAGESCALER_IID \
  {0x33bbf73e, 0x8d4b, 0x4868, \
    { 0x92, 0xa9, 0xa8, 0x66, 0x89, 0x01, 0x8c, 0xa3 }}

class NS_NO_VTABLE flockIAsyncImageScaler : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIASYNCIMAGESCALER_IID)

  /* void doAsyncMagick (in nsIArray aParamArray, in flockIAsyncImageScalerListener aListener); */
  NS_IMETHOD DoAsyncMagick(nsIArray *aParamArray, flockIAsyncImageScalerListener *aListener) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIASYNCIMAGESCALER \
  NS_IMETHOD DoAsyncMagick(nsIArray *aParamArray, flockIAsyncImageScalerListener *aListener); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIASYNCIMAGESCALER(_to) \
  NS_IMETHOD DoAsyncMagick(nsIArray *aParamArray, flockIAsyncImageScalerListener *aListener) { return _to DoAsyncMagick(aParamArray, aListener); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIASYNCIMAGESCALER(_to) \
  NS_IMETHOD DoAsyncMagick(nsIArray *aParamArray, flockIAsyncImageScalerListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoAsyncMagick(aParamArray, aListener); } 

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

/* Header file */
class _MYCLASS_ : public flockIAsyncImageScaler
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIASYNCIMAGESCALER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(_MYCLASS_, flockIAsyncImageScaler)

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

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

/* void doAsyncMagick (in nsIArray aParamArray, in flockIAsyncImageScalerListener aListener); */
NS_IMETHODIMP _MYCLASS_::DoAsyncMagick(nsIArray *aParamArray, flockIAsyncImageScalerListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIAsyncImageScaler_h__ */
