LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsISHistoryListener.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsISHistoryListener.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsISHistoryListener_h__
       6             : #define __gen_nsISHistoryListener_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 nsIURI; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsISHistoryListener */
      21             : #define NS_ISHISTORYLISTENER_IID_STR "125c0833-746a-400e-9b89-d2d18545c08a"
      22             : 
      23             : #define NS_ISHISTORYLISTENER_IID \
      24             :   {0x125c0833, 0x746a, 0x400e, \
      25             :     { 0x9b, 0x89, 0xd2, 0xd1, 0x85, 0x45, 0xc0, 0x8a }}
      26             : 
      27           0 : class NS_NO_VTABLE nsISHistoryListener : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISHISTORYLISTENER_IID)
      31             : 
      32             :   /* void OnHistoryNewEntry (in nsIURI aNewURI, in long aOldIndex); */
      33             :   NS_IMETHOD OnHistoryNewEntry(nsIURI *aNewURI, int32_t aOldIndex) = 0;
      34             : 
      35             :   /* boolean OnHistoryGoBack (in nsIURI aBackURI); */
      36             :   NS_IMETHOD OnHistoryGoBack(nsIURI *aBackURI, bool *_retval) = 0;
      37             : 
      38             :   /* boolean OnHistoryGoForward (in nsIURI aForwardURI); */
      39             :   NS_IMETHOD OnHistoryGoForward(nsIURI *aForwardURI, bool *_retval) = 0;
      40             : 
      41             :   /* boolean OnHistoryReload (in nsIURI aReloadURI, in unsigned long aReloadFlags); */
      42             :   NS_IMETHOD OnHistoryReload(nsIURI *aReloadURI, uint32_t aReloadFlags, bool *_retval) = 0;
      43             : 
      44             :   /* boolean OnHistoryGotoIndex (in long aIndex, in nsIURI aGotoURI); */
      45             :   NS_IMETHOD OnHistoryGotoIndex(int32_t aIndex, nsIURI *aGotoURI, bool *_retval) = 0;
      46             : 
      47             :   /* boolean OnHistoryPurge (in long aNumEntries); */
      48             :   NS_IMETHOD OnHistoryPurge(int32_t aNumEntries, bool *_retval) = 0;
      49             : 
      50             :   /* void OnHistoryReplaceEntry (in long aIndex); */
      51             :   NS_IMETHOD OnHistoryReplaceEntry(int32_t aIndex) = 0;
      52             : 
      53             :   /* void OnLengthChanged (in long aCount); */
      54             :   NS_IMETHOD OnLengthChanged(int32_t aCount) = 0;
      55             : 
      56             :   /* void OnIndexChanged (in long aIndex); */
      57             :   NS_IMETHOD OnIndexChanged(int32_t aIndex) = 0;
      58             : 
      59             : };
      60             : 
      61             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISHistoryListener, NS_ISHISTORYLISTENER_IID)
      62             : 
      63             : /* Use this macro when declaring classes that implement this interface. */
      64             : #define NS_DECL_NSISHISTORYLISTENER \
      65             :   NS_IMETHOD OnHistoryNewEntry(nsIURI *aNewURI, int32_t aOldIndex) override; \
      66             :   NS_IMETHOD OnHistoryGoBack(nsIURI *aBackURI, bool *_retval) override; \
      67             :   NS_IMETHOD OnHistoryGoForward(nsIURI *aForwardURI, bool *_retval) override; \
      68             :   NS_IMETHOD OnHistoryReload(nsIURI *aReloadURI, uint32_t aReloadFlags, bool *_retval) override; \
      69             :   NS_IMETHOD OnHistoryGotoIndex(int32_t aIndex, nsIURI *aGotoURI, bool *_retval) override; \
      70             :   NS_IMETHOD OnHistoryPurge(int32_t aNumEntries, bool *_retval) override; \
      71             :   NS_IMETHOD OnHistoryReplaceEntry(int32_t aIndex) override; \
      72             :   NS_IMETHOD OnLengthChanged(int32_t aCount) override; \
      73             :   NS_IMETHOD OnIndexChanged(int32_t aIndex) override; 
      74             : 
      75             : /* Use this macro when declaring the members of this interface when the
      76             :    class doesn't implement the interface. This is useful for forwarding. */
      77             : #define NS_DECL_NON_VIRTUAL_NSISHISTORYLISTENER \
      78             :   nsresult OnHistoryNewEntry(nsIURI *aNewURI, int32_t aOldIndex); \
      79             :   nsresult OnHistoryGoBack(nsIURI *aBackURI, bool *_retval); \
      80             :   nsresult OnHistoryGoForward(nsIURI *aForwardURI, bool *_retval); \
      81             :   nsresult OnHistoryReload(nsIURI *aReloadURI, uint32_t aReloadFlags, bool *_retval); \
      82             :   nsresult OnHistoryGotoIndex(int32_t aIndex, nsIURI *aGotoURI, bool *_retval); \
      83             :   nsresult OnHistoryPurge(int32_t aNumEntries, bool *_retval); \
      84             :   nsresult OnHistoryReplaceEntry(int32_t aIndex); \
      85             :   nsresult OnLengthChanged(int32_t aCount); \
      86             :   nsresult OnIndexChanged(int32_t aIndex); 
      87             : 
      88             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      89             : #define NS_FORWARD_NSISHISTORYLISTENER(_to) \
      90             :   NS_IMETHOD OnHistoryNewEntry(nsIURI *aNewURI, int32_t aOldIndex) override { return _to OnHistoryNewEntry(aNewURI, aOldIndex); } \
      91             :   NS_IMETHOD OnHistoryGoBack(nsIURI *aBackURI, bool *_retval) override { return _to OnHistoryGoBack(aBackURI, _retval); } \
      92             :   NS_IMETHOD OnHistoryGoForward(nsIURI *aForwardURI, bool *_retval) override { return _to OnHistoryGoForward(aForwardURI, _retval); } \
      93             :   NS_IMETHOD OnHistoryReload(nsIURI *aReloadURI, uint32_t aReloadFlags, bool *_retval) override { return _to OnHistoryReload(aReloadURI, aReloadFlags, _retval); } \
      94             :   NS_IMETHOD OnHistoryGotoIndex(int32_t aIndex, nsIURI *aGotoURI, bool *_retval) override { return _to OnHistoryGotoIndex(aIndex, aGotoURI, _retval); } \
      95             :   NS_IMETHOD OnHistoryPurge(int32_t aNumEntries, bool *_retval) override { return _to OnHistoryPurge(aNumEntries, _retval); } \
      96             :   NS_IMETHOD OnHistoryReplaceEntry(int32_t aIndex) override { return _to OnHistoryReplaceEntry(aIndex); } \
      97             :   NS_IMETHOD OnLengthChanged(int32_t aCount) override { return _to OnLengthChanged(aCount); } \
      98             :   NS_IMETHOD OnIndexChanged(int32_t aIndex) override { return _to OnIndexChanged(aIndex); } 
      99             : 
     100             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     101             : #define NS_FORWARD_SAFE_NSISHISTORYLISTENER(_to) \
     102             :   NS_IMETHOD OnHistoryNewEntry(nsIURI *aNewURI, int32_t aOldIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnHistoryNewEntry(aNewURI, aOldIndex); } \
     103             :   NS_IMETHOD OnHistoryGoBack(nsIURI *aBackURI, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnHistoryGoBack(aBackURI, _retval); } \
     104             :   NS_IMETHOD OnHistoryGoForward(nsIURI *aForwardURI, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnHistoryGoForward(aForwardURI, _retval); } \
     105             :   NS_IMETHOD OnHistoryReload(nsIURI *aReloadURI, uint32_t aReloadFlags, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnHistoryReload(aReloadURI, aReloadFlags, _retval); } \
     106             :   NS_IMETHOD OnHistoryGotoIndex(int32_t aIndex, nsIURI *aGotoURI, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnHistoryGotoIndex(aIndex, aGotoURI, _retval); } \
     107             :   NS_IMETHOD OnHistoryPurge(int32_t aNumEntries, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnHistoryPurge(aNumEntries, _retval); } \
     108             :   NS_IMETHOD OnHistoryReplaceEntry(int32_t aIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnHistoryReplaceEntry(aIndex); } \
     109             :   NS_IMETHOD OnLengthChanged(int32_t aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnLengthChanged(aCount); } \
     110             :   NS_IMETHOD OnIndexChanged(int32_t aIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnIndexChanged(aIndex); } 
     111             : 
     112             : #if 0
     113             : /* Use the code below as a template for the implementation class for this interface. */
     114             : 
     115             : /* Header file */
     116             : class nsSHistoryListener : public nsISHistoryListener
     117             : {
     118             : public:
     119             :   NS_DECL_ISUPPORTS
     120             :   NS_DECL_NSISHISTORYLISTENER
     121             : 
     122             :   nsSHistoryListener();
     123             : 
     124             : private:
     125             :   ~nsSHistoryListener();
     126             : 
     127             : protected:
     128             :   /* additional members */
     129             : };
     130             : 
     131             : /* Implementation file */
     132             : NS_IMPL_ISUPPORTS(nsSHistoryListener, nsISHistoryListener)
     133             : 
     134             : nsSHistoryListener::nsSHistoryListener()
     135             : {
     136             :   /* member initializers and constructor code */
     137             : }
     138             : 
     139             : nsSHistoryListener::~nsSHistoryListener()
     140             : {
     141             :   /* destructor code */
     142             : }
     143             : 
     144             : /* void OnHistoryNewEntry (in nsIURI aNewURI, in long aOldIndex); */
     145             : NS_IMETHODIMP nsSHistoryListener::OnHistoryNewEntry(nsIURI *aNewURI, int32_t aOldIndex)
     146             : {
     147             :     return NS_ERROR_NOT_IMPLEMENTED;
     148             : }
     149             : 
     150             : /* boolean OnHistoryGoBack (in nsIURI aBackURI); */
     151             : NS_IMETHODIMP nsSHistoryListener::OnHistoryGoBack(nsIURI *aBackURI, bool *_retval)
     152             : {
     153             :     return NS_ERROR_NOT_IMPLEMENTED;
     154             : }
     155             : 
     156             : /* boolean OnHistoryGoForward (in nsIURI aForwardURI); */
     157             : NS_IMETHODIMP nsSHistoryListener::OnHistoryGoForward(nsIURI *aForwardURI, bool *_retval)
     158             : {
     159             :     return NS_ERROR_NOT_IMPLEMENTED;
     160             : }
     161             : 
     162             : /* boolean OnHistoryReload (in nsIURI aReloadURI, in unsigned long aReloadFlags); */
     163             : NS_IMETHODIMP nsSHistoryListener::OnHistoryReload(nsIURI *aReloadURI, uint32_t aReloadFlags, bool *_retval)
     164             : {
     165             :     return NS_ERROR_NOT_IMPLEMENTED;
     166             : }
     167             : 
     168             : /* boolean OnHistoryGotoIndex (in long aIndex, in nsIURI aGotoURI); */
     169             : NS_IMETHODIMP nsSHistoryListener::OnHistoryGotoIndex(int32_t aIndex, nsIURI *aGotoURI, bool *_retval)
     170             : {
     171             :     return NS_ERROR_NOT_IMPLEMENTED;
     172             : }
     173             : 
     174             : /* boolean OnHistoryPurge (in long aNumEntries); */
     175             : NS_IMETHODIMP nsSHistoryListener::OnHistoryPurge(int32_t aNumEntries, bool *_retval)
     176             : {
     177             :     return NS_ERROR_NOT_IMPLEMENTED;
     178             : }
     179             : 
     180             : /* void OnHistoryReplaceEntry (in long aIndex); */
     181             : NS_IMETHODIMP nsSHistoryListener::OnHistoryReplaceEntry(int32_t aIndex)
     182             : {
     183             :     return NS_ERROR_NOT_IMPLEMENTED;
     184             : }
     185             : 
     186             : /* void OnLengthChanged (in long aCount); */
     187             : NS_IMETHODIMP nsSHistoryListener::OnLengthChanged(int32_t aCount)
     188             : {
     189             :     return NS_ERROR_NOT_IMPLEMENTED;
     190             : }
     191             : 
     192             : /* void OnIndexChanged (in long aIndex); */
     193             : NS_IMETHODIMP nsSHistoryListener::OnIndexChanged(int32_t aIndex)
     194             : {
     195             :     return NS_ERROR_NOT_IMPLEMENTED;
     196             : }
     197             : 
     198             : /* End of implementation class template. */
     199             : #endif
     200             : 
     201             : 
     202             : #endif /* __gen_nsISHistoryListener_h__ */

Generated by: LCOV version 1.13