LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIWebNavigationInfo.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/docshell/base/nsIWebNavigationInfo.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIWebNavigationInfo_h__
       6                 : #define __gen_nsIWebNavigationInfo_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 nsIWebNavigation; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsIWebNavigationInfo */
      21                 : #define NS_IWEBNAVIGATIONINFO_IID_STR "62a93afb-93a1-465c-84c8-0432264229de"
      22                 : 
      23                 : #define NS_IWEBNAVIGATIONINFO_IID \
      24                 :   {0x62a93afb, 0x93a1, 0x465c, \
      25                 :     { 0x84, 0xc8, 0x04, 0x32, 0x26, 0x42, 0x29, 0xde }}
      26                 : 
      27               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIWebNavigationInfo : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWEBNAVIGATIONINFO_IID)
      31                 : 
      32                 :   enum {
      33                 :     UNSUPPORTED = 0U,
      34                 :     IMAGE = 1U,
      35                 :     PLUGIN = 2U,
      36                 :     OTHER = 32768U
      37                 :   };
      38                 : 
      39                 :   /* unsigned long isTypeSupported (in ACString aType, in nsIWebNavigation aWebNav); */
      40                 :   NS_SCRIPTABLE NS_IMETHOD IsTypeSupported(const nsACString & aType, nsIWebNavigation *aWebNav, PRUint32 *_retval NS_OUTPARAM) = 0;
      41                 : 
      42                 : };
      43                 : 
      44                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIWebNavigationInfo, NS_IWEBNAVIGATIONINFO_IID)
      45                 : 
      46                 : /* Use this macro when declaring classes that implement this interface. */
      47                 : #define NS_DECL_NSIWEBNAVIGATIONINFO \
      48                 :   NS_SCRIPTABLE NS_IMETHOD IsTypeSupported(const nsACString & aType, nsIWebNavigation *aWebNav, PRUint32 *_retval NS_OUTPARAM); 
      49                 : 
      50                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      51                 : #define NS_FORWARD_NSIWEBNAVIGATIONINFO(_to) \
      52                 :   NS_SCRIPTABLE NS_IMETHOD IsTypeSupported(const nsACString & aType, nsIWebNavigation *aWebNav, PRUint32 *_retval NS_OUTPARAM) { return _to IsTypeSupported(aType, aWebNav, _retval); } 
      53                 : 
      54                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      55                 : #define NS_FORWARD_SAFE_NSIWEBNAVIGATIONINFO(_to) \
      56                 :   NS_SCRIPTABLE NS_IMETHOD IsTypeSupported(const nsACString & aType, nsIWebNavigation *aWebNav, PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsTypeSupported(aType, aWebNav, _retval); } 
      57                 : 
      58                 : #if 0
      59                 : /* Use the code below as a template for the implementation class for this interface. */
      60                 : 
      61                 : /* Header file */
      62                 : class nsWebNavigationInfo : public nsIWebNavigationInfo
      63                 : {
      64                 : public:
      65                 :   NS_DECL_ISUPPORTS
      66                 :   NS_DECL_NSIWEBNAVIGATIONINFO
      67                 : 
      68                 :   nsWebNavigationInfo();
      69                 : 
      70                 : private:
      71                 :   ~nsWebNavigationInfo();
      72                 : 
      73                 : protected:
      74                 :   /* additional members */
      75                 : };
      76                 : 
      77                 : /* Implementation file */
      78                 : NS_IMPL_ISUPPORTS1(nsWebNavigationInfo, nsIWebNavigationInfo)
      79                 : 
      80                 : nsWebNavigationInfo::nsWebNavigationInfo()
      81                 : {
      82                 :   /* member initializers and constructor code */
      83                 : }
      84                 : 
      85                 : nsWebNavigationInfo::~nsWebNavigationInfo()
      86                 : {
      87                 :   /* destructor code */
      88                 : }
      89                 : 
      90                 : /* unsigned long isTypeSupported (in ACString aType, in nsIWebNavigation aWebNav); */
      91                 : NS_IMETHODIMP nsWebNavigationInfo::IsTypeSupported(const nsACString & aType, nsIWebNavigation *aWebNav, PRUint32 *_retval NS_OUTPARAM)
      92                 : {
      93                 :     return NS_ERROR_NOT_IMPLEMENTED;
      94                 : }
      95                 : 
      96                 : /* End of implementation class template. */
      97                 : #endif
      98                 : 
      99                 : 
     100                 : #endif /* __gen_nsIWebNavigationInfo_h__ */

Generated by: LCOV version 1.7