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

#ifndef __gen_calIWcapFreeBusyEntry_h__
#define __gen_calIWcapFreeBusyEntry_h__


#ifndef __gen_calIDateTime_h__
#include "calIDateTime.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:    calIWcapFreeBusyEntry */
#define CALIWCAPFREEBUSYENTRY_IID_STR "dc94074d-733c-4957-b5cc-ba7641bd269d"

#define CALIWCAPFREEBUSYENTRY_IID \
  {0xdc94074d, 0x733c, 0x4957, \
    { 0xb5, 0xcc, 0xba, 0x76, 0x41, 0xbd, 0x26, 0x9d }}

class NS_NO_VTABLE calIWcapFreeBusyEntry : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIWCAPFREEBUSYENTRY_IID)

  /**
     * Whether the specified range states a busy time.
     */
  /* readonly attribute boolean isBusyEntry; */
  NS_IMETHOD GetIsBusyEntry(PRBool *aIsBusyEntry) = 0;

  /**
     * Start date of range.
     */
  /* readonly attribute calIDateTime dtRangeStart; */
  NS_IMETHOD GetDtRangeStart(calIDateTime * *aDtRangeStart) = 0;

  /**
     * (Excluded) end date of range.
     */
  /* readonly attribute calIDateTime dtRangeEnd; */
  NS_IMETHOD GetDtRangeEnd(calIDateTime * *aDtRangeEnd) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIWcapFreeBusyEntry, CALIWCAPFREEBUSYENTRY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIWCAPFREEBUSYENTRY \
  NS_IMETHOD GetIsBusyEntry(PRBool *aIsBusyEntry); \
  NS_IMETHOD GetDtRangeStart(calIDateTime * *aDtRangeStart); \
  NS_IMETHOD GetDtRangeEnd(calIDateTime * *aDtRangeEnd); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIWCAPFREEBUSYENTRY(_to) \
  NS_IMETHOD GetIsBusyEntry(PRBool *aIsBusyEntry) { return _to GetIsBusyEntry(aIsBusyEntry); } \
  NS_IMETHOD GetDtRangeStart(calIDateTime * *aDtRangeStart) { return _to GetDtRangeStart(aDtRangeStart); } \
  NS_IMETHOD GetDtRangeEnd(calIDateTime * *aDtRangeEnd) { return _to GetDtRangeEnd(aDtRangeEnd); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIWCAPFREEBUSYENTRY(_to) \
  NS_IMETHOD GetIsBusyEntry(PRBool *aIsBusyEntry) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsBusyEntry(aIsBusyEntry); } \
  NS_IMETHOD GetDtRangeStart(calIDateTime * *aDtRangeStart) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDtRangeStart(aDtRangeStart); } \
  NS_IMETHOD GetDtRangeEnd(calIDateTime * *aDtRangeEnd) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDtRangeEnd(aDtRangeEnd); } 

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

/* Header file */
class _MYCLASS_ : public calIWcapFreeBusyEntry
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIWCAPFREEBUSYENTRY

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* readonly attribute boolean isBusyEntry; */
NS_IMETHODIMP _MYCLASS_::GetIsBusyEntry(PRBool *aIsBusyEntry)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute calIDateTime dtRangeStart; */
NS_IMETHODIMP _MYCLASS_::GetDtRangeStart(calIDateTime * *aDtRangeStart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute calIDateTime dtRangeEnd; */
NS_IMETHODIMP _MYCLASS_::GetDtRangeEnd(calIDateTime * *aDtRangeEnd)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_calIWcapFreeBusyEntry_h__ */
