LCOV - app.info - objdir/dist/include/mozIStorageVacuumParticipant.h

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - mozIStorageVacuumParticipant.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/storage/public/mozIStorageVacuumParticipant.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_mozIStorageVacuumParticipant_h__
           6                 : #define __gen_mozIStorageVacuumParticipant_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                 :
          20                 : /* starting interface:    mozIStorageVacuumParticipant */
          21                 : #define MOZISTORAGEVACUUMPARTICIPANT_IID_STR "8f367508-1d9a-4d3f-be0c-ac11b6dd7dbf"
          22                 :
          23                 : #define MOZISTORAGEVACUUMPARTICIPANT_IID \
          24                 :   {0x8f367508, 0x1d9a, 0x4d3f, \
          25                 :     { 0xbe, 0x0c, 0xac, 0x11, 0xb6, 0xdd, 0x7d, 0xbf }}
          26                 :
          27             263 : class NS_NO_VTABLE NS_SCRIPTABLE mozIStorageVacuumParticipant : public nsISupports {
          28                 :  public:
          29                 :
          30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(MOZISTORAGEVACUUMPARTICIPANT_IID)
          31                 :
          32                 :   /* readonly attribute long expectedDatabasePageSize; */
          33                 :   NS_SCRIPTABLE NS_IMETHOD GetExpectedDatabasePageSize(PRInt32 *aExpectedDatabasePageSize) = 0;
          34                 :
          35                 :   /* readonly attribute mozIStorageConnection databaseConnection; */
          36                 :   NS_SCRIPTABLE NS_IMETHOD GetDatabaseConnection(mozIStorageConnection * *aDatabaseConnection) = 0;
          37                 :
          38                 :   /* boolean onBeginVacuum (); */
          39                 :   NS_SCRIPTABLE NS_IMETHOD OnBeginVacuum(bool *_retval NS_OUTPARAM) = 0;
          40                 :
          41                 :   /* void onEndVacuum (in boolean aSucceeded); */
          42                 :   NS_SCRIPTABLE NS_IMETHOD OnEndVacuum(bool aSucceeded) = 0;
          43                 :
          44                 : };
          45                 :
          46                 :   NS_DEFINE_STATIC_IID_ACCESSOR(mozIStorageVacuumParticipant, MOZISTORAGEVACUUMPARTICIPANT_IID)
          47                 :
          48                 : /* Use this macro when declaring classes that implement this interface. */
          49                 : #define NS_DECL_MOZISTORAGEVACUUMPARTICIPANT \
          50                 :   NS_SCRIPTABLE NS_IMETHOD GetExpectedDatabasePageSize(PRInt32 *aExpectedDatabasePageSize); \
          51                 :   NS_SCRIPTABLE NS_IMETHOD GetDatabaseConnection(mozIStorageConnection * *aDatabaseConnection); \
          52                 :   NS_SCRIPTABLE NS_IMETHOD OnBeginVacuum(bool *_retval NS_OUTPARAM); \
          53                 :   NS_SCRIPTABLE NS_IMETHOD OnEndVacuum(bool aSucceeded);
          54                 :
          55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          56                 : #define NS_FORWARD_MOZISTORAGEVACUUMPARTICIPANT(_to) \
          57                 :   NS_SCRIPTABLE NS_IMETHOD GetExpectedDatabasePageSize(PRInt32 *aExpectedDatabasePageSize) { return _to GetExpectedDatabasePageSize(aExpectedDatabasePageSize); } \
          58                 :   NS_SCRIPTABLE NS_IMETHOD GetDatabaseConnection(mozIStorageConnection * *aDatabaseConnection) { return _to GetDatabaseConnection(aDatabaseConnection); } \
          59                 :   NS_SCRIPTABLE NS_IMETHOD OnBeginVacuum(bool *_retval NS_OUTPARAM) { return _to OnBeginVacuum(_retval); } \
          60                 :   NS_SCRIPTABLE NS_IMETHOD OnEndVacuum(bool aSucceeded) { return _to OnEndVacuum(aSucceeded); }
          61                 :
          62                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          63                 : #define NS_FORWARD_SAFE_MOZISTORAGEVACUUMPARTICIPANT(_to) \
          64                 :   NS_SCRIPTABLE NS_IMETHOD GetExpectedDatabasePageSize(PRInt32 *aExpectedDatabasePageSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExpectedDatabasePageSize(aExpectedDatabasePageSize); } \
          65                 :   NS_SCRIPTABLE NS_IMETHOD GetDatabaseConnection(mozIStorageConnection * *aDatabaseConnection) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDatabaseConnection(aDatabaseConnection); } \
          66                 :   NS_SCRIPTABLE NS_IMETHOD OnBeginVacuum(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnBeginVacuum(_retval); } \
          67                 :   NS_SCRIPTABLE NS_IMETHOD OnEndVacuum(bool aSucceeded) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnEndVacuum(aSucceeded); }
          68                 :
          69                 : #if 0
          70                 : /* Use the code below as a template for the implementation class for this interface. */
          71                 :
          72                 : /* Header file */
          73                 : class _MYCLASS_ : public mozIStorageVacuumParticipant
          74                 : {
          75                 : public:
          76                 :   NS_DECL_ISUPPORTS
          77                 :   NS_DECL_MOZISTORAGEVACUUMPARTICIPANT
          78                 :
          79                 :   _MYCLASS_();
          80                 :
          81                 : private:
          82                 :   ~_MYCLASS_();
          83                 :
          84                 : protected:
          85                 :   /* additional members */
          86                 : };
          87                 :
          88                 : /* Implementation file */
          89                 : NS_IMPL_ISUPPORTS1(_MYCLASS_, mozIStorageVacuumParticipant)
          90                 :
          91                 : _MYCLASS_::_MYCLASS_()
          92                 : {
          93                 :   /* member initializers and constructor code */
          94                 : }
          95                 :
          96                 : _MYCLASS_::~_MYCLASS_()
          97                 : {
          98                 :   /* destructor code */
          99                 : }
         100                 :
         101                 : /* readonly attribute long expectedDatabasePageSize; */
         102                 : NS_IMETHODIMP _MYCLASS_::GetExpectedDatabasePageSize(PRInt32 *aExpectedDatabasePageSize)
         103                 : {
         104                 :     return NS_ERROR_NOT_IMPLEMENTED;
         105                 : }
         106                 :
         107                 : /* readonly attribute mozIStorageConnection databaseConnection; */
         108                 : NS_IMETHODIMP _MYCLASS_::GetDatabaseConnection(mozIStorageConnection * *aDatabaseConnection)
         109                 : {
         110                 :     return NS_ERROR_NOT_IMPLEMENTED;
         111                 : }
         112                 :
         113                 : /* boolean onBeginVacuum (); */
         114                 : NS_IMETHODIMP _MYCLASS_::OnBeginVacuum(bool *_retval NS_OUTPARAM)
         115                 : {
         116                 :     return NS_ERROR_NOT_IMPLEMENTED;
         117                 : }
         118                 :
         119                 : /* void onEndVacuum (in boolean aSucceeded); */
         120                 : NS_IMETHODIMP _MYCLASS_::OnEndVacuum(bool aSucceeded)
         121                 : {
         122                 :     return NS_ERROR_NOT_IMPLEMENTED;
         123                 : }
         124                 :
         125                 : /* End of implementation class template. */
         126                 : #endif
         127                 :
         128                 :
         129                 : #endif /* __gen_mozIStorageVacuumParticipant_h__ */

Generated by: LCOV version 1.7