LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIPresentationSessionRequest.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/nsIPresentationSessionRequest.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIPresentationSessionRequest_h__
       6             : #define __gen_nsIPresentationSessionRequest_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 nsIPresentationDevice; /* forward declaration */
      18             : 
      19             : class nsIPresentationControlChannel; /* forward declaration */
      20             : 
      21             : #define PRESENTATION_SESSION_REQUEST_TOPIC "presentation-session-request"
      22             : #define PRESENTATION_RECONNECT_REQUEST_TOPIC "presentation-reconnect-request"
      23             : 
      24             : /* starting interface:    nsIPresentationSessionRequest */
      25             : #define NS_IPRESENTATIONSESSIONREQUEST_IID_STR "d808a084-d0f8-455a-a8df-5879e05a755b"
      26             : 
      27             : #define NS_IPRESENTATIONSESSIONREQUEST_IID \
      28             :   {0xd808a084, 0xd0f8, 0x455a, \
      29             :     { 0xa8, 0xdf, 0x58, 0x79, 0xe0, 0x5a, 0x75, 0x5b }}
      30             : 
      31           0 : class NS_NO_VTABLE nsIPresentationSessionRequest : public nsISupports {
      32             :  public:
      33             : 
      34             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRESENTATIONSESSIONREQUEST_IID)
      35             : 
      36             :   /* readonly attribute nsIPresentationDevice device; */
      37             :   NS_IMETHOD GetDevice(nsIPresentationDevice * *aDevice) = 0;
      38             : 
      39             :   /* readonly attribute DOMString url; */
      40             :   NS_IMETHOD GetUrl(nsAString & aUrl) = 0;
      41             : 
      42             :   /* readonly attribute DOMString presentationId; */
      43             :   NS_IMETHOD GetPresentationId(nsAString & aPresentationId) = 0;
      44             : 
      45             :   /* readonly attribute nsIPresentationControlChannel controlChannel; */
      46             :   NS_IMETHOD GetControlChannel(nsIPresentationControlChannel * *aControlChannel) = 0;
      47             : 
      48             : };
      49             : 
      50             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPresentationSessionRequest, NS_IPRESENTATIONSESSIONREQUEST_IID)
      51             : 
      52             : /* Use this macro when declaring classes that implement this interface. */
      53             : #define NS_DECL_NSIPRESENTATIONSESSIONREQUEST \
      54             :   NS_IMETHOD GetDevice(nsIPresentationDevice * *aDevice) override; \
      55             :   NS_IMETHOD GetUrl(nsAString & aUrl) override; \
      56             :   NS_IMETHOD GetPresentationId(nsAString & aPresentationId) override; \
      57             :   NS_IMETHOD GetControlChannel(nsIPresentationControlChannel * *aControlChannel) override; 
      58             : 
      59             : /* Use this macro when declaring the members of this interface when the
      60             :    class doesn't implement the interface. This is useful for forwarding. */
      61             : #define NS_DECL_NON_VIRTUAL_NSIPRESENTATIONSESSIONREQUEST \
      62             :   nsresult GetDevice(nsIPresentationDevice * *aDevice); \
      63             :   nsresult GetUrl(nsAString & aUrl); \
      64             :   nsresult GetPresentationId(nsAString & aPresentationId); \
      65             :   nsresult GetControlChannel(nsIPresentationControlChannel * *aControlChannel); 
      66             : 
      67             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      68             : #define NS_FORWARD_NSIPRESENTATIONSESSIONREQUEST(_to) \
      69             :   NS_IMETHOD GetDevice(nsIPresentationDevice * *aDevice) override { return _to GetDevice(aDevice); } \
      70             :   NS_IMETHOD GetUrl(nsAString & aUrl) override { return _to GetUrl(aUrl); } \
      71             :   NS_IMETHOD GetPresentationId(nsAString & aPresentationId) override { return _to GetPresentationId(aPresentationId); } \
      72             :   NS_IMETHOD GetControlChannel(nsIPresentationControlChannel * *aControlChannel) override { return _to GetControlChannel(aControlChannel); } 
      73             : 
      74             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      75             : #define NS_FORWARD_SAFE_NSIPRESENTATIONSESSIONREQUEST(_to) \
      76             :   NS_IMETHOD GetDevice(nsIPresentationDevice * *aDevice) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDevice(aDevice); } \
      77             :   NS_IMETHOD GetUrl(nsAString & aUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUrl(aUrl); } \
      78             :   NS_IMETHOD GetPresentationId(nsAString & aPresentationId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPresentationId(aPresentationId); } \
      79             :   NS_IMETHOD GetControlChannel(nsIPresentationControlChannel * *aControlChannel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControlChannel(aControlChannel); } 
      80             : 
      81             : #if 0
      82             : /* Use the code below as a template for the implementation class for this interface. */
      83             : 
      84             : /* Header file */
      85             : class nsPresentationSessionRequest : public nsIPresentationSessionRequest
      86             : {
      87             : public:
      88             :   NS_DECL_ISUPPORTS
      89             :   NS_DECL_NSIPRESENTATIONSESSIONREQUEST
      90             : 
      91             :   nsPresentationSessionRequest();
      92             : 
      93             : private:
      94             :   ~nsPresentationSessionRequest();
      95             : 
      96             : protected:
      97             :   /* additional members */
      98             : };
      99             : 
     100             : /* Implementation file */
     101             : NS_IMPL_ISUPPORTS(nsPresentationSessionRequest, nsIPresentationSessionRequest)
     102             : 
     103             : nsPresentationSessionRequest::nsPresentationSessionRequest()
     104             : {
     105             :   /* member initializers and constructor code */
     106             : }
     107             : 
     108             : nsPresentationSessionRequest::~nsPresentationSessionRequest()
     109             : {
     110             :   /* destructor code */
     111             : }
     112             : 
     113             : /* readonly attribute nsIPresentationDevice device; */
     114             : NS_IMETHODIMP nsPresentationSessionRequest::GetDevice(nsIPresentationDevice * *aDevice)
     115             : {
     116             :     return NS_ERROR_NOT_IMPLEMENTED;
     117             : }
     118             : 
     119             : /* readonly attribute DOMString url; */
     120             : NS_IMETHODIMP nsPresentationSessionRequest::GetUrl(nsAString & aUrl)
     121             : {
     122             :     return NS_ERROR_NOT_IMPLEMENTED;
     123             : }
     124             : 
     125             : /* readonly attribute DOMString presentationId; */
     126             : NS_IMETHODIMP nsPresentationSessionRequest::GetPresentationId(nsAString & aPresentationId)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : 
     131             : /* readonly attribute nsIPresentationControlChannel controlChannel; */
     132             : NS_IMETHODIMP nsPresentationSessionRequest::GetControlChannel(nsIPresentationControlChannel * *aControlChannel)
     133             : {
     134             :     return NS_ERROR_NOT_IMPLEMENTED;
     135             : }
     136             : 
     137             : /* End of implementation class template. */
     138             : #endif
     139             : 
     140             : 
     141             : #endif /* __gen_nsIPresentationSessionRequest_h__ */

Generated by: LCOV version 1.13