/*
 * 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

/* 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 NS_SCRIPTABLE flockIAsyncImageScalerListener : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIASYNCIMAGESCALERLISTENER_IID)

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

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIAsyncImageScalerListener, FLOCKIASYNCIMAGESCALERLISTENER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIASYNCIMAGESCALERLISTENER \
  NS_SCRIPTABLE 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_SCRIPTABLE 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_SCRIPTABLE 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 "19570cdd-d053-4563-829e-2d0532712942"

#define FLOCKIASYNCIMAGESCALER_IID \
  {0x19570cdd, 0xd053, 0x4563, \
    { 0x82, 0x9e, 0x2d, 0x05, 0x32, 0x71, 0x29, 0x42 }}

class NS_NO_VTABLE NS_SCRIPTABLE flockIAsyncImageScaler : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIASYNCIMAGESCALER_IID)

  /* void doAsyncMagick ([array, size_is (aCount)] in string aParams, in PRUint32 aCount, in flockIAsyncImageScalerListener aImageScalerListener); */
  NS_SCRIPTABLE NS_IMETHOD DoAsyncMagick(const char **aParams, PRUint32 aCount, flockIAsyncImageScalerListener *aImageScalerListener) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIAsyncImageScaler, FLOCKIASYNCIMAGESCALER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIASYNCIMAGESCALER \
  NS_SCRIPTABLE NS_IMETHOD DoAsyncMagick(const char **aParams, PRUint32 aCount, flockIAsyncImageScalerListener *aImageScalerListener); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIASYNCIMAGESCALER(_to) \
  NS_SCRIPTABLE NS_IMETHOD DoAsyncMagick(const char **aParams, PRUint32 aCount, flockIAsyncImageScalerListener *aImageScalerListener) { return _to DoAsyncMagick(aParams, aCount, aImageScalerListener); } 

/* 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_SCRIPTABLE NS_IMETHOD DoAsyncMagick(const char **aParams, PRUint32 aCount, flockIAsyncImageScalerListener *aImageScalerListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoAsyncMagick(aParams, aCount, aImageScalerListener); } 

#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 ([array, size_is (aCount)] in string aParams, in PRUint32 aCount, in flockIAsyncImageScalerListener aImageScalerListener); */
NS_IMETHODIMP _MYCLASS_::DoAsyncMagick(const char **aParams, PRUint32 aCount, flockIAsyncImageScalerListener *aImageScalerListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

// 33bbf73e-8d4b-4868-92a9-a86689018ca3
#define FLOCK_ASYNCIMAGESCALER_CID \
{ 0x33bbf73e, 0x8d4b, 0x4868, { 0x92, 0xa9, 0xa8, 0x66, 0x89, 0x01, 0x8c, 0xa3 } }
#define FLOCK_ASYNCIMAGESCALER_CLASSNAME "Flock Asynchronous Image Scaler"
#define FLOCK_ASYNCIMAGESCALER_CONTRACTID "@flock.com/asyncImageScaler;1"

#endif /* __gen_flockIAsyncImageScaler_h__ */
