#ifndef _nsCLABCMSDecoder_h_
#define _nsCLABCMSDecoder_h_

#include "nsICLABCMSDecoder.h"
#include "nsCOMPtr.h"
#include "nsICMSDecoder.h"
#include "nsIOutputStream.h"

class nsCLABCMSDecoder : public nsICLABCMSDecoder
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSICLABCMSDECODER

  nsCLABCMSDecoder();
  virtual ~nsCLABCMSDecoder();

  /* additional members */
  void Eat(const char* buf,unsigned long len);

 private:
  nsCOMPtr<nsICMSDecoder> dec;
  nsCOMPtr<nsIOutputStream> output;
  nsresult eating_ns_error;
  int eating_error;
};

#endif
