| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/include/xulrunner-sdk-1.9.1/storage/ |
Upload File : |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM mozIStorageDataSet.idl
*/
#ifndef __gen_mozIStorageDataSet_h__
#define __gen_mozIStorageDataSet_h__
#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
class nsIArray; /* forward declaration */
class nsISimpleEnumerator; /* forward declaration */
/* starting interface: mozIStorageDataSet */
#define MOZISTORAGEDATASET_IID_STR "57826606-3c8a-4243-9f2f-cb3fe6e91148"
#define MOZISTORAGEDATASET_IID \
{0x57826606, 0x3c8a, 0x4243, \
{ 0x9f, 0x2f, 0xcb, 0x3f, 0xe6, 0xe9, 0x11, 0x48 }}
class NS_NO_VTABLE NS_SCRIPTABLE mozIStorageDataSet : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(MOZISTORAGEDATASET_IID)
/**
* All the rows in this data set, as a nsIArray
*/
/* readonly attribute nsIArray dataRows; */
NS_SCRIPTABLE NS_IMETHOD GetDataRows(nsIArray * *aDataRows) = 0;
/**
* Get an enumerator for the result set rows.
* @returns a nsISimpleEnumerator of mozIStorageValueArray.
*/
/* nsISimpleEnumerator getRowEnumerator (); */
NS_SCRIPTABLE NS_IMETHOD GetRowEnumerator(nsISimpleEnumerator **_retval NS_OUTPARAM) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(mozIStorageDataSet, MOZISTORAGEDATASET_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZISTORAGEDATASET \
NS_SCRIPTABLE NS_IMETHOD GetDataRows(nsIArray * *aDataRows); \
NS_SCRIPTABLE NS_IMETHOD GetRowEnumerator(nsISimpleEnumerator **_retval NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZISTORAGEDATASET(_to) \
NS_SCRIPTABLE NS_IMETHOD GetDataRows(nsIArray * *aDataRows) { return _to GetDataRows(aDataRows); } \
NS_SCRIPTABLE NS_IMETHOD GetRowEnumerator(nsISimpleEnumerator **_retval NS_OUTPARAM) { return _to GetRowEnumerator(_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_MOZISTORAGEDATASET(_to) \
NS_SCRIPTABLE NS_IMETHOD GetDataRows(nsIArray * *aDataRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDataRows(aDataRows); } \
NS_SCRIPTABLE NS_IMETHOD GetRowEnumerator(nsISimpleEnumerator **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowEnumerator(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public mozIStorageDataSet
{
public:
NS_DECL_ISUPPORTS
NS_DECL_MOZISTORAGEDATASET
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(_MYCLASS_, mozIStorageDataSet)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute nsIArray dataRows; */
NS_IMETHODIMP _MYCLASS_::GetDataRows(nsIArray * *aDataRows)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISimpleEnumerator getRowEnumerator (); */
NS_IMETHODIMP _MYCLASS_::GetRowEnumerator(nsISimpleEnumerator **_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_mozIStorageDataSet_h__ */