#ifndef __GECKO_PROGRESS_H__
#define __GECKO_PROGRESS_H__

#include <nsCOMPtr.h>
#include <nsIWebProgressListener.h>
#include <nsWeakReference.h>
#include "GeckoThumbnailer.h"

class GeckoThumbnailer;

class GeckoProgress : public nsIWebProgressListener,
                      public nsSupportsWeakReference
{
public:
	NS_DECL_ISUPPORTS
	NS_DECL_NSIWEBPROGRESSLISTENER

	GeckoProgress();
	NS_IMETHODIMP Init (GeckoThumbnailer *thumbnailer);

private:
	~GeckoProgress();
	GeckoThumbnailer *mThumbnailer;
};

#endif /* __GECKO_PROGRESS_H__ */
