LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIPresentationDevice.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/nsIPresentationDevice.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIPresentationDevice_h__
       6             : #define __gen_nsIPresentationDevice_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 nsIPresentationControlChannel; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsIPresentationDevice */
      21             : #define NS_IPRESENTATIONDEVICE_IID_STR "b1e0a7af-5936-4066-8f2e-f789fb9a7e8f"
      22             : 
      23             : #define NS_IPRESENTATIONDEVICE_IID \
      24             :   {0xb1e0a7af, 0x5936, 0x4066, \
      25             :     { 0x8f, 0x2e, 0xf7, 0x89, 0xfb, 0x9a, 0x7e, 0x8f }}
      26             : 
      27           0 : class NS_NO_VTABLE nsIPresentationDevice : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRESENTATIONDEVICE_IID)
      31             : 
      32             :   /* readonly attribute AUTF8String id; */
      33             :   NS_IMETHOD GetId(nsACString & aId) = 0;
      34             : 
      35             :   /* readonly attribute AUTF8String name; */
      36             :   NS_IMETHOD GetName(nsACString & aName) = 0;
      37             : 
      38             :   /* readonly attribute AUTF8String type; */
      39             :   NS_IMETHOD GetType(nsACString & aType) = 0;
      40             : 
      41             :   /* nsIPresentationControlChannel establishControlChannel (); */
      42             :   NS_IMETHOD EstablishControlChannel(nsIPresentationControlChannel * *_retval) = 0;
      43             : 
      44             :   /* void disconnect (); */
      45             :   NS_IMETHOD Disconnect(void) = 0;
      46             : 
      47             :   /* boolean isRequestedUrlSupported (in DOMString requestedUrl); */
      48             :   NS_IMETHOD IsRequestedUrlSupported(const nsAString & requestedUrl, bool *_retval) = 0;
      49             : 
      50             : };
      51             : 
      52             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPresentationDevice, NS_IPRESENTATIONDEVICE_IID)
      53             : 
      54             : /* Use this macro when declaring classes that implement this interface. */
      55             : #define NS_DECL_NSIPRESENTATIONDEVICE \
      56             :   NS_IMETHOD GetId(nsACString & aId) override; \
      57             :   NS_IMETHOD GetName(nsACString & aName) override; \
      58             :   NS_IMETHOD GetType(nsACString & aType) override; \
      59             :   NS_IMETHOD EstablishControlChannel(nsIPresentationControlChannel * *_retval) override; \
      60             :   NS_IMETHOD Disconnect(void) override; \
      61             :   NS_IMETHOD IsRequestedUrlSupported(const nsAString & requestedUrl, bool *_retval) override; 
      62             : 
      63             : /* Use this macro when declaring the members of this interface when the
      64             :    class doesn't implement the interface. This is useful for forwarding. */
      65             : #define NS_DECL_NON_VIRTUAL_NSIPRESENTATIONDEVICE \
      66             :   nsresult GetId(nsACString & aId); \
      67             :   nsresult GetName(nsACString & aName); \
      68             :   nsresult GetType(nsACString & aType); \
      69             :   nsresult EstablishControlChannel(nsIPresentationControlChannel * *_retval); \
      70             :   nsresult Disconnect(void); \
      71             :   nsresult IsRequestedUrlSupported(const nsAString & requestedUrl, bool *_retval); 
      72             : 
      73             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      74             : #define NS_FORWARD_NSIPRESENTATIONDEVICE(_to) \
      75             :   NS_IMETHOD GetId(nsACString & aId) override { return _to GetId(aId); } \
      76             :   NS_IMETHOD GetName(nsACString & aName) override { return _to GetName(aName); } \
      77             :   NS_IMETHOD GetType(nsACString & aType) override { return _to GetType(aType); } \
      78             :   NS_IMETHOD EstablishControlChannel(nsIPresentationControlChannel * *_retval) override { return _to EstablishControlChannel(_retval); } \
      79             :   NS_IMETHOD Disconnect(void) override { return _to Disconnect(); } \
      80             :   NS_IMETHOD IsRequestedUrlSupported(const nsAString & requestedUrl, bool *_retval) override { return _to IsRequestedUrlSupported(requestedUrl, _retval); } 
      81             : 
      82             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      83             : #define NS_FORWARD_SAFE_NSIPRESENTATIONDEVICE(_to) \
      84             :   NS_IMETHOD GetId(nsACString & aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
      85             :   NS_IMETHOD GetName(nsACString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
      86             :   NS_IMETHOD GetType(nsACString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
      87             :   NS_IMETHOD EstablishControlChannel(nsIPresentationControlChannel * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EstablishControlChannel(_retval); } \
      88             :   NS_IMETHOD Disconnect(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Disconnect(); } \
      89             :   NS_IMETHOD IsRequestedUrlSupported(const nsAString & requestedUrl, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsRequestedUrlSupported(requestedUrl, _retval); } 
      90             : 
      91             : #if 0
      92             : /* Use the code below as a template for the implementation class for this interface. */
      93             : 
      94             : /* Header file */
      95             : class nsPresentationDevice : public nsIPresentationDevice
      96             : {
      97             : public:
      98             :   NS_DECL_ISUPPORTS
      99             :   NS_DECL_NSIPRESENTATIONDEVICE
     100             : 
     101             :   nsPresentationDevice();
     102             : 
     103             : private:
     104             :   ~nsPresentationDevice();
     105             : 
     106             : protected:
     107             :   /* additional members */
     108             : };
     109             : 
     110             : /* Implementation file */
     111             : NS_IMPL_ISUPPORTS(nsPresentationDevice, nsIPresentationDevice)
     112             : 
     113             : nsPresentationDevice::nsPresentationDevice()
     114             : {
     115             :   /* member initializers and constructor code */
     116             : }
     117             : 
     118             : nsPresentationDevice::~nsPresentationDevice()
     119             : {
     120             :   /* destructor code */
     121             : }
     122             : 
     123             : /* readonly attribute AUTF8String id; */
     124             : NS_IMETHODIMP nsPresentationDevice::GetId(nsACString & aId)
     125             : {
     126             :     return NS_ERROR_NOT_IMPLEMENTED;
     127             : }
     128             : 
     129             : /* readonly attribute AUTF8String name; */
     130             : NS_IMETHODIMP nsPresentationDevice::GetName(nsACString & aName)
     131             : {
     132             :     return NS_ERROR_NOT_IMPLEMENTED;
     133             : }
     134             : 
     135             : /* readonly attribute AUTF8String type; */
     136             : NS_IMETHODIMP nsPresentationDevice::GetType(nsACString & aType)
     137             : {
     138             :     return NS_ERROR_NOT_IMPLEMENTED;
     139             : }
     140             : 
     141             : /* nsIPresentationControlChannel establishControlChannel (); */
     142             : NS_IMETHODIMP nsPresentationDevice::EstablishControlChannel(nsIPresentationControlChannel * *_retval)
     143             : {
     144             :     return NS_ERROR_NOT_IMPLEMENTED;
     145             : }
     146             : 
     147             : /* void disconnect (); */
     148             : NS_IMETHODIMP nsPresentationDevice::Disconnect()
     149             : {
     150             :     return NS_ERROR_NOT_IMPLEMENTED;
     151             : }
     152             : 
     153             : /* boolean isRequestedUrlSupported (in DOMString requestedUrl); */
     154             : NS_IMETHODIMP nsPresentationDevice::IsRequestedUrlSupported(const nsAString & requestedUrl, bool *_retval)
     155             : {
     156             :     return NS_ERROR_NOT_IMPLEMENTED;
     157             : }
     158             : 
     159             : /* End of implementation class template. */
     160             : #endif
     161             : 
     162             : 
     163             : #endif /* __gen_nsIPresentationDevice_h__ */

Generated by: LCOV version 1.13