LCOV - code coverage report
Current view: directory - objdir/dist/include - mozIStorageFunction.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/mozIStorageFunction.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_mozIStorageFunction_h__
       6                 : #define __gen_mozIStorageFunction_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_mozIStorageValueArray_h__
      14                 : #include "mozIStorageValueArray.h"
      15                 : #endif
      16                 : 
      17                 : /* For IDL files that don't want to include root IDL files. */
      18                 : #ifndef NS_NO_VTABLE
      19                 : #define NS_NO_VTABLE
      20                 : #endif
      21                 : class mozIStorageConnection; /* forward declaration */
      22                 : 
      23                 : class nsIArray; /* forward declaration */
      24                 : 
      25                 : class nsIVariant; /* forward declaration */
      26                 : 
      27                 : 
      28                 : /* starting interface:    mozIStorageFunction */
      29                 : #define MOZISTORAGEFUNCTION_IID_STR "9ff02465-21cb-49f3-b975-7d5b38ceec73"
      30                 : 
      31                 : #define MOZISTORAGEFUNCTION_IID \
      32                 :   {0x9ff02465, 0x21cb, 0x49f3, \
      33                 :     { 0xb9, 0x75, 0x7d, 0x5b, 0x38, 0xce, 0xec, 0x73 }}
      34                 : 
      35            1873 : class NS_NO_VTABLE NS_SCRIPTABLE mozIStorageFunction : public nsISupports {
      36                 :  public: 
      37                 : 
      38                 :   NS_DECLARE_STATIC_IID_ACCESSOR(MOZISTORAGEFUNCTION_IID)
      39                 : 
      40                 :   /* nsIVariant onFunctionCall (in mozIStorageValueArray aFunctionArguments); */
      41                 :   NS_SCRIPTABLE NS_IMETHOD OnFunctionCall(mozIStorageValueArray *aFunctionArguments, nsIVariant * *_retval NS_OUTPARAM) = 0;
      42                 : 
      43                 : };
      44                 : 
      45                 :   NS_DEFINE_STATIC_IID_ACCESSOR(mozIStorageFunction, MOZISTORAGEFUNCTION_IID)
      46                 : 
      47                 : /* Use this macro when declaring classes that implement this interface. */
      48                 : #define NS_DECL_MOZISTORAGEFUNCTION \
      49                 :   NS_SCRIPTABLE NS_IMETHOD OnFunctionCall(mozIStorageValueArray *aFunctionArguments, nsIVariant * *_retval NS_OUTPARAM); 
      50                 : 
      51                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      52                 : #define NS_FORWARD_MOZISTORAGEFUNCTION(_to) \
      53                 :   NS_SCRIPTABLE NS_IMETHOD OnFunctionCall(mozIStorageValueArray *aFunctionArguments, nsIVariant * *_retval NS_OUTPARAM) { return _to OnFunctionCall(aFunctionArguments, _retval); } 
      54                 : 
      55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      56                 : #define NS_FORWARD_SAFE_MOZISTORAGEFUNCTION(_to) \
      57                 :   NS_SCRIPTABLE NS_IMETHOD OnFunctionCall(mozIStorageValueArray *aFunctionArguments, nsIVariant * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnFunctionCall(aFunctionArguments, _retval); } 
      58                 : 
      59                 : #if 0
      60                 : /* Use the code below as a template for the implementation class for this interface. */
      61                 : 
      62                 : /* Header file */
      63                 : class _MYCLASS_ : public mozIStorageFunction
      64                 : {
      65                 : public:
      66                 :   NS_DECL_ISUPPORTS
      67                 :   NS_DECL_MOZISTORAGEFUNCTION
      68                 : 
      69                 :   _MYCLASS_();
      70                 : 
      71                 : private:
      72                 :   ~_MYCLASS_();
      73                 : 
      74                 : protected:
      75                 :   /* additional members */
      76                 : };
      77                 : 
      78                 : /* Implementation file */
      79                 : NS_IMPL_ISUPPORTS1(_MYCLASS_, mozIStorageFunction)
      80                 : 
      81                 : _MYCLASS_::_MYCLASS_()
      82                 : {
      83                 :   /* member initializers and constructor code */
      84                 : }
      85                 : 
      86                 : _MYCLASS_::~_MYCLASS_()
      87                 : {
      88                 :   /* destructor code */
      89                 : }
      90                 : 
      91                 : /* nsIVariant onFunctionCall (in mozIStorageValueArray aFunctionArguments); */
      92                 : NS_IMETHODIMP _MYCLASS_::OnFunctionCall(mozIStorageValueArray *aFunctionArguments, nsIVariant * *_retval NS_OUTPARAM)
      93                 : {
      94                 :     return NS_ERROR_NOT_IMPLEMENTED;
      95                 : }
      96                 : 
      97                 : /* End of implementation class template. */
      98                 : #endif
      99                 : 
     100                 : 
     101                 : #endif /* __gen_mozIStorageFunction_h__ */

Generated by: LCOV version 1.7