LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIApplicationChooser.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/nsIApplicationChooser.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIApplicationChooser_h__
       6             : #define __gen_nsIApplicationChooser_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsIMIMEInfo_h__
      14             : #include "nsIMIMEInfo.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 mozIDOMWindowProxy; /* forward declaration */
      22             : 
      23             : 
      24             : /* starting interface:    nsIApplicationChooserFinishedCallback */
      25             : #define NS_IAPPLICATIONCHOOSERFINISHEDCALLBACK_IID_STR "8144404d-e6c7-4861-bcca-47de912ee811"
      26             : 
      27             : #define NS_IAPPLICATIONCHOOSERFINISHEDCALLBACK_IID \
      28             :   {0x8144404d, 0xe6c7, 0x4861, \
      29             :     { 0xbc, 0xca, 0x47, 0xde, 0x91, 0x2e, 0xe8, 0x11 }}
      30             : 
      31             : class NS_NO_VTABLE nsIApplicationChooserFinishedCallback : public nsISupports {
      32             :  public:
      33             : 
      34             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IAPPLICATIONCHOOSERFINISHEDCALLBACK_IID)
      35             : 
      36             :   /* void done (in nsIHandlerApp handlerApp); */
      37             :   NS_IMETHOD Done(nsIHandlerApp *handlerApp) = 0;
      38             : 
      39             : };
      40             : 
      41             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIApplicationChooserFinishedCallback, NS_IAPPLICATIONCHOOSERFINISHEDCALLBACK_IID)
      42             : 
      43             : /* Use this macro when declaring classes that implement this interface. */
      44             : #define NS_DECL_NSIAPPLICATIONCHOOSERFINISHEDCALLBACK \
      45             :   NS_IMETHOD Done(nsIHandlerApp *handlerApp) override; 
      46             : 
      47             : /* Use this macro when declaring the members of this interface when the
      48             :    class doesn't implement the interface. This is useful for forwarding. */
      49             : #define NS_DECL_NON_VIRTUAL_NSIAPPLICATIONCHOOSERFINISHEDCALLBACK \
      50             :   nsresult Done(nsIHandlerApp *handlerApp); 
      51             : 
      52             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      53             : #define NS_FORWARD_NSIAPPLICATIONCHOOSERFINISHEDCALLBACK(_to) \
      54             :   NS_IMETHOD Done(nsIHandlerApp *handlerApp) override { return _to Done(handlerApp); } 
      55             : 
      56             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      57             : #define NS_FORWARD_SAFE_NSIAPPLICATIONCHOOSERFINISHEDCALLBACK(_to) \
      58             :   NS_IMETHOD Done(nsIHandlerApp *handlerApp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Done(handlerApp); } 
      59             : 
      60             : #if 0
      61             : /* Use the code below as a template for the implementation class for this interface. */
      62             : 
      63             : /* Header file */
      64             : class nsApplicationChooserFinishedCallback : public nsIApplicationChooserFinishedCallback
      65             : {
      66             : public:
      67             :   NS_DECL_ISUPPORTS
      68             :   NS_DECL_NSIAPPLICATIONCHOOSERFINISHEDCALLBACK
      69             : 
      70             :   nsApplicationChooserFinishedCallback();
      71             : 
      72             : private:
      73             :   ~nsApplicationChooserFinishedCallback();
      74             : 
      75             : protected:
      76             :   /* additional members */
      77             : };
      78             : 
      79             : /* Implementation file */
      80             : NS_IMPL_ISUPPORTS(nsApplicationChooserFinishedCallback, nsIApplicationChooserFinishedCallback)
      81             : 
      82             : nsApplicationChooserFinishedCallback::nsApplicationChooserFinishedCallback()
      83             : {
      84             :   /* member initializers and constructor code */
      85             : }
      86             : 
      87             : nsApplicationChooserFinishedCallback::~nsApplicationChooserFinishedCallback()
      88             : {
      89             :   /* destructor code */
      90             : }
      91             : 
      92             : /* void done (in nsIHandlerApp handlerApp); */
      93             : NS_IMETHODIMP nsApplicationChooserFinishedCallback::Done(nsIHandlerApp *handlerApp)
      94             : {
      95             :     return NS_ERROR_NOT_IMPLEMENTED;
      96             : }
      97             : 
      98             : /* End of implementation class template. */
      99             : #endif
     100             : 
     101             : 
     102             : /* starting interface:    nsIApplicationChooser */
     103             : #define NS_IAPPLICATIONCHOOSER_IID_STR "f7a149da-612a-46ba-8a2f-54786fc28791"
     104             : 
     105             : #define NS_IAPPLICATIONCHOOSER_IID \
     106             :   {0xf7a149da, 0x612a, 0x46ba, \
     107             :     { 0x8a, 0x2f, 0x54, 0x78, 0x6f, 0xc2, 0x87, 0x91 }}
     108             : 
     109           0 : class NS_NO_VTABLE nsIApplicationChooser : public nsISupports {
     110             :  public:
     111             : 
     112             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IAPPLICATIONCHOOSER_IID)
     113             : 
     114             :   /* void init (in mozIDOMWindowProxy parent, in ACString title); */
     115             :   NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsACString & title) = 0;
     116             : 
     117             :   /* void open (in ACString contentType, in nsIApplicationChooserFinishedCallback applicationChooserFinishedCallback); */
     118             :   NS_IMETHOD Open(const nsACString & contentType, nsIApplicationChooserFinishedCallback *applicationChooserFinishedCallback) = 0;
     119             : 
     120             : };
     121             : 
     122             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIApplicationChooser, NS_IAPPLICATIONCHOOSER_IID)
     123             : 
     124             : /* Use this macro when declaring classes that implement this interface. */
     125             : #define NS_DECL_NSIAPPLICATIONCHOOSER \
     126             :   NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsACString & title) override; \
     127             :   NS_IMETHOD Open(const nsACString & contentType, nsIApplicationChooserFinishedCallback *applicationChooserFinishedCallback) override; 
     128             : 
     129             : /* Use this macro when declaring the members of this interface when the
     130             :    class doesn't implement the interface. This is useful for forwarding. */
     131             : #define NS_DECL_NON_VIRTUAL_NSIAPPLICATIONCHOOSER \
     132             :   nsresult Init(mozIDOMWindowProxy *parent, const nsACString & title); \
     133             :   nsresult Open(const nsACString & contentType, nsIApplicationChooserFinishedCallback *applicationChooserFinishedCallback); 
     134             : 
     135             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     136             : #define NS_FORWARD_NSIAPPLICATIONCHOOSER(_to) \
     137             :   NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsACString & title) override { return _to Init(parent, title); } \
     138             :   NS_IMETHOD Open(const nsACString & contentType, nsIApplicationChooserFinishedCallback *applicationChooserFinishedCallback) override { return _to Open(contentType, applicationChooserFinishedCallback); } 
     139             : 
     140             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     141             : #define NS_FORWARD_SAFE_NSIAPPLICATIONCHOOSER(_to) \
     142             :   NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsACString & title) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(parent, title); } \
     143             :   NS_IMETHOD Open(const nsACString & contentType, nsIApplicationChooserFinishedCallback *applicationChooserFinishedCallback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(contentType, applicationChooserFinishedCallback); } 
     144             : 
     145             : #if 0
     146             : /* Use the code below as a template for the implementation class for this interface. */
     147             : 
     148             : /* Header file */
     149             : class nsApplicationChooser : public nsIApplicationChooser
     150             : {
     151             : public:
     152             :   NS_DECL_ISUPPORTS
     153             :   NS_DECL_NSIAPPLICATIONCHOOSER
     154             : 
     155             :   nsApplicationChooser();
     156             : 
     157             : private:
     158             :   ~nsApplicationChooser();
     159             : 
     160             : protected:
     161             :   /* additional members */
     162             : };
     163             : 
     164             : /* Implementation file */
     165             : NS_IMPL_ISUPPORTS(nsApplicationChooser, nsIApplicationChooser)
     166             : 
     167             : nsApplicationChooser::nsApplicationChooser()
     168             : {
     169             :   /* member initializers and constructor code */
     170             : }
     171             : 
     172             : nsApplicationChooser::~nsApplicationChooser()
     173             : {
     174             :   /* destructor code */
     175             : }
     176             : 
     177             : /* void init (in mozIDOMWindowProxy parent, in ACString title); */
     178             : NS_IMETHODIMP nsApplicationChooser::Init(mozIDOMWindowProxy *parent, const nsACString & title)
     179             : {
     180             :     return NS_ERROR_NOT_IMPLEMENTED;
     181             : }
     182             : 
     183             : /* void open (in ACString contentType, in nsIApplicationChooserFinishedCallback applicationChooserFinishedCallback); */
     184             : NS_IMETHODIMP nsApplicationChooser::Open(const nsACString & contentType, nsIApplicationChooserFinishedCallback *applicationChooserFinishedCallback)
     185             : {
     186             :     return NS_ERROR_NOT_IMPLEMENTED;
     187             : }
     188             : 
     189             : /* End of implementation class template. */
     190             : #endif
     191             : 
     192             : 
     193             : #endif /* __gen_nsIApplicationChooser_h__ */

Generated by: LCOV version 1.13