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

#ifndef __gen_nsIRemoteBrowserControl_h__
#define __gen_nsIRemoteBrowserControl_h__

#include "nsISupports.h"


/* starting interface:    nsIRemoteBrowserControl */
#define NS_IREMOTEBROWSERCONTROL_IID_STR "048afcc8-1dd2-11b2-bd86-a45b24375deb"

#define NS_IREMOTEBROWSERCONTROL_IID \
  {0x048afcc8, 0x1dd2, 0x11b2, \
    { 0xbd, 0x86, 0xa4, 0x5b, 0x24, 0x37, 0x5d, 0xeb }}

class NS_NO_VTABLE nsIRemoteBrowserControl : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IREMOTEBROWSERCONTROL_IID)

  /* void openURL (in string aURL, in boolean newWindow); */
  NS_IMETHOD OpenURL(const char *aURL, PRBool newWindow) = 0;

  /* void openFile (in string aURL); */
  NS_IMETHOD OpenFile(const char *aURL) = 0;

  /* void saveAs (in string aURL); */
  NS_IMETHOD SaveAs(const char *aURL) = 0;

  /* void mailto (in wstring mailtoList); */
  NS_IMETHOD Mailto(const PRUnichar *mailtoList) = 0;

  /* void addBookmark (in string aURL, in wstring aTitle); */
  NS_IMETHOD AddBookmark(const char *aURL, const PRUnichar *aTitle) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIREMOTEBROWSERCONTROL \
  NS_IMETHOD OpenURL(const char *aURL, PRBool newWindow); \
  NS_IMETHOD OpenFile(const char *aURL); \
  NS_IMETHOD SaveAs(const char *aURL); \
  NS_IMETHOD Mailto(const PRUnichar *mailtoList); \
  NS_IMETHOD AddBookmark(const char *aURL, const PRUnichar *aTitle); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIREMOTEBROWSERCONTROL(_to) \
  NS_IMETHOD OpenURL(const char *aURL, PRBool newWindow) { return _to ## OpenURL(aURL, newWindow); } \
  NS_IMETHOD OpenFile(const char *aURL) { return _to ## OpenFile(aURL); } \
  NS_IMETHOD SaveAs(const char *aURL) { return _to ## SaveAs(aURL); } \
  NS_IMETHOD Mailto(const PRUnichar *mailtoList) { return _to ## Mailto(mailtoList); } \
  NS_IMETHOD AddBookmark(const char *aURL, const PRUnichar *aTitle) { return _to ## AddBookmark(aURL, aTitle); } 

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

/* Header file */
class nsRemoteBrowserControl : public nsIRemoteBrowserControl
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIREMOTEBROWSERCONTROL

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsRemoteBrowserControl, nsIRemoteBrowserControl)

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

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

/* void openURL (in string aURL, in boolean newWindow); */
NS_IMETHODIMP nsRemoteBrowserControl::OpenURL(const char *aURL, PRBool newWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void openFile (in string aURL); */
NS_IMETHODIMP nsRemoteBrowserControl::OpenFile(const char *aURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void saveAs (in string aURL); */
NS_IMETHODIMP nsRemoteBrowserControl::SaveAs(const char *aURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void mailto (in wstring mailtoList); */
NS_IMETHODIMP nsRemoteBrowserControl::Mailto(const PRUnichar *mailtoList)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addBookmark (in string aURL, in wstring aTitle); */
NS_IMETHODIMP nsRemoteBrowserControl::AddBookmark(const char *aURL, const PRUnichar *aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

#define NS_REMOTEBROWSERCONTROL_CONTRACTID \
    "@mozilla.org/browser/remote-browser-control;1"

#endif /* __gen_nsIRemoteBrowserControl_h__ */
