LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIExternalProtocolHandler.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/netwerk/base/public/nsIExternalProtocolHandler.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIExternalProtocolHandler_h__
       6                 : #define __gen_nsIExternalProtocolHandler_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIProtocolHandler_h__
      10                 : #include "nsIProtocolHandler.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                 : 
      18                 : /* starting interface:    nsIExternalProtocolHandler */
      19                 : #define NS_IEXTERNALPROTOCOLHANDLER_IID_STR "0e61f3b2-34d7-4c79-bfdc-4860bc7341b7"
      20                 : 
      21                 : #define NS_IEXTERNALPROTOCOLHANDLER_IID \
      22                 :   {0x0e61f3b2, 0x34d7, 0x4c79, \
      23                 :     { 0xbf, 0xdc, 0x48, 0x60, 0xbc, 0x73, 0x41, 0xb7 }}
      24                 : 
      25              13 : class NS_NO_VTABLE NS_SCRIPTABLE nsIExternalProtocolHandler : public nsIProtocolHandler {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEXTERNALPROTOCOLHANDLER_IID)
      29                 : 
      30                 :   /* boolean externalAppExistsForScheme (in ACString scheme); */
      31                 :   NS_SCRIPTABLE NS_IMETHOD ExternalAppExistsForScheme(const nsACString & scheme, bool *_retval NS_OUTPARAM) = 0;
      32                 : 
      33                 : };
      34                 : 
      35                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIExternalProtocolHandler, NS_IEXTERNALPROTOCOLHANDLER_IID)
      36                 : 
      37                 : /* Use this macro when declaring classes that implement this interface. */
      38                 : #define NS_DECL_NSIEXTERNALPROTOCOLHANDLER \
      39                 :   NS_SCRIPTABLE NS_IMETHOD ExternalAppExistsForScheme(const nsACString & scheme, bool *_retval NS_OUTPARAM); 
      40                 : 
      41                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      42                 : #define NS_FORWARD_NSIEXTERNALPROTOCOLHANDLER(_to) \
      43                 :   NS_SCRIPTABLE NS_IMETHOD ExternalAppExistsForScheme(const nsACString & scheme, bool *_retval NS_OUTPARAM) { return _to ExternalAppExistsForScheme(scheme, _retval); } 
      44                 : 
      45                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      46                 : #define NS_FORWARD_SAFE_NSIEXTERNALPROTOCOLHANDLER(_to) \
      47                 :   NS_SCRIPTABLE NS_IMETHOD ExternalAppExistsForScheme(const nsACString & scheme, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ExternalAppExistsForScheme(scheme, _retval); } 
      48                 : 
      49                 : #if 0
      50                 : /* Use the code below as a template for the implementation class for this interface. */
      51                 : 
      52                 : /* Header file */
      53                 : class nsExternalProtocolHandler : public nsIExternalProtocolHandler
      54                 : {
      55                 : public:
      56                 :   NS_DECL_ISUPPORTS
      57                 :   NS_DECL_NSIEXTERNALPROTOCOLHANDLER
      58                 : 
      59                 :   nsExternalProtocolHandler();
      60                 : 
      61                 : private:
      62                 :   ~nsExternalProtocolHandler();
      63                 : 
      64                 : protected:
      65                 :   /* additional members */
      66                 : };
      67                 : 
      68                 : /* Implementation file */
      69                 : NS_IMPL_ISUPPORTS1(nsExternalProtocolHandler, nsIExternalProtocolHandler)
      70                 : 
      71                 : nsExternalProtocolHandler::nsExternalProtocolHandler()
      72                 : {
      73                 :   /* member initializers and constructor code */
      74                 : }
      75                 : 
      76                 : nsExternalProtocolHandler::~nsExternalProtocolHandler()
      77                 : {
      78                 :   /* destructor code */
      79                 : }
      80                 : 
      81                 : /* boolean externalAppExistsForScheme (in ACString scheme); */
      82                 : NS_IMETHODIMP nsExternalProtocolHandler::ExternalAppExistsForScheme(const nsACString & scheme, bool *_retval NS_OUTPARAM)
      83                 : {
      84                 :     return NS_ERROR_NOT_IMPLEMENTED;
      85                 : }
      86                 : 
      87                 : /* End of implementation class template. */
      88                 : #endif
      89                 : 
      90                 : 
      91                 : #endif /* __gen_nsIExternalProtocolHandler_h__ */

Generated by: LCOV version 1.7