#ifndef IMACCEPT_HH_
#define IMACCEPT_HH_
#include <string>
#include <list>
#include "basictype.hh"

typedef list<u16string> IMAuthList;

class IMHandler;
class IMAccept
{
  public:
    virtual bool request_accept(
	int fd
    ) = 0;
    virtual IMHandler* request_connect(
	int fd,
	const u16string &username,
	const string &hostname,
	const u16string &password,
	const IMAuthList &authlist
    ) = 0;
};

#endif /* not IMACCEPT_HH_ */

/* Local Variables: */
/* c-file-style: "iiim-project" */
/* End: */
