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

#ifndef __gen_xpctest_in_h__
#define __gen_xpctest_in_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:    nsIXPCTestIn */
#define NS_IXPCTESTIN_IID_STR "318d6f6a-5411-11d3-82ef-0060b0eb596f"

#define NS_IXPCTESTIN_IID \
  {0x318d6f6a, 0x5411, 0x11d3, \
    { 0x82, 0xef, 0x00, 0x60, 0xb0, 0xeb, 0x59, 0x6f }}

class NS_NO_VTABLE nsIXPCTestIn : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXPCTESTIN_IID)

  /* long EchoLong (in long l); */
  NS_IMETHOD EchoLong(PRInt32 l, PRInt32 *_retval) = 0;

  /* short EchoShort (in short a); */
  NS_IMETHOD EchoShort(PRInt16 a, PRInt16 *_retval) = 0;

  /* char EchoChar (in char c); */
  NS_IMETHOD EchoChar(char c, char *_retval) = 0;

  /* boolean EchoBoolean (in boolean b); */
  NS_IMETHOD EchoBoolean(PRBool b, PRBool *_retval) = 0;

  /* octet EchoOctet (in octet o); */
  NS_IMETHOD EchoOctet(PRUint8 o, PRUint8 *_retval) = 0;

  /* long long EchoLongLong (in long long ll); */
  NS_IMETHOD EchoLongLong(PRInt64 ll, PRInt64 *_retval) = 0;

  /* unsigned short EchoUnsignedShort (in unsigned short us); */
  NS_IMETHOD EchoUnsignedShort(PRUint16 us, PRUint16 *_retval) = 0;

  /* unsigned long EchoUnsignedLong (in unsigned long ul); */
  NS_IMETHOD EchoUnsignedLong(PRUint32 ul, PRUint32 *_retval) = 0;

  /* float EchoFloat (in float f); */
  NS_IMETHOD EchoFloat(float f, float *_retval) = 0;

  /* double EchoDouble (in double d); */
  NS_IMETHOD EchoDouble(double d, double *_retval) = 0;

  /* wchar EchoWchar (in wchar wc); */
  NS_IMETHOD EchoWchar(PRUnichar wc, PRUnichar *_retval) = 0;

  /* string EchoString (in wstring ws); */
  NS_IMETHOD EchoString(const PRUnichar *ws, char **_retval) = 0;

  /* PRBool EchoPRBool (in PRBool b); */
  NS_IMETHOD EchoPRBool(PRBool b, PRBool *_retval) = 0;

  /* PRInt32 EchoPRInt32 (in PRInt32 l); */
  NS_IMETHOD EchoPRInt32(PRInt32 l, PRInt32 *_retval) = 0;

  /* PRInt16 EchoPRInt16 (in PRInt16 l); */
  NS_IMETHOD EchoPRInt16(PRInt16 l, PRInt16 *_retval) = 0;

  /* PRInt64 EchoPRInt64 (in PRInt64 i); */
  NS_IMETHOD EchoPRInt64(PRInt64 i, PRInt64 *_retval) = 0;

  /* PRUint8 EchoPRUint8 (in PRUint8 i); */
  NS_IMETHOD EchoPRUint8(PRUint8 i, PRUint8 *_retval) = 0;

  /* PRUint16 EchoPRUint16 (in PRUint16 i); */
  NS_IMETHOD EchoPRUint16(PRUint16 i, PRUint16 *_retval) = 0;

  /* PRUint32 EchoPRUint32 (in PRUint32 i); */
  NS_IMETHOD EchoPRUint32(PRUint32 i, PRUint32 *_retval) = 0;

  /* PRUint32 EchoPRUint32_2 (in PRUint32 i); */
  NS_IMETHOD EchoPRUint32_2(PRUint32 i, PRUint32 *_retval) = 0;

  /* PRUint64 EchoPRUint64 (in PRUint64 i); */
  NS_IMETHOD EchoPRUint64(PRUint64 i, PRUint64 *_retval) = 0;

  /* [noscript] voidPtr EchoVoidPtr (in voidPtr vs); */
  NS_IMETHOD EchoVoidPtr(void * vs, void * *_retval) = 0;

  /* [noscript] charPtr EchoCharPtr (in charPtr cs); */
  NS_IMETHOD EchoCharPtr(char * cs, char * *_retval) = 0;

  /* void EchoVoid (); */
  NS_IMETHOD EchoVoid(void) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIXPCTESTIN \
  NS_IMETHOD EchoLong(PRInt32 l, PRInt32 *_retval); \
  NS_IMETHOD EchoShort(PRInt16 a, PRInt16 *_retval); \
  NS_IMETHOD EchoChar(char c, char *_retval); \
  NS_IMETHOD EchoBoolean(PRBool b, PRBool *_retval); \
  NS_IMETHOD EchoOctet(PRUint8 o, PRUint8 *_retval); \
  NS_IMETHOD EchoLongLong(PRInt64 ll, PRInt64 *_retval); \
  NS_IMETHOD EchoUnsignedShort(PRUint16 us, PRUint16 *_retval); \
  NS_IMETHOD EchoUnsignedLong(PRUint32 ul, PRUint32 *_retval); \
  NS_IMETHOD EchoFloat(float f, float *_retval); \
  NS_IMETHOD EchoDouble(double d, double *_retval); \
  NS_IMETHOD EchoWchar(PRUnichar wc, PRUnichar *_retval); \
  NS_IMETHOD EchoString(const PRUnichar *ws, char **_retval); \
  NS_IMETHOD EchoPRBool(PRBool b, PRBool *_retval); \
  NS_IMETHOD EchoPRInt32(PRInt32 l, PRInt32 *_retval); \
  NS_IMETHOD EchoPRInt16(PRInt16 l, PRInt16 *_retval); \
  NS_IMETHOD EchoPRInt64(PRInt64 i, PRInt64 *_retval); \
  NS_IMETHOD EchoPRUint8(PRUint8 i, PRUint8 *_retval); \
  NS_IMETHOD EchoPRUint16(PRUint16 i, PRUint16 *_retval); \
  NS_IMETHOD EchoPRUint32(PRUint32 i, PRUint32 *_retval); \
  NS_IMETHOD EchoPRUint32_2(PRUint32 i, PRUint32 *_retval); \
  NS_IMETHOD EchoPRUint64(PRUint64 i, PRUint64 *_retval); \
  NS_IMETHOD EchoVoidPtr(void * vs, void * *_retval); \
  NS_IMETHOD EchoCharPtr(char * cs, char * *_retval); \
  NS_IMETHOD EchoVoid(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIXPCTESTIN(_to) \
  NS_IMETHOD EchoLong(PRInt32 l, PRInt32 *_retval) { return _to EchoLong(l, _retval); } \
  NS_IMETHOD EchoShort(PRInt16 a, PRInt16 *_retval) { return _to EchoShort(a, _retval); } \
  NS_IMETHOD EchoChar(char c, char *_retval) { return _to EchoChar(c, _retval); } \
  NS_IMETHOD EchoBoolean(PRBool b, PRBool *_retval) { return _to EchoBoolean(b, _retval); } \
  NS_IMETHOD EchoOctet(PRUint8 o, PRUint8 *_retval) { return _to EchoOctet(o, _retval); } \
  NS_IMETHOD EchoLongLong(PRInt64 ll, PRInt64 *_retval) { return _to EchoLongLong(ll, _retval); } \
  NS_IMETHOD EchoUnsignedShort(PRUint16 us, PRUint16 *_retval) { return _to EchoUnsignedShort(us, _retval); } \
  NS_IMETHOD EchoUnsignedLong(PRUint32 ul, PRUint32 *_retval) { return _to EchoUnsignedLong(ul, _retval); } \
  NS_IMETHOD EchoFloat(float f, float *_retval) { return _to EchoFloat(f, _retval); } \
  NS_IMETHOD EchoDouble(double d, double *_retval) { return _to EchoDouble(d, _retval); } \
  NS_IMETHOD EchoWchar(PRUnichar wc, PRUnichar *_retval) { return _to EchoWchar(wc, _retval); } \
  NS_IMETHOD EchoString(const PRUnichar *ws, char **_retval) { return _to EchoString(ws, _retval); } \
  NS_IMETHOD EchoPRBool(PRBool b, PRBool *_retval) { return _to EchoPRBool(b, _retval); } \
  NS_IMETHOD EchoPRInt32(PRInt32 l, PRInt32 *_retval) { return _to EchoPRInt32(l, _retval); } \
  NS_IMETHOD EchoPRInt16(PRInt16 l, PRInt16 *_retval) { return _to EchoPRInt16(l, _retval); } \
  NS_IMETHOD EchoPRInt64(PRInt64 i, PRInt64 *_retval) { return _to EchoPRInt64(i, _retval); } \
  NS_IMETHOD EchoPRUint8(PRUint8 i, PRUint8 *_retval) { return _to EchoPRUint8(i, _retval); } \
  NS_IMETHOD EchoPRUint16(PRUint16 i, PRUint16 *_retval) { return _to EchoPRUint16(i, _retval); } \
  NS_IMETHOD EchoPRUint32(PRUint32 i, PRUint32 *_retval) { return _to EchoPRUint32(i, _retval); } \
  NS_IMETHOD EchoPRUint32_2(PRUint32 i, PRUint32 *_retval) { return _to EchoPRUint32_2(i, _retval); } \
  NS_IMETHOD EchoPRUint64(PRUint64 i, PRUint64 *_retval) { return _to EchoPRUint64(i, _retval); } \
  NS_IMETHOD EchoVoidPtr(void * vs, void * *_retval) { return _to EchoVoidPtr(vs, _retval); } \
  NS_IMETHOD EchoCharPtr(char * cs, char * *_retval) { return _to EchoCharPtr(cs, _retval); } \
  NS_IMETHOD EchoVoid(void) { return _to EchoVoid(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIXPCTESTIN(_to) \
  NS_IMETHOD EchoLong(PRInt32 l, PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoLong(l, _retval); } \
  NS_IMETHOD EchoShort(PRInt16 a, PRInt16 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoShort(a, _retval); } \
  NS_IMETHOD EchoChar(char c, char *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoChar(c, _retval); } \
  NS_IMETHOD EchoBoolean(PRBool b, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoBoolean(b, _retval); } \
  NS_IMETHOD EchoOctet(PRUint8 o, PRUint8 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoOctet(o, _retval); } \
  NS_IMETHOD EchoLongLong(PRInt64 ll, PRInt64 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoLongLong(ll, _retval); } \
  NS_IMETHOD EchoUnsignedShort(PRUint16 us, PRUint16 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoUnsignedShort(us, _retval); } \
  NS_IMETHOD EchoUnsignedLong(PRUint32 ul, PRUint32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoUnsignedLong(ul, _retval); } \
  NS_IMETHOD EchoFloat(float f, float *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoFloat(f, _retval); } \
  NS_IMETHOD EchoDouble(double d, double *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoDouble(d, _retval); } \
  NS_IMETHOD EchoWchar(PRUnichar wc, PRUnichar *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoWchar(wc, _retval); } \
  NS_IMETHOD EchoString(const PRUnichar *ws, char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoString(ws, _retval); } \
  NS_IMETHOD EchoPRBool(PRBool b, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoPRBool(b, _retval); } \
  NS_IMETHOD EchoPRInt32(PRInt32 l, PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoPRInt32(l, _retval); } \
  NS_IMETHOD EchoPRInt16(PRInt16 l, PRInt16 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoPRInt16(l, _retval); } \
  NS_IMETHOD EchoPRInt64(PRInt64 i, PRInt64 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoPRInt64(i, _retval); } \
  NS_IMETHOD EchoPRUint8(PRUint8 i, PRUint8 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoPRUint8(i, _retval); } \
  NS_IMETHOD EchoPRUint16(PRUint16 i, PRUint16 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoPRUint16(i, _retval); } \
  NS_IMETHOD EchoPRUint32(PRUint32 i, PRUint32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoPRUint32(i, _retval); } \
  NS_IMETHOD EchoPRUint32_2(PRUint32 i, PRUint32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoPRUint32_2(i, _retval); } \
  NS_IMETHOD EchoPRUint64(PRUint64 i, PRUint64 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoPRUint64(i, _retval); } \
  NS_IMETHOD EchoVoidPtr(void * vs, void * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoVoidPtr(vs, _retval); } \
  NS_IMETHOD EchoCharPtr(char * cs, char * *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoCharPtr(cs, _retval); } \
  NS_IMETHOD EchoVoid(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->EchoVoid(); } 

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

/* Header file */
class nsXPCTestIn : public nsIXPCTestIn
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIXPCTESTIN

  nsXPCTestIn();
  virtual ~nsXPCTestIn();
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsXPCTestIn, nsIXPCTestIn)

nsXPCTestIn::nsXPCTestIn()
{
  NS_INIT_ISUPPORTS();
  /* member initializers and constructor code */
}

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

/* long EchoLong (in long l); */
NS_IMETHODIMP nsXPCTestIn::EchoLong(PRInt32 l, PRInt32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* short EchoShort (in short a); */
NS_IMETHODIMP nsXPCTestIn::EchoShort(PRInt16 a, PRInt16 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* char EchoChar (in char c); */
NS_IMETHODIMP nsXPCTestIn::EchoChar(char c, char *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean EchoBoolean (in boolean b); */
NS_IMETHODIMP nsXPCTestIn::EchoBoolean(PRBool b, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* octet EchoOctet (in octet o); */
NS_IMETHODIMP nsXPCTestIn::EchoOctet(PRUint8 o, PRUint8 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long long EchoLongLong (in long long ll); */
NS_IMETHODIMP nsXPCTestIn::EchoLongLong(PRInt64 ll, PRInt64 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* unsigned short EchoUnsignedShort (in unsigned short us); */
NS_IMETHODIMP nsXPCTestIn::EchoUnsignedShort(PRUint16 us, PRUint16 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* unsigned long EchoUnsignedLong (in unsigned long ul); */
NS_IMETHODIMP nsXPCTestIn::EchoUnsignedLong(PRUint32 ul, PRUint32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* float EchoFloat (in float f); */
NS_IMETHODIMP nsXPCTestIn::EchoFloat(float f, float *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* double EchoDouble (in double d); */
NS_IMETHODIMP nsXPCTestIn::EchoDouble(double d, double *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* wchar EchoWchar (in wchar wc); */
NS_IMETHODIMP nsXPCTestIn::EchoWchar(PRUnichar wc, PRUnichar *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string EchoString (in wstring ws); */
NS_IMETHODIMP nsXPCTestIn::EchoString(const PRUnichar *ws, char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRBool EchoPRBool (in PRBool b); */
NS_IMETHODIMP nsXPCTestIn::EchoPRBool(PRBool b, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRInt32 EchoPRInt32 (in PRInt32 l); */
NS_IMETHODIMP nsXPCTestIn::EchoPRInt32(PRInt32 l, PRInt32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRInt16 EchoPRInt16 (in PRInt16 l); */
NS_IMETHODIMP nsXPCTestIn::EchoPRInt16(PRInt16 l, PRInt16 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRInt64 EchoPRInt64 (in PRInt64 i); */
NS_IMETHODIMP nsXPCTestIn::EchoPRInt64(PRInt64 i, PRInt64 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRUint8 EchoPRUint8 (in PRUint8 i); */
NS_IMETHODIMP nsXPCTestIn::EchoPRUint8(PRUint8 i, PRUint8 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRUint16 EchoPRUint16 (in PRUint16 i); */
NS_IMETHODIMP nsXPCTestIn::EchoPRUint16(PRUint16 i, PRUint16 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRUint32 EchoPRUint32 (in PRUint32 i); */
NS_IMETHODIMP nsXPCTestIn::EchoPRUint32(PRUint32 i, PRUint32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRUint32 EchoPRUint32_2 (in PRUint32 i); */
NS_IMETHODIMP nsXPCTestIn::EchoPRUint32_2(PRUint32 i, PRUint32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRUint64 EchoPRUint64 (in PRUint64 i); */
NS_IMETHODIMP nsXPCTestIn::EchoPRUint64(PRUint64 i, PRUint64 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] voidPtr EchoVoidPtr (in voidPtr vs); */
NS_IMETHODIMP nsXPCTestIn::EchoVoidPtr(void * vs, void * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] charPtr EchoCharPtr (in charPtr cs); */
NS_IMETHODIMP nsXPCTestIn::EchoCharPtr(char * cs, char * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void EchoVoid (); */
NS_IMETHODIMP nsXPCTestIn::EchoVoid()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_xpctest_in_h__ */
