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

#ifndef __gen_flockITwitterSearch_h__
#define __gen_flockITwitterSearch_h__


#ifndef __gen_flockIListener_h__
#include "flockIListener.h"
#endif

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

#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:    flockITwitterSearch */
#define FLOCKITWITTERSEARCH_IID_STR "15b2ebe7-3d9a-4cf4-94fa-817ccbc1c711"

#define FLOCKITWITTERSEARCH_IID \
  {0x15b2ebe7, 0x3d9a, 0x4cf4, \
    { 0x94, 0xfa, 0x81, 0x7c, 0xcb, 0xc1, 0xc7, 0x11 }}

/**
 * Twitter Search
 */
class NS_NO_VTABLE NS_SCRIPTABLE flockITwitterSearch : public flockIWebService {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKITWITTERSEARCH_IID)

  /**
   * Gets top 10 trending Twitter topics.
   *
   * @param aFlockListener (in) listener to retrieve trend information
   *
   */
  /* void getTrends (in flockIListener aFlockListener); */
  NS_SCRIPTABLE NS_IMETHOD GetTrends(flockIListener *aFlockListener) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockITwitterSearch, FLOCKITWITTERSEARCH_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKITWITTERSEARCH \
  NS_SCRIPTABLE NS_IMETHOD GetTrends(flockIListener *aFlockListener); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKITWITTERSEARCH(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetTrends(flockIListener *aFlockListener) { return _to GetTrends(aFlockListener); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKITWITTERSEARCH(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetTrends(flockIListener *aFlockListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTrends(aFlockListener); } 

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

/* Header file */
class _MYCLASS_ : public flockITwitterSearch
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKITWITTERSEARCH

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void getTrends (in flockIListener aFlockListener); */
NS_IMETHODIMP _MYCLASS_::GetTrends(flockIListener *aFlockListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockITwitterSearch_h__ */
