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

#ifndef __gen_calICalDavCalendar_h__
#define __gen_calICalDavCalendar_h__


#ifndef __gen_calICalendar_h__
#include "calICalendar.h"
#endif

#ifndef __gen_calIOperation_h__
#include "calIOperation.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:    calICalDavCalendar */
#define CALICALDAVCALENDAR_IID_STR "88f6fb22-c172-11dc-a8d1-00197ea74e11"

#define CALICALDAVCALENDAR_IID \
  {0x88f6fb22, 0xc172, 0x11dc, \
    { 0xa8, 0xd1, 0x00, 0x19, 0x7e, 0xa7, 0x4e, 0x11 }}

/** Adds CalDAV specific capabilities to calICalendar.
 */
class NS_NO_VTABLE calICalDavCalendar : public calICalendar {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(CALICALDAVCALENDAR_IID)

  /**
     * The calendar's RFC 2617 authentication realm
     */
  /* readonly attribute AUTF8String authRealm; */
  NS_IMETHOD GetAuthRealm(nsACString & aAuthRealm) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALICALDAVCALENDAR \
  NS_IMETHOD GetAuthRealm(nsACString & aAuthRealm); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALICALDAVCALENDAR(_to) \
  NS_IMETHOD GetAuthRealm(nsACString & aAuthRealm) { return _to GetAuthRealm(aAuthRealm); } 

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

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

/* Header file */
class _MYCLASS_ : public calICalDavCalendar
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALICALDAVCALENDAR

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* readonly attribute AUTF8String authRealm; */
NS_IMETHODIMP _MYCLASS_::GetAuthRealm(nsACString & aAuthRealm)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_calICalDavCalendar_h__ */
