LCOV - code coverage report
Current view: directory - objdir/dist/include - nsPIPlacesDatabase.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2012-06-02 Functions: 1 1 100.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/toolkit/components/places/nsPIPlacesDatabase.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsPIPlacesDatabase_h__
       6                 : #define __gen_nsPIPlacesDatabase_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : class mozIStorageConnection; /* forward declaration */
      18                 : 
      19                 : class nsINavHistoryQuery; /* forward declaration */
      20                 : 
      21                 : class nsINavHistoryQueryOptions; /* forward declaration */
      22                 : 
      23                 : class mozIStorageStatementCallback; /* forward declaration */
      24                 : 
      25                 : class mozIStoragePendingStatement; /* forward declaration */
      26                 : 
      27                 : 
      28                 : /* starting interface:    nsPIPlacesDatabase */
      29                 : #define NS_PIPLACESDATABASE_IID_STR "6eb7ed3d-13ca-450b-b370-15c75e2f3dab"
      30                 : 
      31                 : #define NS_PIPLACESDATABASE_IID \
      32                 :   {0x6eb7ed3d, 0x13ca, 0x450b, \
      33                 :     { 0xb3, 0x70, 0x15, 0xc7, 0x5e, 0x2f, 0x3d, 0xab }}
      34                 : 
      35             263 : class NS_NO_VTABLE NS_SCRIPTABLE nsPIPlacesDatabase : public nsISupports {
      36                 :  public: 
      37                 : 
      38                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_PIPLACESDATABASE_IID)
      39                 : 
      40                 :   /* readonly attribute mozIStorageConnection DBConnection; */
      41                 :   NS_SCRIPTABLE NS_IMETHOD GetDBConnection(mozIStorageConnection * *aDBConnection) = 0;
      42                 : 
      43                 :   /* mozIStoragePendingStatement asyncExecuteLegacyQueries ([array, size_is (aQueryCount)] in nsINavHistoryQuery aQueries, in unsigned long aQueryCount, in nsINavHistoryQueryOptions aOptions, in mozIStorageStatementCallback aCallback); */
      44                 :   NS_SCRIPTABLE NS_IMETHOD AsyncExecuteLegacyQueries(nsINavHistoryQuery **aQueries, PRUint32 aQueryCount, nsINavHistoryQueryOptions *aOptions, mozIStorageStatementCallback *aCallback, mozIStoragePendingStatement * *_retval NS_OUTPARAM) = 0;
      45                 : 
      46                 : };
      47                 : 
      48                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsPIPlacesDatabase, NS_PIPLACESDATABASE_IID)
      49                 : 
      50                 : /* Use this macro when declaring classes that implement this interface. */
      51                 : #define NS_DECL_NSPIPLACESDATABASE \
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetDBConnection(mozIStorageConnection * *aDBConnection); \
      53                 :   NS_SCRIPTABLE NS_IMETHOD AsyncExecuteLegacyQueries(nsINavHistoryQuery **aQueries, PRUint32 aQueryCount, nsINavHistoryQueryOptions *aOptions, mozIStorageStatementCallback *aCallback, mozIStoragePendingStatement * *_retval NS_OUTPARAM); 
      54                 : 
      55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      56                 : #define NS_FORWARD_NSPIPLACESDATABASE(_to) \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetDBConnection(mozIStorageConnection * *aDBConnection) { return _to GetDBConnection(aDBConnection); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD AsyncExecuteLegacyQueries(nsINavHistoryQuery **aQueries, PRUint32 aQueryCount, nsINavHistoryQueryOptions *aOptions, mozIStorageStatementCallback *aCallback, mozIStoragePendingStatement * *_retval NS_OUTPARAM) { return _to AsyncExecuteLegacyQueries(aQueries, aQueryCount, aOptions, aCallback, _retval); } 
      59                 : 
      60                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      61                 : #define NS_FORWARD_SAFE_NSPIPLACESDATABASE(_to) \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetDBConnection(mozIStorageConnection * *aDBConnection) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDBConnection(aDBConnection); } \
      63                 :   NS_SCRIPTABLE NS_IMETHOD AsyncExecuteLegacyQueries(nsINavHistoryQuery **aQueries, PRUint32 aQueryCount, nsINavHistoryQueryOptions *aOptions, mozIStorageStatementCallback *aCallback, mozIStoragePendingStatement * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->AsyncExecuteLegacyQueries(aQueries, aQueryCount, aOptions, aCallback, _retval); } 
      64                 : 
      65                 : #if 0
      66                 : /* Use the code below as a template for the implementation class for this interface. */
      67                 : 
      68                 : /* Header file */
      69                 : class _MYCLASS_ : public nsPIPlacesDatabase
      70                 : {
      71                 : public:
      72                 :   NS_DECL_ISUPPORTS
      73                 :   NS_DECL_NSPIPLACESDATABASE
      74                 : 
      75                 :   _MYCLASS_();
      76                 : 
      77                 : private:
      78                 :   ~_MYCLASS_();
      79                 : 
      80                 : protected:
      81                 :   /* additional members */
      82                 : };
      83                 : 
      84                 : /* Implementation file */
      85                 : NS_IMPL_ISUPPORTS1(_MYCLASS_, nsPIPlacesDatabase)
      86                 : 
      87                 : _MYCLASS_::_MYCLASS_()
      88                 : {
      89                 :   /* member initializers and constructor code */
      90                 : }
      91                 : 
      92                 : _MYCLASS_::~_MYCLASS_()
      93                 : {
      94                 :   /* destructor code */
      95                 : }
      96                 : 
      97                 : /* readonly attribute mozIStorageConnection DBConnection; */
      98                 : NS_IMETHODIMP _MYCLASS_::GetDBConnection(mozIStorageConnection * *aDBConnection)
      99                 : {
     100                 :     return NS_ERROR_NOT_IMPLEMENTED;
     101                 : }
     102                 : 
     103                 : /* mozIStoragePendingStatement asyncExecuteLegacyQueries ([array, size_is (aQueryCount)] in nsINavHistoryQuery aQueries, in unsigned long aQueryCount, in nsINavHistoryQueryOptions aOptions, in mozIStorageStatementCallback aCallback); */
     104                 : NS_IMETHODIMP _MYCLASS_::AsyncExecuteLegacyQueries(nsINavHistoryQuery **aQueries, PRUint32 aQueryCount, nsINavHistoryQueryOptions *aOptions, mozIStorageStatementCallback *aCallback, mozIStoragePendingStatement * *_retval NS_OUTPARAM)
     105                 : {
     106                 :     return NS_ERROR_NOT_IMPLEMENTED;
     107                 : }
     108                 : 
     109                 : /* End of implementation class template. */
     110                 : #endif
     111                 : 
     112                 : 
     113                 : #endif /* __gen_nsPIPlacesDatabase_h__ */

Generated by: LCOV version 1.7