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

#ifndef __gen_calIStartupService_h__
#define __gen_calIStartupService_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.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:    calIStartupService */
#define CALISTARTUPSERVICE_IID_STR "99d52094-37f9-4c81-9c55-32fbeb6a79cf"

#define CALISTARTUPSERVICE_IID \
  {0x99d52094, 0x37f9, 0x4c81, \
    { 0x9c, 0x55, 0x32, 0xfb, 0xeb, 0x6a, 0x79, 0xcf }}

class NS_NO_VTABLE calIStartupService : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALISTARTUPSERVICE_IID)

  /* void startup (in calIGenericOperationListener completeListener); */
  NS_IMETHOD Startup(calIGenericOperationListener *completeListener) = 0;

  /* void shutdown (in calIGenericOperationListener completeListener); */
  NS_IMETHOD Shutdown(calIGenericOperationListener *completeListener) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIStartupService, CALISTARTUPSERVICE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALISTARTUPSERVICE \
  NS_IMETHOD Startup(calIGenericOperationListener *completeListener) override; \
  NS_IMETHOD Shutdown(calIGenericOperationListener *completeListener) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALISTARTUPSERVICE \
  NS_METHOD Startup(calIGenericOperationListener *completeListener); \
  NS_METHOD Shutdown(calIGenericOperationListener *completeListener); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALISTARTUPSERVICE(_to) \
  NS_IMETHOD Startup(calIGenericOperationListener *completeListener) override { return _to Startup(completeListener); } \
  NS_IMETHOD Shutdown(calIGenericOperationListener *completeListener) override { return _to Shutdown(completeListener); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALISTARTUPSERVICE(_to) \
  NS_IMETHOD Startup(calIGenericOperationListener *completeListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Startup(completeListener); } \
  NS_IMETHOD Shutdown(calIGenericOperationListener *completeListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Shutdown(completeListener); } 

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

/* Header file */
class _MYCLASS_ : public calIStartupService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALISTARTUPSERVICE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calIStartupService)

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

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

/* void startup (in calIGenericOperationListener completeListener); */
NS_IMETHODIMP _MYCLASS_::Startup(calIGenericOperationListener *completeListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void shutdown (in calIGenericOperationListener completeListener); */
NS_IMETHODIMP _MYCLASS_::Shutdown(calIGenericOperationListener *completeListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_calIStartupService_h__ */
