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

#ifndef __gen_flockICompressContent_h__
#define __gen_flockICompressContent_h__


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

#ifndef __gen_nsIInputStream_h__
#include "nsIInputStream.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:    flockICompressContent */
#define FLOCKICOMPRESSCONTENT_IID_STR "2901f0fc-b8ea-42d9-b000-1ff3c998fdf2"

#define FLOCKICOMPRESSCONTENT_IID \
  {0x2901f0fc, 0xb8ea, 0x42d9, \
    { 0xb0, 0x00, 0x1f, 0xf3, 0xc9, 0x98, 0xfd, 0xf2 }}

class NS_NO_VTABLE flockICompressContent : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKICOMPRESSCONTENT_IID)

  /* nsIInputStream compressString (in AUTF8String aData); */
  NS_IMETHOD CompressString(const nsACString & aData, nsIInputStream **_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKICOMPRESSCONTENT \
  NS_IMETHOD CompressString(const nsACString & aData, nsIInputStream **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKICOMPRESSCONTENT(_to) \
  NS_IMETHOD CompressString(const nsACString & aData, nsIInputStream **_retval) { return _to CompressString(aData, _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_FLOCKICOMPRESSCONTENT(_to) \
  NS_IMETHOD CompressString(const nsACString & aData, nsIInputStream **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompressString(aData, _retval); } 

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

/* Header file */
class _MYCLASS_ : public flockICompressContent
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKICOMPRESSCONTENT

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* nsIInputStream compressString (in AUTF8String aData); */
NS_IMETHODIMP _MYCLASS_::CompressString(const nsACString & aData, nsIInputStream **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

// 6dcfcd29-01ee-4193-8509-edbe926ea1ab
#define FLOCK_COMPRESSCONTENT_CID \
{ 0x6dcfcd29, 0x01ee, 0x4193, { 0x85, 0x09, 0xed, 0xbe, 0x92, 0x6e, 0xa1, 0xab } }
#define FLOCK_COMPRESSCONTENT_CLASSNAME "Flock Content Compressor"
#define FLOCK_COMPRESSCONTENT_CONTRACTID "@flock.com/compress-content;1"

#endif /* __gen_flockICompressContent_h__ */
