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

#ifndef __gen_flockIImageScaler_h__
#define __gen_flockIImageScaler_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:    flockIImageScaler */
#define FLOCKIIMAGESCALER_IID_STR "f48d430c-1706-4f91-99b5-d6dbe0799ee1"

#define FLOCKIIMAGESCALER_IID \
  {0xf48d430c, 0x1706, 0x4f91, \
    { 0x99, 0xb5, 0xd6, 0xdb, 0xe0, 0x79, 0x9e, 0xe1 }}

class NS_NO_VTABLE NS_SCRIPTABLE flockIImageScaler : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIIMAGESCALER_IID)

  /* boolean doMagick ([array, size_is (aCount)] in string aParams, in PRUint32 aCount); */
  NS_SCRIPTABLE NS_IMETHOD DoMagick(const char **aParams, PRUint32 aCount, PRBool *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIImageScaler, FLOCKIIMAGESCALER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIIMAGESCALER \
  NS_SCRIPTABLE NS_IMETHOD DoMagick(const char **aParams, PRUint32 aCount, PRBool *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIIMAGESCALER(_to) \
  NS_SCRIPTABLE NS_IMETHOD DoMagick(const char **aParams, PRUint32 aCount, PRBool *_retval) { return _to DoMagick(aParams, aCount, _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_FLOCKIIMAGESCALER(_to) \
  NS_SCRIPTABLE NS_IMETHOD DoMagick(const char **aParams, PRUint32 aCount, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoMagick(aParams, aCount, _retval); } 

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

/* Header file */
class _MYCLASS_ : public flockIImageScaler
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIIMAGESCALER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* boolean doMagick ([array, size_is (aCount)] in string aParams, in PRUint32 aCount); */
NS_IMETHODIMP _MYCLASS_::DoMagick(const char **aParams, PRUint32 aCount, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

// cfc1c2d0-162a-4e31-a555-e09ac02f24cb
#define FLOCK_IMAGESCALER_CID \
{ 0xcfc1c2d0, 0x162a, 0x4e31, {0xa5, 0x55, 0xe0, 0x9a, 0xc0, 0x2f, 0x24, 0xcb} }
#define FLOCK_IMAGESCALER_CLASSNAME "Flock Image Scaler"
#define FLOCK_IMAGESCALER_CONTRACTID "@flock.com/imagescaler;1"

#endif /* __gen_flockIImageScaler_h__ */
