#ifndef K2CrystalAuthPrompt_h__
#define K2CrystalAuthPrompt_h__

/// K2CrystalAuthPrompt
///
/// Implements nsIAuthPrompt and gets the information 
/// from the given K2ICrystalCallback

#include "nsCOMPtr.h"
#include "nsIAuthPrompt.h"
#include "K2ICrystalCallback.h"

class K2CrystalAuthPrompt : public nsIAuthPrompt
{
public:
	K2CrystalAuthPrompt(K2ICrystalCallback & crystal);
	~K2CrystalAuthPrompt(){}

	NS_DECL_ISUPPORTS
	NS_DECL_NSIAUTHPROMPT

private:
	nsCOMPtr<K2ICrystalCallback> crystal;
};

#endif
