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

#ifndef __gen_flockISessionStartup_h__
#define __gen_flockISessionStartup_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.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:    flockISessionStartup */
#define FLOCKISESSIONSTARTUP_IID_STR "ab1dce81-d0ba-47a6-ac70-73237d00cc61"

#define FLOCKISESSIONSTARTUP_IID \
  {0xab1dce81, 0xd0ba, 0x47a6, \
    { 0xac, 0x70, 0x73, 0x23, 0x7d, 0x00, 0xcc, 0x61 }}

class NS_NO_VTABLE flockISessionStartup : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKISESSIONSTARTUP_IID)

  /* long getSessionType (); */
  NS_IMETHOD GetSessionType(PRInt32 *_retval) = 0;

  enum { NO_SESSION = 0 };

  enum { RECOVER_SESSION = 1 };

  enum { RESUME_SESSION = 2 };

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKISESSIONSTARTUP \
  NS_IMETHOD GetSessionType(PRInt32 *_retval); \

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKISESSIONSTARTUP(_to) \
  NS_IMETHOD GetSessionType(PRInt32 *_retval) { return _to GetSessionType(_retval); } \

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

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

/* Header file */
class _MYCLASS_ : public flockISessionStartup
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKISESSIONSTARTUP

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* long getSessionType (); */
NS_IMETHODIMP _MYCLASS_::GetSessionType(PRInt32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockISessionStartup_h__ */
