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

#ifndef __gen_calIItipProcessor_h__
#define __gen_calIItipProcessor_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
class calIItipItem; /* forward declaration */

class calIOperationListener; /* forward declaration */


/* starting interface:    calIItipProcessor */
#define CALIITIPPROCESSOR_IID_STR "9787876b-0780-4464-8282-b7f86fb221e8"

#define CALIITIPPROCESSOR_IID \
  {0x9787876b, 0x0780, 0x4464, \
    { 0x82, 0x82, 0xb7, 0xf8, 0x6f, 0xb2, 0x21, 0xe8 }}

class NS_NO_VTABLE calIItipProcessor : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(CALIITIPPROCESSOR_IID)

  /**
     * Processes the given calItipItem based on the settings inside it.
     * @param in calIItipItem itipItem  A calItipItem to process.
     * @param in calIIOperationListener An operation Listener to report status
     * @return PRBool                 Whether processing succeeded or not.
     */
  /* boolean processItipItem (in calIItipItem itipItem, in calIOperationListener aListener); */
  NS_IMETHOD ProcessItipItem(calIItipItem *itipItem, calIOperationListener *aListener, PRBool *_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIITIPPROCESSOR \
  NS_IMETHOD ProcessItipItem(calIItipItem *itipItem, calIOperationListener *aListener, PRBool *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIITIPPROCESSOR(_to) \
  NS_IMETHOD ProcessItipItem(calIItipItem *itipItem, calIOperationListener *aListener, PRBool *_retval) { return _to ProcessItipItem(itipItem, aListener, _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_CALIITIPPROCESSOR(_to) \
  NS_IMETHOD ProcessItipItem(calIItipItem *itipItem, calIOperationListener *aListener, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ProcessItipItem(itipItem, aListener, _retval); } 

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

/* Header file */
class _MYCLASS_ : public calIItipProcessor
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIITIPPROCESSOR

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* boolean processItipItem (in calIItipItem itipItem, in calIOperationListener aListener); */
NS_IMETHODIMP _MYCLASS_::ProcessItipItem(calIItipItem *itipItem, calIOperationListener *aListener, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_calIItipProcessor_h__ */
