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

#ifndef __gen_flockIDateFormatter_h__
#define __gen_flockIDateFormatter_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:    flockIDateFormatter */
#define FLOCKIDATEFORMATTER_IID_STR "1b1c1886-940c-411b-9721-70b3e08ff0fc"

#define FLOCKIDATEFORMATTER_IID \
  {0x1b1c1886, 0x940c, 0x411b, \
    { 0x97, 0x21, 0x70, 0xb3, 0xe0, 0x8f, 0xf0, 0xfc }}

class NS_NO_VTABLE flockIDateFormatter : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIDATEFORMATTER_IID)

  /* AString getTimeString (in PRTime time); */
  NS_IMETHOD GetTimeString(PRTime time, nsAString & _retval) = 0;

  /* AString getDateString (in PRTime time); */
  NS_IMETHOD GetDateString(PRTime time, nsAString & _retval) = 0;

  /* AString getDateTimeString (in PRTime time); */
  NS_IMETHOD GetDateTimeString(PRTime time, nsAString & _retval) = 0;

  /* AString getShortDateTimeString (in PRTime time); */
  NS_IMETHOD GetShortDateTimeString(PRTime time, nsAString & _retval) = 0;

  /* AString getFriendlyLastDate (in PRTime time); */
  NS_IMETHOD GetFriendlyLastDate(PRTime time, nsAString & _retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIDATEFORMATTER \
  NS_IMETHOD GetTimeString(PRTime time, nsAString & _retval); \
  NS_IMETHOD GetDateString(PRTime time, nsAString & _retval); \
  NS_IMETHOD GetDateTimeString(PRTime time, nsAString & _retval); \
  NS_IMETHOD GetShortDateTimeString(PRTime time, nsAString & _retval); \
  NS_IMETHOD GetFriendlyLastDate(PRTime time, nsAString & _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIDATEFORMATTER(_to) \
  NS_IMETHOD GetTimeString(PRTime time, nsAString & _retval) { return _to GetTimeString(time, _retval); } \
  NS_IMETHOD GetDateString(PRTime time, nsAString & _retval) { return _to GetDateString(time, _retval); } \
  NS_IMETHOD GetDateTimeString(PRTime time, nsAString & _retval) { return _to GetDateTimeString(time, _retval); } \
  NS_IMETHOD GetShortDateTimeString(PRTime time, nsAString & _retval) { return _to GetShortDateTimeString(time, _retval); } \
  NS_IMETHOD GetFriendlyLastDate(PRTime time, nsAString & _retval) { return _to GetFriendlyLastDate(time, _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_FLOCKIDATEFORMATTER(_to) \
  NS_IMETHOD GetTimeString(PRTime time, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimeString(time, _retval); } \
  NS_IMETHOD GetDateString(PRTime time, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDateString(time, _retval); } \
  NS_IMETHOD GetDateTimeString(PRTime time, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDateTimeString(time, _retval); } \
  NS_IMETHOD GetShortDateTimeString(PRTime time, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShortDateTimeString(time, _retval); } \
  NS_IMETHOD GetFriendlyLastDate(PRTime time, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFriendlyLastDate(time, _retval); } 

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

/* Header file */
class _MYCLASS_ : public flockIDateFormatter
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIDATEFORMATTER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* AString getTimeString (in PRTime time); */
NS_IMETHODIMP _MYCLASS_::GetTimeString(PRTime time, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getDateString (in PRTime time); */
NS_IMETHODIMP _MYCLASS_::GetDateString(PRTime time, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getDateTimeString (in PRTime time); */
NS_IMETHODIMP _MYCLASS_::GetDateTimeString(PRTime time, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getShortDateTimeString (in PRTime time); */
NS_IMETHODIMP _MYCLASS_::GetShortDateTimeString(PRTime time, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getFriendlyLastDate (in PRTime time); */
NS_IMETHODIMP _MYCLASS_::GetFriendlyLastDate(PRTime time, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIDateFormatter_h__ */
