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

#ifndef __gen_flockIYoutubeService_h__
#define __gen_flockIYoutubeService_h__


#ifndef __gen_flockISocialWebService_h__
#include "flockISocialWebService.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:    flockIYoutubeService */
#define FLOCKIYOUTUBESERVICE_IID_STR "1eea345d-d41f-46e4-b411-e1f71f728d57"

#define FLOCKIYOUTUBESERVICE_IID \
  {0x1eea345d, 0xd41f, 0x46e4, \
    { 0xb4, 0x11, 0xe1, 0xf7, 0x1f, 0x72, 0x8d, 0x57 }}

/**
 * Represents a Youtube service.
 *
 * More documentation here:
 * http://wiki.flock.com/index.php?title=Danphe:AccountsAndServices
 *
 * @see flockISocialWebService
 */
class NS_NO_VTABLE flockIYoutubeService : public flockISocialWebService {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIYOUTUBESERVICE_IID)

  /**
   * gets the videoID from the specified Url
   * @param aUrl (in)  Url of the get the id from
   */
  /* AString getVideoIDFromUrl (in AString aUrl); */
  NS_IMETHOD GetVideoIDFromUrl(const nsAString & aUrl, nsAString & _retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIYOUTUBESERVICE \
  NS_IMETHOD GetVideoIDFromUrl(const nsAString & aUrl, nsAString & _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIYOUTUBESERVICE(_to) \
  NS_IMETHOD GetVideoIDFromUrl(const nsAString & aUrl, nsAString & _retval) { return _to GetVideoIDFromUrl(aUrl, _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_FLOCKIYOUTUBESERVICE(_to) \
  NS_IMETHOD GetVideoIDFromUrl(const nsAString & aUrl, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVideoIDFromUrl(aUrl, _retval); } 

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

/* Header file */
class _MYCLASS_ : public flockIYoutubeService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIYOUTUBESERVICE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* AString getVideoIDFromUrl (in AString aUrl); */
NS_IMETHODIMP _MYCLASS_::GetVideoIDFromUrl(const nsAString & aUrl, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIYoutubeService_h__ */
