LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIPresentationControlChannel.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIPresentationControlChannel.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIPresentationControlChannel_h__
       6             : #define __gen_nsIPresentationControlChannel_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 nsIArray; /* forward declaration */
      18             : 
      19             : class nsIInputStream; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsIPresentationChannelDescription */
      23             : #define NS_IPRESENTATIONCHANNELDESCRIPTION_IID_STR "ae318e05-2a4e-4f85-95c0-e8b191ad812c"
      24             : 
      25             : #define NS_IPRESENTATIONCHANNELDESCRIPTION_IID \
      26             :   {0xae318e05, 0x2a4e, 0x4f85, \
      27             :     { 0x95, 0xc0, 0xe8, 0xb1, 0x91, 0xad, 0x81, 0x2c }}
      28             : 
      29           0 : class NS_NO_VTABLE nsIPresentationChannelDescription : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRESENTATIONCHANNELDESCRIPTION_IID)
      33             : 
      34             :   enum {
      35             :     TYPE_TCP = 1U,
      36             :     TYPE_DATACHANNEL = 2U
      37             :   };
      38             : 
      39             :   /* readonly attribute uint8_t type; */
      40             :   NS_IMETHOD GetType(uint8_t *aType) = 0;
      41             : 
      42             :   /* readonly attribute nsIArray tcpAddress; */
      43             :   NS_IMETHOD GetTcpAddress(nsIArray * *aTcpAddress) = 0;
      44             : 
      45             :   /* readonly attribute uint16_t tcpPort; */
      46             :   NS_IMETHOD GetTcpPort(uint16_t *aTcpPort) = 0;
      47             : 
      48             :   /* readonly attribute DOMString dataChannelSDP; */
      49             :   NS_IMETHOD GetDataChannelSDP(nsAString & aDataChannelSDP) = 0;
      50             : 
      51             : };
      52             : 
      53             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPresentationChannelDescription, NS_IPRESENTATIONCHANNELDESCRIPTION_IID)
      54             : 
      55             : /* Use this macro when declaring classes that implement this interface. */
      56             : #define NS_DECL_NSIPRESENTATIONCHANNELDESCRIPTION \
      57             :   NS_IMETHOD GetType(uint8_t *aType) override; \
      58             :   NS_IMETHOD GetTcpAddress(nsIArray * *aTcpAddress) override; \
      59             :   NS_IMETHOD GetTcpPort(uint16_t *aTcpPort) override; \
      60             :   NS_IMETHOD GetDataChannelSDP(nsAString & aDataChannelSDP) override; 
      61             : 
      62             : /* Use this macro when declaring the members of this interface when the
      63             :    class doesn't implement the interface. This is useful for forwarding. */
      64             : #define NS_DECL_NON_VIRTUAL_NSIPRESENTATIONCHANNELDESCRIPTION \
      65             :   nsresult GetType(uint8_t *aType); \
      66             :   nsresult GetTcpAddress(nsIArray * *aTcpAddress); \
      67             :   nsresult GetTcpPort(uint16_t *aTcpPort); \
      68             :   nsresult GetDataChannelSDP(nsAString & aDataChannelSDP); 
      69             : 
      70             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      71             : #define NS_FORWARD_NSIPRESENTATIONCHANNELDESCRIPTION(_to) \
      72             :   NS_IMETHOD GetType(uint8_t *aType) override { return _to GetType(aType); } \
      73             :   NS_IMETHOD GetTcpAddress(nsIArray * *aTcpAddress) override { return _to GetTcpAddress(aTcpAddress); } \
      74             :   NS_IMETHOD GetTcpPort(uint16_t *aTcpPort) override { return _to GetTcpPort(aTcpPort); } \
      75             :   NS_IMETHOD GetDataChannelSDP(nsAString & aDataChannelSDP) override { return _to GetDataChannelSDP(aDataChannelSDP); } 
      76             : 
      77             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      78             : #define NS_FORWARD_SAFE_NSIPRESENTATIONCHANNELDESCRIPTION(_to) \
      79             :   NS_IMETHOD GetType(uint8_t *aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
      80             :   NS_IMETHOD GetTcpAddress(nsIArray * *aTcpAddress) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTcpAddress(aTcpAddress); } \
      81             :   NS_IMETHOD GetTcpPort(uint16_t *aTcpPort) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTcpPort(aTcpPort); } \
      82             :   NS_IMETHOD GetDataChannelSDP(nsAString & aDataChannelSDP) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDataChannelSDP(aDataChannelSDP); } 
      83             : 
      84             : #if 0
      85             : /* Use the code below as a template for the implementation class for this interface. */
      86             : 
      87             : /* Header file */
      88             : class nsPresentationChannelDescription : public nsIPresentationChannelDescription
      89             : {
      90             : public:
      91             :   NS_DECL_ISUPPORTS
      92             :   NS_DECL_NSIPRESENTATIONCHANNELDESCRIPTION
      93             : 
      94             :   nsPresentationChannelDescription();
      95             : 
      96             : private:
      97             :   ~nsPresentationChannelDescription();
      98             : 
      99             : protected:
     100             :   /* additional members */
     101             : };
     102             : 
     103             : /* Implementation file */
     104             : NS_IMPL_ISUPPORTS(nsPresentationChannelDescription, nsIPresentationChannelDescription)
     105             : 
     106             : nsPresentationChannelDescription::nsPresentationChannelDescription()
     107             : {
     108             :   /* member initializers and constructor code */
     109             : }
     110             : 
     111             : nsPresentationChannelDescription::~nsPresentationChannelDescription()
     112             : {
     113             :   /* destructor code */
     114             : }
     115             : 
     116             : /* readonly attribute uint8_t type; */
     117             : NS_IMETHODIMP nsPresentationChannelDescription::GetType(uint8_t *aType)
     118             : {
     119             :     return NS_ERROR_NOT_IMPLEMENTED;
     120             : }
     121             : 
     122             : /* readonly attribute nsIArray tcpAddress; */
     123             : NS_IMETHODIMP nsPresentationChannelDescription::GetTcpAddress(nsIArray * *aTcpAddress)
     124             : {
     125             :     return NS_ERROR_NOT_IMPLEMENTED;
     126             : }
     127             : 
     128             : /* readonly attribute uint16_t tcpPort; */
     129             : NS_IMETHODIMP nsPresentationChannelDescription::GetTcpPort(uint16_t *aTcpPort)
     130             : {
     131             :     return NS_ERROR_NOT_IMPLEMENTED;
     132             : }
     133             : 
     134             : /* readonly attribute DOMString dataChannelSDP; */
     135             : NS_IMETHODIMP nsPresentationChannelDescription::GetDataChannelSDP(nsAString & aDataChannelSDP)
     136             : {
     137             :     return NS_ERROR_NOT_IMPLEMENTED;
     138             : }
     139             : 
     140             : /* End of implementation class template. */
     141             : #endif
     142             : 
     143             : 
     144             : /* starting interface:    nsIPresentationControlChannelListener */
     145             : #define NS_IPRESENTATIONCONTROLCHANNELLISTENER_IID_STR "96dd548f-7d0f-43c1-b1ad-28e666cf1e82"
     146             : 
     147             : #define NS_IPRESENTATIONCONTROLCHANNELLISTENER_IID \
     148             :   {0x96dd548f, 0x7d0f, 0x43c1, \
     149             :     { 0xb1, 0xad, 0x28, 0xe6, 0x66, 0xcf, 0x1e, 0x82 }}
     150             : 
     151           0 : class NS_NO_VTABLE nsIPresentationControlChannelListener : public nsISupports {
     152             :  public:
     153             : 
     154             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRESENTATIONCONTROLCHANNELLISTENER_IID)
     155             : 
     156             :   /* void onOffer (in nsIPresentationChannelDescription offer); */
     157             :   NS_IMETHOD OnOffer(nsIPresentationChannelDescription *offer) = 0;
     158             : 
     159             :   /* void onAnswer (in nsIPresentationChannelDescription answer); */
     160             :   NS_IMETHOD OnAnswer(nsIPresentationChannelDescription *answer) = 0;
     161             : 
     162             :   /* void onIceCandidate (in DOMString candidate); */
     163             :   NS_IMETHOD OnIceCandidate(const nsAString & candidate) = 0;
     164             : 
     165             :   /* void notifyConnected (); */
     166             :   NS_IMETHOD NotifyConnected(void) = 0;
     167             : 
     168             :   /* void notifyDisconnected (in nsresult reason); */
     169             :   NS_IMETHOD NotifyDisconnected(nsresult reason) = 0;
     170             : 
     171             :   /* void notifyReconnected (); */
     172             :   NS_IMETHOD NotifyReconnected(void) = 0;
     173             : 
     174             : };
     175             : 
     176             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPresentationControlChannelListener, NS_IPRESENTATIONCONTROLCHANNELLISTENER_IID)
     177             : 
     178             : /* Use this macro when declaring classes that implement this interface. */
     179             : #define NS_DECL_NSIPRESENTATIONCONTROLCHANNELLISTENER \
     180             :   NS_IMETHOD OnOffer(nsIPresentationChannelDescription *offer) override; \
     181             :   NS_IMETHOD OnAnswer(nsIPresentationChannelDescription *answer) override; \
     182             :   NS_IMETHOD OnIceCandidate(const nsAString & candidate) override; \
     183             :   NS_IMETHOD NotifyConnected(void) override; \
     184             :   NS_IMETHOD NotifyDisconnected(nsresult reason) override; \
     185             :   NS_IMETHOD NotifyReconnected(void) override; 
     186             : 
     187             : /* Use this macro when declaring the members of this interface when the
     188             :    class doesn't implement the interface. This is useful for forwarding. */
     189             : #define NS_DECL_NON_VIRTUAL_NSIPRESENTATIONCONTROLCHANNELLISTENER \
     190             :   nsresult OnOffer(nsIPresentationChannelDescription *offer); \
     191             :   nsresult OnAnswer(nsIPresentationChannelDescription *answer); \
     192             :   nsresult OnIceCandidate(const nsAString & candidate); \
     193             :   nsresult NotifyConnected(void); \
     194             :   nsresult NotifyDisconnected(nsresult reason); \
     195             :   nsresult NotifyReconnected(void); 
     196             : 
     197             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     198             : #define NS_FORWARD_NSIPRESENTATIONCONTROLCHANNELLISTENER(_to) \
     199             :   NS_IMETHOD OnOffer(nsIPresentationChannelDescription *offer) override { return _to OnOffer(offer); } \
     200             :   NS_IMETHOD OnAnswer(nsIPresentationChannelDescription *answer) override { return _to OnAnswer(answer); } \
     201             :   NS_IMETHOD OnIceCandidate(const nsAString & candidate) override { return _to OnIceCandidate(candidate); } \
     202             :   NS_IMETHOD NotifyConnected(void) override { return _to NotifyConnected(); } \
     203             :   NS_IMETHOD NotifyDisconnected(nsresult reason) override { return _to NotifyDisconnected(reason); } \
     204             :   NS_IMETHOD NotifyReconnected(void) override { return _to NotifyReconnected(); } 
     205             : 
     206             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     207             : #define NS_FORWARD_SAFE_NSIPRESENTATIONCONTROLCHANNELLISTENER(_to) \
     208             :   NS_IMETHOD OnOffer(nsIPresentationChannelDescription *offer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnOffer(offer); } \
     209             :   NS_IMETHOD OnAnswer(nsIPresentationChannelDescription *answer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnAnswer(answer); } \
     210             :   NS_IMETHOD OnIceCandidate(const nsAString & candidate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnIceCandidate(candidate); } \
     211             :   NS_IMETHOD NotifyConnected(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyConnected(); } \
     212             :   NS_IMETHOD NotifyDisconnected(nsresult reason) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyDisconnected(reason); } \
     213             :   NS_IMETHOD NotifyReconnected(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyReconnected(); } 
     214             : 
     215             : #if 0
     216             : /* Use the code below as a template for the implementation class for this interface. */
     217             : 
     218             : /* Header file */
     219             : class nsPresentationControlChannelListener : public nsIPresentationControlChannelListener
     220             : {
     221             : public:
     222             :   NS_DECL_ISUPPORTS
     223             :   NS_DECL_NSIPRESENTATIONCONTROLCHANNELLISTENER
     224             : 
     225             :   nsPresentationControlChannelListener();
     226             : 
     227             : private:
     228             :   ~nsPresentationControlChannelListener();
     229             : 
     230             : protected:
     231             :   /* additional members */
     232             : };
     233             : 
     234             : /* Implementation file */
     235             : NS_IMPL_ISUPPORTS(nsPresentationControlChannelListener, nsIPresentationControlChannelListener)
     236             : 
     237             : nsPresentationControlChannelListener::nsPresentationControlChannelListener()
     238             : {
     239             :   /* member initializers and constructor code */
     240             : }
     241             : 
     242             : nsPresentationControlChannelListener::~nsPresentationControlChannelListener()
     243             : {
     244             :   /* destructor code */
     245             : }
     246             : 
     247             : /* void onOffer (in nsIPresentationChannelDescription offer); */
     248             : NS_IMETHODIMP nsPresentationControlChannelListener::OnOffer(nsIPresentationChannelDescription *offer)
     249             : {
     250             :     return NS_ERROR_NOT_IMPLEMENTED;
     251             : }
     252             : 
     253             : /* void onAnswer (in nsIPresentationChannelDescription answer); */
     254             : NS_IMETHODIMP nsPresentationControlChannelListener::OnAnswer(nsIPresentationChannelDescription *answer)
     255             : {
     256             :     return NS_ERROR_NOT_IMPLEMENTED;
     257             : }
     258             : 
     259             : /* void onIceCandidate (in DOMString candidate); */
     260             : NS_IMETHODIMP nsPresentationControlChannelListener::OnIceCandidate(const nsAString & candidate)
     261             : {
     262             :     return NS_ERROR_NOT_IMPLEMENTED;
     263             : }
     264             : 
     265             : /* void notifyConnected (); */
     266             : NS_IMETHODIMP nsPresentationControlChannelListener::NotifyConnected()
     267             : {
     268             :     return NS_ERROR_NOT_IMPLEMENTED;
     269             : }
     270             : 
     271             : /* void notifyDisconnected (in nsresult reason); */
     272             : NS_IMETHODIMP nsPresentationControlChannelListener::NotifyDisconnected(nsresult reason)
     273             : {
     274             :     return NS_ERROR_NOT_IMPLEMENTED;
     275             : }
     276             : 
     277             : /* void notifyReconnected (); */
     278             : NS_IMETHODIMP nsPresentationControlChannelListener::NotifyReconnected()
     279             : {
     280             :     return NS_ERROR_NOT_IMPLEMENTED;
     281             : }
     282             : 
     283             : /* End of implementation class template. */
     284             : #endif
     285             : 
     286             : 
     287             : /* starting interface:    nsIPresentationControlChannel */
     288             : #define NS_IPRESENTATIONCONTROLCHANNEL_IID_STR "e60e208c-a9f5-4bc6-9a3e-47f3e4ae9c57"
     289             : 
     290             : #define NS_IPRESENTATIONCONTROLCHANNEL_IID \
     291             :   {0xe60e208c, 0xa9f5, 0x4bc6, \
     292             :     { 0x9a, 0x3e, 0x47, 0xf3, 0xe4, 0xae, 0x9c, 0x57 }}
     293             : 
     294             : class NS_NO_VTABLE nsIPresentationControlChannel : public nsISupports {
     295             :  public:
     296             : 
     297             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRESENTATIONCONTROLCHANNEL_IID)
     298             : 
     299             :   /* attribute nsIPresentationControlChannelListener listener; */
     300             :   NS_IMETHOD GetListener(nsIPresentationControlChannelListener * *aListener) = 0;
     301             :   NS_IMETHOD SetListener(nsIPresentationControlChannelListener *aListener) = 0;
     302             : 
     303             :   /* void sendOffer (in nsIPresentationChannelDescription offer); */
     304             :   NS_IMETHOD SendOffer(nsIPresentationChannelDescription *offer) = 0;
     305             : 
     306             :   /* void sendAnswer (in nsIPresentationChannelDescription answer); */
     307             :   NS_IMETHOD SendAnswer(nsIPresentationChannelDescription *answer) = 0;
     308             : 
     309             :   /* void sendIceCandidate (in DOMString candidate); */
     310             :   NS_IMETHOD SendIceCandidate(const nsAString & candidate) = 0;
     311             : 
     312             :   /* void launch (in DOMString presentationId, in DOMString url); */
     313             :   NS_IMETHOD Launch(const nsAString & presentationId, const nsAString & url) = 0;
     314             : 
     315             :   /* void terminate (in DOMString presentationId); */
     316             :   NS_IMETHOD Terminate(const nsAString & presentationId) = 0;
     317             : 
     318             :   /* void disconnect (in nsresult reason); */
     319             :   NS_IMETHOD Disconnect(nsresult reason) = 0;
     320             : 
     321             :   /* void reconnect (in DOMString presentationId, in DOMString url); */
     322             :   NS_IMETHOD Reconnect(const nsAString & presentationId, const nsAString & url) = 0;
     323             : 
     324             : };
     325             : 
     326             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPresentationControlChannel, NS_IPRESENTATIONCONTROLCHANNEL_IID)
     327             : 
     328             : /* Use this macro when declaring classes that implement this interface. */
     329             : #define NS_DECL_NSIPRESENTATIONCONTROLCHANNEL \
     330             :   NS_IMETHOD GetListener(nsIPresentationControlChannelListener * *aListener) override; \
     331             :   NS_IMETHOD SetListener(nsIPresentationControlChannelListener *aListener) override; \
     332             :   NS_IMETHOD SendOffer(nsIPresentationChannelDescription *offer) override; \
     333             :   NS_IMETHOD SendAnswer(nsIPresentationChannelDescription *answer) override; \
     334             :   NS_IMETHOD SendIceCandidate(const nsAString & candidate) override; \
     335             :   NS_IMETHOD Launch(const nsAString & presentationId, const nsAString & url) override; \
     336             :   NS_IMETHOD Terminate(const nsAString & presentationId) override; \
     337             :   NS_IMETHOD Disconnect(nsresult reason) override; \
     338             :   NS_IMETHOD Reconnect(const nsAString & presentationId, const nsAString & url) override; 
     339             : 
     340             : /* Use this macro when declaring the members of this interface when the
     341             :    class doesn't implement the interface. This is useful for forwarding. */
     342             : #define NS_DECL_NON_VIRTUAL_NSIPRESENTATIONCONTROLCHANNEL \
     343             :   nsresult GetListener(nsIPresentationControlChannelListener * *aListener); \
     344             :   nsresult SetListener(nsIPresentationControlChannelListener *aListener); \
     345             :   nsresult SendOffer(nsIPresentationChannelDescription *offer); \
     346             :   nsresult SendAnswer(nsIPresentationChannelDescription *answer); \
     347             :   nsresult SendIceCandidate(const nsAString & candidate); \
     348             :   nsresult Launch(const nsAString & presentationId, const nsAString & url); \
     349             :   nsresult Terminate(const nsAString & presentationId); \
     350             :   nsresult Disconnect(nsresult reason); \
     351             :   nsresult Reconnect(const nsAString & presentationId, const nsAString & url); 
     352             : 
     353             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     354             : #define NS_FORWARD_NSIPRESENTATIONCONTROLCHANNEL(_to) \
     355             :   NS_IMETHOD GetListener(nsIPresentationControlChannelListener * *aListener) override { return _to GetListener(aListener); } \
     356             :   NS_IMETHOD SetListener(nsIPresentationControlChannelListener *aListener) override { return _to SetListener(aListener); } \
     357             :   NS_IMETHOD SendOffer(nsIPresentationChannelDescription *offer) override { return _to SendOffer(offer); } \
     358             :   NS_IMETHOD SendAnswer(nsIPresentationChannelDescription *answer) override { return _to SendAnswer(answer); } \
     359             :   NS_IMETHOD SendIceCandidate(const nsAString & candidate) override { return _to SendIceCandidate(candidate); } \
     360             :   NS_IMETHOD Launch(const nsAString & presentationId, const nsAString & url) override { return _to Launch(presentationId, url); } \
     361             :   NS_IMETHOD Terminate(const nsAString & presentationId) override { return _to Terminate(presentationId); } \
     362             :   NS_IMETHOD Disconnect(nsresult reason) override { return _to Disconnect(reason); } \
     363             :   NS_IMETHOD Reconnect(const nsAString & presentationId, const nsAString & url) override { return _to Reconnect(presentationId, url); } 
     364             : 
     365             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     366             : #define NS_FORWARD_SAFE_NSIPRESENTATIONCONTROLCHANNEL(_to) \
     367             :   NS_IMETHOD GetListener(nsIPresentationControlChannelListener * *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetListener(aListener); } \
     368             :   NS_IMETHOD SetListener(nsIPresentationControlChannelListener *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetListener(aListener); } \
     369             :   NS_IMETHOD SendOffer(nsIPresentationChannelDescription *offer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SendOffer(offer); } \
     370             :   NS_IMETHOD SendAnswer(nsIPresentationChannelDescription *answer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SendAnswer(answer); } \
     371             :   NS_IMETHOD SendIceCandidate(const nsAString & candidate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SendIceCandidate(candidate); } \
     372             :   NS_IMETHOD Launch(const nsAString & presentationId, const nsAString & url) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Launch(presentationId, url); } \
     373             :   NS_IMETHOD Terminate(const nsAString & presentationId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Terminate(presentationId); } \
     374             :   NS_IMETHOD Disconnect(nsresult reason) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Disconnect(reason); } \
     375             :   NS_IMETHOD Reconnect(const nsAString & presentationId, const nsAString & url) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Reconnect(presentationId, url); } 
     376             : 
     377             : #if 0
     378             : /* Use the code below as a template for the implementation class for this interface. */
     379             : 
     380             : /* Header file */
     381             : class nsPresentationControlChannel : public nsIPresentationControlChannel
     382             : {
     383             : public:
     384             :   NS_DECL_ISUPPORTS
     385             :   NS_DECL_NSIPRESENTATIONCONTROLCHANNEL
     386             : 
     387             :   nsPresentationControlChannel();
     388             : 
     389             : private:
     390             :   ~nsPresentationControlChannel();
     391             : 
     392             : protected:
     393             :   /* additional members */
     394             : };
     395             : 
     396             : /* Implementation file */
     397             : NS_IMPL_ISUPPORTS(nsPresentationControlChannel, nsIPresentationControlChannel)
     398             : 
     399             : nsPresentationControlChannel::nsPresentationControlChannel()
     400             : {
     401             :   /* member initializers and constructor code */
     402             : }
     403             : 
     404             : nsPresentationControlChannel::~nsPresentationControlChannel()
     405             : {
     406             :   /* destructor code */
     407             : }
     408             : 
     409             : /* attribute nsIPresentationControlChannelListener listener; */
     410             : NS_IMETHODIMP nsPresentationControlChannel::GetListener(nsIPresentationControlChannelListener * *aListener)
     411             : {
     412             :     return NS_ERROR_NOT_IMPLEMENTED;
     413             : }
     414             : NS_IMETHODIMP nsPresentationControlChannel::SetListener(nsIPresentationControlChannelListener *aListener)
     415             : {
     416             :     return NS_ERROR_NOT_IMPLEMENTED;
     417             : }
     418             : 
     419             : /* void sendOffer (in nsIPresentationChannelDescription offer); */
     420             : NS_IMETHODIMP nsPresentationControlChannel::SendOffer(nsIPresentationChannelDescription *offer)
     421             : {
     422             :     return NS_ERROR_NOT_IMPLEMENTED;
     423             : }
     424             : 
     425             : /* void sendAnswer (in nsIPresentationChannelDescription answer); */
     426             : NS_IMETHODIMP nsPresentationControlChannel::SendAnswer(nsIPresentationChannelDescription *answer)
     427             : {
     428             :     return NS_ERROR_NOT_IMPLEMENTED;
     429             : }
     430             : 
     431             : /* void sendIceCandidate (in DOMString candidate); */
     432             : NS_IMETHODIMP nsPresentationControlChannel::SendIceCandidate(const nsAString & candidate)
     433             : {
     434             :     return NS_ERROR_NOT_IMPLEMENTED;
     435             : }
     436             : 
     437             : /* void launch (in DOMString presentationId, in DOMString url); */
     438             : NS_IMETHODIMP nsPresentationControlChannel::Launch(const nsAString & presentationId, const nsAString & url)
     439             : {
     440             :     return NS_ERROR_NOT_IMPLEMENTED;
     441             : }
     442             : 
     443             : /* void terminate (in DOMString presentationId); */
     444             : NS_IMETHODIMP nsPresentationControlChannel::Terminate(const nsAString & presentationId)
     445             : {
     446             :     return NS_ERROR_NOT_IMPLEMENTED;
     447             : }
     448             : 
     449             : /* void disconnect (in nsresult reason); */
     450             : NS_IMETHODIMP nsPresentationControlChannel::Disconnect(nsresult reason)
     451             : {
     452             :     return NS_ERROR_NOT_IMPLEMENTED;
     453             : }
     454             : 
     455             : /* void reconnect (in DOMString presentationId, in DOMString url); */
     456             : NS_IMETHODIMP nsPresentationControlChannel::Reconnect(const nsAString & presentationId, const nsAString & url)
     457             : {
     458             :     return NS_ERROR_NOT_IMPLEMENTED;
     459             : }
     460             : 
     461             : /* End of implementation class template. */
     462             : #endif
     463             : 
     464             : 
     465             : #endif /* __gen_nsIPresentationControlChannel_h__ */

Generated by: LCOV version 1.13