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

#ifndef __gen_flockIFlickrAccount_h__
#define __gen_flockIFlickrAccount_h__


#ifndef __gen_flockIWebService_h__
#include "flockIWebService.h"
#endif

#ifndef __gen_nsITransferable_h__
#include "nsITransferable.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:    flockIFlickrAccount */
#define FLOCKIFLICKRACCOUNT_IID_STR "a251c2a1-aaf3-4550-b4d6-f06d4f57066d"

#define FLOCKIFLICKRACCOUNT_IID \
  {0xa251c2a1, 0xaaf3, 0x4550, \
    { 0xb4, 0xd6, 0xf0, 0x6d, 0x4f, 0x57, 0x06, 0x6d }}

/**
 * Interface for Flickr Account methods.
 */
class NS_NO_VTABLE flockIFlickrAccount : public flockIWebServiceAccount {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFLICKRACCOUNT_IID)

  /**
   * Opens "Compose Mail" for friend specified by aFriendURN. Mail area is 
   * populated with Message information provided in aTransferable
   * @param aFriendURN (in)  URN for Flickr friend to send message to
   * @param aTransferable (in)  contents of Flock default message for flickr
   */
  /* void flickrMail (in AString aFriendURN, in nsITransferable aTransferable); */
  NS_IMETHOD FlickrMail(const nsAString & aFriendURN, nsITransferable *aTransferable) = 0;

  /**
   * Opens "Compose Mail" for friend specified by aFriendURN. Mail area is
   * populated with messaging to download and use Flock
   * @param aFriendURN (in)  URN for Flickr friend to send message to
   */
  /* void shareFlock (in AString aFriendURN); */
  NS_IMETHOD ShareFlock(const nsAString & aFriendURN) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFLICKRACCOUNT \
  NS_IMETHOD FlickrMail(const nsAString & aFriendURN, nsITransferable *aTransferable); \
  NS_IMETHOD ShareFlock(const nsAString & aFriendURN); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFLICKRACCOUNT(_to) \
  NS_IMETHOD FlickrMail(const nsAString & aFriendURN, nsITransferable *aTransferable) { return _to FlickrMail(aFriendURN, aTransferable); } \
  NS_IMETHOD ShareFlock(const nsAString & aFriendURN) { return _to ShareFlock(aFriendURN); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFLICKRACCOUNT(_to) \
  NS_IMETHOD FlickrMail(const nsAString & aFriendURN, nsITransferable *aTransferable) { return !_to ? NS_ERROR_NULL_POINTER : _to->FlickrMail(aFriendURN, aTransferable); } \
  NS_IMETHOD ShareFlock(const nsAString & aFriendURN) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShareFlock(aFriendURN); } 

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

/* Header file */
class _MYCLASS_ : public flockIFlickrAccount
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFLICKRACCOUNT

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void flickrMail (in AString aFriendURN, in nsITransferable aTransferable); */
NS_IMETHODIMP _MYCLASS_::FlickrMail(const nsAString & aFriendURN, nsITransferable *aTransferable)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void shareFlock (in AString aFriendURN); */
NS_IMETHODIMP _MYCLASS_::ShareFlock(const nsAString & aFriendURN)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIFlickrAccount_h__ */
