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

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/content/xul/templates/public/nsIXULTemplateQueryProcessor.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIXULTemplateQueryProcessor_h__
           6                 : #define __gen_nsIXULTemplateQueryProcessor_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_domstubs_h__
          10                 : #include "domstubs.h"
          11                 : #endif
          12                 :
          13                 : #ifndef __gen_nsISupports_h__
          14                 : #include "nsISupports.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 nsIAtom; /* forward declaration */
          22                 :
          23                 : class nsIArray; /* forward declaration */
          24                 :
          25                 : class nsISimpleEnumerator; /* forward declaration */
          26                 :
          27                 : class nsIXULTemplateResult; /* forward declaration */
          28                 :
          29                 : class nsIXULTemplateRuleFilter; /* forward declaration */
          30                 :
          31                 : class nsIXULTemplateBuilder; /* forward declaration */
          32                 :
          33                 :
          34                 : /* starting interface:    nsIXULTemplateQueryProcessor */
          35                 : #define NS_IXULTEMPLATEQUERYPROCESSOR_IID_STR "c257573f-444f-468a-ba27-de979dc55fe4"
          36                 :
          37                 : #define NS_IXULTEMPLATEQUERYPROCESSOR_IID \
          38                 :   {0xc257573f, 0x444f, 0x468a, \
          39                 :     { 0xba, 0x27, 0xde, 0x97, 0x9d, 0xc5, 0x5f, 0xe4 }}
          40                 :
          41               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIXULTemplateQueryProcessor : public nsISupports {
          42                 :  public:
          43                 :
          44                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXULTEMPLATEQUERYPROCESSOR_IID)
          45                 :
          46                 :   /* nsISupports getDatasource (in nsIArray aDataSources, in nsIDOMNode aRootNode, in boolean aIsTrusted, in nsIXULTemplateBuilder aBuilder, out boolean aShouldDelayBuilding); */
          47                 :   NS_SCRIPTABLE NS_IMETHOD GetDatasource(nsIArray *aDataSources, nsIDOMNode *aRootNode, bool aIsTrusted, nsIXULTemplateBuilder *aBuilder, bool *aShouldDelayBuilding NS_OUTPARAM, nsISupports * *_retval NS_OUTPARAM) = 0;
          48                 :
          49                 :   /* void initializeForBuilding (in nsISupports aDatasource, in nsIXULTemplateBuilder aBuilder, in nsIDOMNode aRootNode); */
          50                 :   NS_SCRIPTABLE NS_IMETHOD InitializeForBuilding(nsISupports *aDatasource, nsIXULTemplateBuilder *aBuilder, nsIDOMNode *aRootNode) = 0;
          51                 :
          52                 :   /* void done (); */
          53                 :   NS_SCRIPTABLE NS_IMETHOD Done(void) = 0;
          54                 :
          55                 :   /* nsISupports compileQuery (in nsIXULTemplateBuilder aBuilder, in nsIDOMNode aQuery, in nsIAtom aRefVariable, in nsIAtom aMemberVariable); */
          56                 :   NS_SCRIPTABLE NS_IMETHOD CompileQuery(nsIXULTemplateBuilder *aBuilder, nsIDOMNode *aQuery, nsIAtom *aRefVariable, nsIAtom *aMemberVariable, nsISupports * *_retval NS_OUTPARAM) = 0;
          57                 :
          58                 :   /* nsISimpleEnumerator generateResults (in nsISupports aDatasource, in nsIXULTemplateResult aRef, in nsISupports aQuery); */
          59                 :   NS_SCRIPTABLE NS_IMETHOD GenerateResults(nsISupports *aDatasource, nsIXULTemplateResult *aRef, nsISupports *aQuery, nsISimpleEnumerator * *_retval NS_OUTPARAM) = 0;
          60                 :
          61                 :   /* void addBinding (in nsIDOMNode aRuleNode, in nsIAtom aVar, in nsIAtom aRef, in AString aExpr); */
          62                 :   NS_SCRIPTABLE NS_IMETHOD AddBinding(nsIDOMNode *aRuleNode, nsIAtom *aVar, nsIAtom *aRef, const nsAString & aExpr) = 0;
          63                 :
          64                 :   /* nsIXULTemplateResult translateRef (in nsISupports aDatasource, in AString aRefString); */
          65                 :   NS_SCRIPTABLE NS_IMETHOD TranslateRef(nsISupports *aDatasource, const nsAString & aRefString, nsIXULTemplateResult * *_retval NS_OUTPARAM) = 0;
          66                 :
          67                 :   /* PRInt32 compareResults (in nsIXULTemplateResult aLeft, in nsIXULTemplateResult aRight, in nsIAtom aVar, in unsigned long aSortHints); */
          68                 :   NS_SCRIPTABLE NS_IMETHOD CompareResults(nsIXULTemplateResult *aLeft, nsIXULTemplateResult *aRight, nsIAtom *aVar, PRUint32 aSortHints, PRInt32 *_retval NS_OUTPARAM) = 0;
          69                 :
          70                 : };
          71                 :
          72                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIXULTemplateQueryProcessor, NS_IXULTEMPLATEQUERYPROCESSOR_IID)
          73                 :
          74                 : /* Use this macro when declaring classes that implement this interface. */
          75                 : #define NS_DECL_NSIXULTEMPLATEQUERYPROCESSOR \
          76                 :   NS_SCRIPTABLE NS_IMETHOD GetDatasource(nsIArray *aDataSources, nsIDOMNode *aRootNode, bool aIsTrusted, nsIXULTemplateBuilder *aBuilder, bool *aShouldDelayBuilding NS_OUTPARAM, nsISupports * *_retval NS_OUTPARAM); \
          77                 :   NS_SCRIPTABLE NS_IMETHOD InitializeForBuilding(nsISupports *aDatasource, nsIXULTemplateBuilder *aBuilder, nsIDOMNode *aRootNode); \
          78                 :   NS_SCRIPTABLE NS_IMETHOD Done(void); \
          79                 :   NS_SCRIPTABLE NS_IMETHOD CompileQuery(nsIXULTemplateBuilder *aBuilder, nsIDOMNode *aQuery, nsIAtom *aRefVariable, nsIAtom *aMemberVariable, nsISupports * *_retval NS_OUTPARAM); \
          80                 :   NS_SCRIPTABLE NS_IMETHOD GenerateResults(nsISupports *aDatasource, nsIXULTemplateResult *aRef, nsISupports *aQuery, nsISimpleEnumerator * *_retval NS_OUTPARAM); \
          81                 :   NS_SCRIPTABLE NS_IMETHOD AddBinding(nsIDOMNode *aRuleNode, nsIAtom *aVar, nsIAtom *aRef, const nsAString & aExpr); \
          82                 :   NS_SCRIPTABLE NS_IMETHOD TranslateRef(nsISupports *aDatasource, const nsAString & aRefString, nsIXULTemplateResult * *_retval NS_OUTPARAM); \
          83                 :   NS_SCRIPTABLE NS_IMETHOD CompareResults(nsIXULTemplateResult *aLeft, nsIXULTemplateResult *aRight, nsIAtom *aVar, PRUint32 aSortHints, PRInt32 *_retval NS_OUTPARAM);
          84                 :
          85                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          86                 : #define NS_FORWARD_NSIXULTEMPLATEQUERYPROCESSOR(_to) \
          87                 :   NS_SCRIPTABLE NS_IMETHOD GetDatasource(nsIArray *aDataSources, nsIDOMNode *aRootNode, bool aIsTrusted, nsIXULTemplateBuilder *aBuilder, bool *aShouldDelayBuilding NS_OUTPARAM, nsISupports * *_retval NS_OUTPARAM) { return _to GetDatasource(aDataSources, aRootNode, aIsTrusted, aBuilder, aShouldDelayBuilding, _retval); } \
          88                 :   NS_SCRIPTABLE NS_IMETHOD InitializeForBuilding(nsISupports *aDatasource, nsIXULTemplateBuilder *aBuilder, nsIDOMNode *aRootNode) { return _to InitializeForBuilding(aDatasource, aBuilder, aRootNode); } \
          89                 :   NS_SCRIPTABLE NS_IMETHOD Done(void) { return _to Done(); } \
          90                 :   NS_SCRIPTABLE NS_IMETHOD CompileQuery(nsIXULTemplateBuilder *aBuilder, nsIDOMNode *aQuery, nsIAtom *aRefVariable, nsIAtom *aMemberVariable, nsISupports * *_retval NS_OUTPARAM) { return _to CompileQuery(aBuilder, aQuery, aRefVariable, aMemberVariable, _retval); } \
          91                 :   NS_SCRIPTABLE NS_IMETHOD GenerateResults(nsISupports *aDatasource, nsIXULTemplateResult *aRef, nsISupports *aQuery, nsISimpleEnumerator * *_retval NS_OUTPARAM) { return _to GenerateResults(aDatasource, aRef, aQuery, _retval); } \
          92                 :   NS_SCRIPTABLE NS_IMETHOD AddBinding(nsIDOMNode *aRuleNode, nsIAtom *aVar, nsIAtom *aRef, const nsAString & aExpr) { return _to AddBinding(aRuleNode, aVar, aRef, aExpr); } \
          93                 :   NS_SCRIPTABLE NS_IMETHOD TranslateRef(nsISupports *aDatasource, const nsAString & aRefString, nsIXULTemplateResult * *_retval NS_OUTPARAM) { return _to TranslateRef(aDatasource, aRefString, _retval); } \
          94                 :   NS_SCRIPTABLE NS_IMETHOD CompareResults(nsIXULTemplateResult *aLeft, nsIXULTemplateResult *aRight, nsIAtom *aVar, PRUint32 aSortHints, PRInt32 *_retval NS_OUTPARAM) { return _to CompareResults(aLeft, aRight, aVar, aSortHints, _retval); }
          95                 :
          96                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          97                 : #define NS_FORWARD_SAFE_NSIXULTEMPLATEQUERYPROCESSOR(_to) \
          98                 :   NS_SCRIPTABLE NS_IMETHOD GetDatasource(nsIArray *aDataSources, nsIDOMNode *aRootNode, bool aIsTrusted, nsIXULTemplateBuilder *aBuilder, bool *aShouldDelayBuilding NS_OUTPARAM, nsISupports * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDatasource(aDataSources, aRootNode, aIsTrusted, aBuilder, aShouldDelayBuilding, _retval); } \
          99                 :   NS_SCRIPTABLE NS_IMETHOD InitializeForBuilding(nsISupports *aDatasource, nsIXULTemplateBuilder *aBuilder, nsIDOMNode *aRootNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitializeForBuilding(aDatasource, aBuilder, aRootNode); } \
         100                 :   NS_SCRIPTABLE NS_IMETHOD Done(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Done(); } \
         101                 :   NS_SCRIPTABLE NS_IMETHOD CompileQuery(nsIXULTemplateBuilder *aBuilder, nsIDOMNode *aQuery, nsIAtom *aRefVariable, nsIAtom *aMemberVariable, nsISupports * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompileQuery(aBuilder, aQuery, aRefVariable, aMemberVariable, _retval); } \
         102                 :   NS_SCRIPTABLE NS_IMETHOD GenerateResults(nsISupports *aDatasource, nsIXULTemplateResult *aRef, nsISupports *aQuery, nsISimpleEnumerator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GenerateResults(aDatasource, aRef, aQuery, _retval); } \
         103                 :   NS_SCRIPTABLE NS_IMETHOD AddBinding(nsIDOMNode *aRuleNode, nsIAtom *aVar, nsIAtom *aRef, const nsAString & aExpr) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddBinding(aRuleNode, aVar, aRef, aExpr); } \
         104                 :   NS_SCRIPTABLE NS_IMETHOD TranslateRef(nsISupports *aDatasource, const nsAString & aRefString, nsIXULTemplateResult * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TranslateRef(aDatasource, aRefString, _retval); } \
         105                 :   NS_SCRIPTABLE NS_IMETHOD CompareResults(nsIXULTemplateResult *aLeft, nsIXULTemplateResult *aRight, nsIAtom *aVar, PRUint32 aSortHints, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompareResults(aLeft, aRight, aVar, aSortHints, _retval); }
         106                 :
         107                 : #if 0
         108                 : /* Use the code below as a template for the implementation class for this interface. */
         109                 :
         110                 : /* Header file */
         111                 : class nsXULTemplateQueryProcessor : public nsIXULTemplateQueryProcessor
         112                 : {
         113                 : public:
         114                 :   NS_DECL_ISUPPORTS
         115                 :   NS_DECL_NSIXULTEMPLATEQUERYPROCESSOR
         116                 :
         117                 :   nsXULTemplateQueryProcessor();
         118                 :
         119                 : private:
         120                 :   ~nsXULTemplateQueryProcessor();
         121                 :
         122                 : protected:
         123                 :   /* additional members */
         124                 : };
         125                 :
         126                 : /* Implementation file */
         127                 : NS_IMPL_ISUPPORTS1(nsXULTemplateQueryProcessor, nsIXULTemplateQueryProcessor)
         128                 :
         129                 : nsXULTemplateQueryProcessor::nsXULTemplateQueryProcessor()
         130                 : {
         131                 :   /* member initializers and constructor code */
         132                 : }
         133                 :
         134                 : nsXULTemplateQueryProcessor::~nsXULTemplateQueryProcessor()
         135                 : {
         136                 :   /* destructor code */
         137                 : }
         138                 :
         139                 : /* nsISupports getDatasource (in nsIArray aDataSources, in nsIDOMNode aRootNode, in boolean aIsTrusted, in nsIXULTemplateBuilder aBuilder, out boolean aShouldDelayBuilding); */
         140                 : NS_IMETHODIMP nsXULTemplateQueryProcessor::GetDatasource(nsIArray *aDataSources, nsIDOMNode *aRootNode, bool aIsTrusted, nsIXULTemplateBuilder *aBuilder, bool *aShouldDelayBuilding NS_OUTPARAM, nsISupports * *_retval NS_OUTPARAM)
         141                 : {
         142                 :     return NS_ERROR_NOT_IMPLEMENTED;
         143                 : }
         144                 :
         145                 : /* void initializeForBuilding (in nsISupports aDatasource, in nsIXULTemplateBuilder aBuilder, in nsIDOMNode aRootNode); */
         146                 : NS_IMETHODIMP nsXULTemplateQueryProcessor::InitializeForBuilding(nsISupports *aDatasource, nsIXULTemplateBuilder *aBuilder, nsIDOMNode *aRootNode)
         147                 : {
         148                 :     return NS_ERROR_NOT_IMPLEMENTED;
         149                 : }
         150                 :
         151                 : /* void done (); */
         152                 : NS_IMETHODIMP nsXULTemplateQueryProcessor::Done()
         153                 : {
         154                 :     return NS_ERROR_NOT_IMPLEMENTED;
         155                 : }
         156                 :
         157                 : /* nsISupports compileQuery (in nsIXULTemplateBuilder aBuilder, in nsIDOMNode aQuery, in nsIAtom aRefVariable, in nsIAtom aMemberVariable); */
         158                 : NS_IMETHODIMP nsXULTemplateQueryProcessor::CompileQuery(nsIXULTemplateBuilder *aBuilder, nsIDOMNode *aQuery, nsIAtom *aRefVariable, nsIAtom *aMemberVariable, nsISupports * *_retval NS_OUTPARAM)
         159                 : {
         160                 :     return NS_ERROR_NOT_IMPLEMENTED;
         161                 : }
         162                 :
         163                 : /* nsISimpleEnumerator generateResults (in nsISupports aDatasource, in nsIXULTemplateResult aRef, in nsISupports aQuery); */
         164                 : NS_IMETHODIMP nsXULTemplateQueryProcessor::GenerateResults(nsISupports *aDatasource, nsIXULTemplateResult *aRef, nsISupports *aQuery, nsISimpleEnumerator * *_retval NS_OUTPARAM)
         165                 : {
         166                 :     return NS_ERROR_NOT_IMPLEMENTED;
         167                 : }
         168                 :
         169                 : /* void addBinding (in nsIDOMNode aRuleNode, in nsIAtom aVar, in nsIAtom aRef, in AString aExpr); */
         170                 : NS_IMETHODIMP nsXULTemplateQueryProcessor::AddBinding(nsIDOMNode *aRuleNode, nsIAtom *aVar, nsIAtom *aRef, const nsAString & aExpr)
         171                 : {
         172                 :     return NS_ERROR_NOT_IMPLEMENTED;
         173                 : }
         174                 :
         175                 : /* nsIXULTemplateResult translateRef (in nsISupports aDatasource, in AString aRefString); */
         176                 : NS_IMETHODIMP nsXULTemplateQueryProcessor::TranslateRef(nsISupports *aDatasource, const nsAString & aRefString, nsIXULTemplateResult * *_retval NS_OUTPARAM)
         177                 : {
         178                 :     return NS_ERROR_NOT_IMPLEMENTED;
         179                 : }
         180                 :
         181                 : /* PRInt32 compareResults (in nsIXULTemplateResult aLeft, in nsIXULTemplateResult aRight, in nsIAtom aVar, in unsigned long aSortHints); */
         182                 : NS_IMETHODIMP nsXULTemplateQueryProcessor::CompareResults(nsIXULTemplateResult *aLeft, nsIXULTemplateResult *aRight, nsIAtom *aVar, PRUint32 aSortHints, PRInt32 *_retval NS_OUTPARAM)
         183                 : {
         184                 :     return NS_ERROR_NOT_IMPLEMENTED;
         185                 : }
         186                 :
         187                 : /* End of implementation class template. */
         188                 : #endif
         189                 :
         190                 :
         191                 : #endif /* __gen_nsIXULTemplateQueryProcessor_h__ */

Generated by: LCOV version 1.7