/*
 * 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 "704bb73f-bac1-4d86-9b24-93efa515f6cc"

#define FLOCKIAUTHENTICATENEWACCOUNT_IID \
  {0x704bb73f, 0xbac1, 0x4d86, \
    { 0x9b, 0x24, 0x93, 0xef, 0xa5, 0x15, 0xf6, 0xcc }}

class NS_NO_VTABLE NS_SCRIPTABLE flockIAuthenticateNewAccount : public flockILoginWebService {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIAUTHENTICATENEWACCOUNT_IID)

  /**
   * Function to initiate the login of an account.
   */
  /* void authenticateNewAccount (); */
  NS_SCRIPTABLE NS_IMETHOD AuthenticateNewAccount(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIAuthenticateNewAccount, FLOCKIAUTHENTICATENEWACCOUNT_IID)

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

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

/* 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_SCRIPTABLE NS_IMETHOD AuthenticateNewAccount(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->AuthenticateNewAccount(); } 

#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 (); */
NS_IMETHODIMP _MYCLASS_::AuthenticateNewAccount()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIAuthenticateNewAccount_h__ */
