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

#ifndef __gen_flockIAuthenticateNewAccount_h__
#define __gen_flockIAuthenticateNewAccount_h__


#ifndef __gen_flockIListener_h__
#include "flockIListener.h"
#endif

#ifndef __gen_flockIWebService_h__
#include "flockIWebService.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:    flockIAuthenticateNewAccount */
#define FLOCKIAUTHENTICATENEWACCOUNT_IID_STR "2c78a5c0-734a-11db-9fe1-0800200c9a66"

#define FLOCKIAUTHENTICATENEWACCOUNT_IID \
  {0x2c78a5c0, 0x734a, 0x11db, \
    { 0x9f, 0xe1, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 }}

class NS_NO_VTABLE flockIAuthenticateNewAccount : public flockIWebService {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIAUTHENTICATENEWACCOUNT_IID)

  /**
   * @param aListener (in) a listener that gets called upon successful 
   *        verification of the account credentials and creation of the account
   */
  /* void authenticateNewAccount (in flockIListener aListener); */
  NS_IMETHOD AuthenticateNewAccount(flockIListener *aListener) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIAUTHENTICATENEWACCOUNT \
  NS_IMETHOD AuthenticateNewAccount(flockIListener *aListener); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIAUTHENTICATENEWACCOUNT(_to) \
  NS_IMETHOD AuthenticateNewAccount(flockIListener *aListener) { return _to AuthenticateNewAccount(aListener); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIAUTHENTICATENEWACCOUNT(_to) \
  NS_IMETHOD AuthenticateNewAccount(flockIListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->AuthenticateNewAccount(aListener); } 

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

/* Header file */
class _MYCLASS_ : public flockIAuthenticateNewAccount
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIAUTHENTICATENEWACCOUNT

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void authenticateNewAccount (in flockIListener aListener); */
NS_IMETHODIMP _MYCLASS_::AuthenticateNewAccount(flockIListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIAuthenticateNewAccount_h__ */
