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

#ifndef __gen_nsINeighboringCellInfo_h__
#define __gen_nsINeighboringCellInfo_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#include "js/Value.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsINeighboringCellIdsCallback */
#define NS_INEIGHBORINGCELLIDSCALLBACK_IID_STR "909f5972-c74e-44dd-b72a-7ddb62aae617"

#define NS_INEIGHBORINGCELLIDSCALLBACK_IID \
  {0x909f5972, 0xc74e, 0x44dd, \
    { 0xb7, 0x2a, 0x7d, 0xdb, 0x62, 0xaa, 0xe6, 0x17 }}

class NS_NO_VTABLE nsINeighboringCellIdsCallback : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_INEIGHBORINGCELLIDSCALLBACK_IID)

  /* void notifyGetNeighboringCellIds (in jsval result); */
  NS_IMETHOD NotifyGetNeighboringCellIds(JS::HandleValue result) = 0;

  /* void notifyGetNeighboringCellIdsFailed (in DOMString error); */
  NS_IMETHOD NotifyGetNeighboringCellIdsFailed(const nsAString & error) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsINeighboringCellIdsCallback, NS_INEIGHBORINGCELLIDSCALLBACK_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINEIGHBORINGCELLIDSCALLBACK \
  NS_IMETHOD NotifyGetNeighboringCellIds(JS::HandleValue result) MOZ_OVERRIDE; \
  NS_IMETHOD NotifyGetNeighboringCellIdsFailed(const nsAString & error) MOZ_OVERRIDE; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINEIGHBORINGCELLIDSCALLBACK(_to) \
  NS_IMETHOD NotifyGetNeighboringCellIds(JS::HandleValue result) MOZ_OVERRIDE { return _to NotifyGetNeighboringCellIds(result); } \
  NS_IMETHOD NotifyGetNeighboringCellIdsFailed(const nsAString & error) MOZ_OVERRIDE { return _to NotifyGetNeighboringCellIdsFailed(error); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINEIGHBORINGCELLIDSCALLBACK(_to) \
  NS_IMETHOD NotifyGetNeighboringCellIds(JS::HandleValue result) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyGetNeighboringCellIds(result); } \
  NS_IMETHOD NotifyGetNeighboringCellIdsFailed(const nsAString & error) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyGetNeighboringCellIdsFailed(error); } 

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

/* Header file */
class nsNeighboringCellIdsCallback : public nsINeighboringCellIdsCallback
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINEIGHBORINGCELLIDSCALLBACK

  nsNeighboringCellIdsCallback();

private:
  ~nsNeighboringCellIdsCallback();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsNeighboringCellIdsCallback, nsINeighboringCellIdsCallback)

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

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

/* void notifyGetNeighboringCellIds (in jsval result); */
NS_IMETHODIMP nsNeighboringCellIdsCallback::NotifyGetNeighboringCellIds(JS::HandleValue result)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void notifyGetNeighboringCellIdsFailed (in DOMString error); */
NS_IMETHODIMP nsNeighboringCellIdsCallback::NotifyGetNeighboringCellIdsFailed(const nsAString & error)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsINeighboringCellInfo */
#define NS_INEIGHBORINGCELLINFO_IID_STR "87dc222e-abb3-4342-95bf-626aa19fa20e"

#define NS_INEIGHBORINGCELLINFO_IID \
  {0x87dc222e, 0xabb3, 0x4342, \
    { 0x95, 0xbf, 0x62, 0x6a, 0xa1, 0x9f, 0xa2, 0x0e }}

class NS_NO_VTABLE nsINeighboringCellInfo : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_INEIGHBORINGCELLINFO_IID)

  /* readonly attribute DOMString networkType; */
  NS_IMETHOD GetNetworkType(nsAString & aNetworkType) = 0;

  /* readonly attribute long gsmLocationAreaCode; */
  NS_IMETHOD GetGsmLocationAreaCode(int32_t *aGsmLocationAreaCode) = 0;

  /* readonly attribute long long gsmCellId; */
  NS_IMETHOD GetGsmCellId(int64_t *aGsmCellId) = 0;

  /* readonly attribute long wcdmaPsc; */
  NS_IMETHOD GetWcdmaPsc(int32_t *aWcdmaPsc) = 0;

  /* readonly attribute long signalStrength; */
  NS_IMETHOD GetSignalStrength(int32_t *aSignalStrength) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsINeighboringCellInfo, NS_INEIGHBORINGCELLINFO_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINEIGHBORINGCELLINFO \
  NS_IMETHOD GetNetworkType(nsAString & aNetworkType) MOZ_OVERRIDE; \
  NS_IMETHOD GetGsmLocationAreaCode(int32_t *aGsmLocationAreaCode) MOZ_OVERRIDE; \
  NS_IMETHOD GetGsmCellId(int64_t *aGsmCellId) MOZ_OVERRIDE; \
  NS_IMETHOD GetWcdmaPsc(int32_t *aWcdmaPsc) MOZ_OVERRIDE; \
  NS_IMETHOD GetSignalStrength(int32_t *aSignalStrength) MOZ_OVERRIDE; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINEIGHBORINGCELLINFO(_to) \
  NS_IMETHOD GetNetworkType(nsAString & aNetworkType) MOZ_OVERRIDE { return _to GetNetworkType(aNetworkType); } \
  NS_IMETHOD GetGsmLocationAreaCode(int32_t *aGsmLocationAreaCode) MOZ_OVERRIDE { return _to GetGsmLocationAreaCode(aGsmLocationAreaCode); } \
  NS_IMETHOD GetGsmCellId(int64_t *aGsmCellId) MOZ_OVERRIDE { return _to GetGsmCellId(aGsmCellId); } \
  NS_IMETHOD GetWcdmaPsc(int32_t *aWcdmaPsc) MOZ_OVERRIDE { return _to GetWcdmaPsc(aWcdmaPsc); } \
  NS_IMETHOD GetSignalStrength(int32_t *aSignalStrength) MOZ_OVERRIDE { return _to GetSignalStrength(aSignalStrength); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINEIGHBORINGCELLINFO(_to) \
  NS_IMETHOD GetNetworkType(nsAString & aNetworkType) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNetworkType(aNetworkType); } \
  NS_IMETHOD GetGsmLocationAreaCode(int32_t *aGsmLocationAreaCode) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGsmLocationAreaCode(aGsmLocationAreaCode); } \
  NS_IMETHOD GetGsmCellId(int64_t *aGsmCellId) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGsmCellId(aGsmCellId); } \
  NS_IMETHOD GetWcdmaPsc(int32_t *aWcdmaPsc) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWcdmaPsc(aWcdmaPsc); } \
  NS_IMETHOD GetSignalStrength(int32_t *aSignalStrength) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSignalStrength(aSignalStrength); } 

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

/* Header file */
class nsNeighboringCellInfo : public nsINeighboringCellInfo
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINEIGHBORINGCELLINFO

  nsNeighboringCellInfo();

private:
  ~nsNeighboringCellInfo();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsNeighboringCellInfo, nsINeighboringCellInfo)

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

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

/* readonly attribute DOMString networkType; */
NS_IMETHODIMP nsNeighboringCellInfo::GetNetworkType(nsAString & aNetworkType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long gsmLocationAreaCode; */
NS_IMETHODIMP nsNeighboringCellInfo::GetGsmLocationAreaCode(int32_t *aGsmLocationAreaCode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long long gsmCellId; */
NS_IMETHODIMP nsNeighboringCellInfo::GetGsmCellId(int64_t *aGsmCellId)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long wcdmaPsc; */
NS_IMETHODIMP nsNeighboringCellInfo::GetWcdmaPsc(int32_t *aWcdmaPsc)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long signalStrength; */
NS_IMETHODIMP nsNeighboringCellInfo::GetSignalStrength(int32_t *aSignalStrength)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsINeighboringCellInfo_h__ */
