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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIEmbeddingSiteWindow.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIEmbeddingSiteWindow_h__
       6             : #define __gen_nsIEmbeddingSiteWindow_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             : 
      18             : /* starting interface:    nsIEmbeddingSiteWindow */
      19             : #define NS_IEMBEDDINGSITEWINDOW_IID_STR "0b976267-4aaa-4f36-a2d4-27b5ca8d73bb"
      20             : 
      21             : #define NS_IEMBEDDINGSITEWINDOW_IID \
      22             :   {0x0b976267, 0x4aaa, 0x4f36, \
      23             :     { 0xa2, 0xd4, 0x27, 0xb5, 0xca, 0x8d, 0x73, 0xbb }}
      24             : 
      25           4 : class NS_NO_VTABLE nsIEmbeddingSiteWindow : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEMBEDDINGSITEWINDOW_IID)
      29             : 
      30             :   enum {
      31             :     DIM_FLAGS_POSITION = 1U,
      32             :     DIM_FLAGS_SIZE_INNER = 2U,
      33             :     DIM_FLAGS_SIZE_OUTER = 4U,
      34             :     DIM_FLAGS_IGNORE_X = 8U,
      35             :     DIM_FLAGS_IGNORE_Y = 16U,
      36             :     DIM_FLAGS_IGNORE_CX = 32U,
      37             :     DIM_FLAGS_IGNORE_CY = 64U
      38             :   };
      39             : 
      40             :   /* void setDimensions (in unsigned long flags, in long x, in long y, in long cx, in long cy); */
      41             :   NS_IMETHOD SetDimensions(uint32_t flags, int32_t x, int32_t y, int32_t cx, int32_t cy) = 0;
      42             : 
      43             :   /* void getDimensions (in unsigned long flags, out long x, out long y, out long cx, out long cy); */
      44             :   NS_IMETHOD GetDimensions(uint32_t flags, int32_t *x, int32_t *y, int32_t *cx, int32_t *cy) = 0;
      45             : 
      46             :   /* void setFocus (); */
      47             :   NS_IMETHOD SetFocus(void) = 0;
      48             : 
      49             :   /* attribute boolean visibility; */
      50             :   NS_IMETHOD GetVisibility(bool *aVisibility) = 0;
      51             :   NS_IMETHOD SetVisibility(bool aVisibility) = 0;
      52             : 
      53             :   /* attribute wstring title; */
      54             :   NS_IMETHOD GetTitle(char16_t * *aTitle) = 0;
      55             :   NS_IMETHOD SetTitle(const char16_t * aTitle) = 0;
      56             : 
      57             :   /* [noscript] readonly attribute voidPtr siteWindow; */
      58             :   NS_IMETHOD GetSiteWindow(void **aSiteWindow) = 0;
      59             : 
      60             :   /* void blur (); */
      61             :   NS_IMETHOD Blur(void) = 0;
      62             : 
      63             : };
      64             : 
      65             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIEmbeddingSiteWindow, NS_IEMBEDDINGSITEWINDOW_IID)
      66             : 
      67             : /* Use this macro when declaring classes that implement this interface. */
      68             : #define NS_DECL_NSIEMBEDDINGSITEWINDOW \
      69             :   NS_IMETHOD SetDimensions(uint32_t flags, int32_t x, int32_t y, int32_t cx, int32_t cy) override; \
      70             :   NS_IMETHOD GetDimensions(uint32_t flags, int32_t *x, int32_t *y, int32_t *cx, int32_t *cy) override; \
      71             :   NS_IMETHOD SetFocus(void) override; \
      72             :   NS_IMETHOD GetVisibility(bool *aVisibility) override; \
      73             :   NS_IMETHOD SetVisibility(bool aVisibility) override; \
      74             :   NS_IMETHOD GetTitle(char16_t * *aTitle) override; \
      75             :   NS_IMETHOD SetTitle(const char16_t * aTitle) override; \
      76             :   NS_IMETHOD GetSiteWindow(void **aSiteWindow) override; \
      77             :   NS_IMETHOD Blur(void) override; 
      78             : 
      79             : /* Use this macro when declaring the members of this interface when the
      80             :    class doesn't implement the interface. This is useful for forwarding. */
      81             : #define NS_DECL_NON_VIRTUAL_NSIEMBEDDINGSITEWINDOW \
      82             :   nsresult SetDimensions(uint32_t flags, int32_t x, int32_t y, int32_t cx, int32_t cy); \
      83             :   nsresult GetDimensions(uint32_t flags, int32_t *x, int32_t *y, int32_t *cx, int32_t *cy); \
      84             :   nsresult SetFocus(void); \
      85             :   nsresult GetVisibility(bool *aVisibility); \
      86             :   nsresult SetVisibility(bool aVisibility); \
      87             :   nsresult GetTitle(char16_t * *aTitle); \
      88             :   nsresult SetTitle(const char16_t * aTitle); \
      89             :   nsresult GetSiteWindow(void **aSiteWindow); \
      90             :   nsresult Blur(void); 
      91             : 
      92             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      93             : #define NS_FORWARD_NSIEMBEDDINGSITEWINDOW(_to) \
      94             :   NS_IMETHOD SetDimensions(uint32_t flags, int32_t x, int32_t y, int32_t cx, int32_t cy) override { return _to SetDimensions(flags, x, y, cx, cy); } \
      95             :   NS_IMETHOD GetDimensions(uint32_t flags, int32_t *x, int32_t *y, int32_t *cx, int32_t *cy) override { return _to GetDimensions(flags, x, y, cx, cy); } \
      96             :   NS_IMETHOD SetFocus(void) override { return _to SetFocus(); } \
      97             :   NS_IMETHOD GetVisibility(bool *aVisibility) override { return _to GetVisibility(aVisibility); } \
      98             :   NS_IMETHOD SetVisibility(bool aVisibility) override { return _to SetVisibility(aVisibility); } \
      99             :   NS_IMETHOD GetTitle(char16_t * *aTitle) override { return _to GetTitle(aTitle); } \
     100             :   NS_IMETHOD SetTitle(const char16_t * aTitle) override { return _to SetTitle(aTitle); } \
     101             :   NS_IMETHOD GetSiteWindow(void **aSiteWindow) override { return _to GetSiteWindow(aSiteWindow); } \
     102             :   NS_IMETHOD Blur(void) override { return _to Blur(); } 
     103             : 
     104             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     105             : #define NS_FORWARD_SAFE_NSIEMBEDDINGSITEWINDOW(_to) \
     106             :   NS_IMETHOD SetDimensions(uint32_t flags, int32_t x, int32_t y, int32_t cx, int32_t cy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDimensions(flags, x, y, cx, cy); } \
     107             :   NS_IMETHOD GetDimensions(uint32_t flags, int32_t *x, int32_t *y, int32_t *cx, int32_t *cy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDimensions(flags, x, y, cx, cy); } \
     108             :   NS_IMETHOD SetFocus(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFocus(); } \
     109             :   NS_IMETHOD GetVisibility(bool *aVisibility) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVisibility(aVisibility); } \
     110             :   NS_IMETHOD SetVisibility(bool aVisibility) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVisibility(aVisibility); } \
     111             :   NS_IMETHOD GetTitle(char16_t * *aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
     112             :   NS_IMETHOD SetTitle(const char16_t * aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
     113             :   NS_IMETHOD GetSiteWindow(void **aSiteWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSiteWindow(aSiteWindow); } \
     114             :   NS_IMETHOD Blur(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Blur(); } 
     115             : 
     116             : #if 0
     117             : /* Use the code below as a template for the implementation class for this interface. */
     118             : 
     119             : /* Header file */
     120             : class nsEmbeddingSiteWindow : public nsIEmbeddingSiteWindow
     121             : {
     122             : public:
     123             :   NS_DECL_ISUPPORTS
     124             :   NS_DECL_NSIEMBEDDINGSITEWINDOW
     125             : 
     126             :   nsEmbeddingSiteWindow();
     127             : 
     128             : private:
     129             :   ~nsEmbeddingSiteWindow();
     130             : 
     131             : protected:
     132             :   /* additional members */
     133             : };
     134             : 
     135             : /* Implementation file */
     136             : NS_IMPL_ISUPPORTS(nsEmbeddingSiteWindow, nsIEmbeddingSiteWindow)
     137             : 
     138             : nsEmbeddingSiteWindow::nsEmbeddingSiteWindow()
     139             : {
     140             :   /* member initializers and constructor code */
     141             : }
     142             : 
     143             : nsEmbeddingSiteWindow::~nsEmbeddingSiteWindow()
     144             : {
     145             :   /* destructor code */
     146             : }
     147             : 
     148             : /* void setDimensions (in unsigned long flags, in long x, in long y, in long cx, in long cy); */
     149             : NS_IMETHODIMP nsEmbeddingSiteWindow::SetDimensions(uint32_t flags, int32_t x, int32_t y, int32_t cx, int32_t cy)
     150             : {
     151             :     return NS_ERROR_NOT_IMPLEMENTED;
     152             : }
     153             : 
     154             : /* void getDimensions (in unsigned long flags, out long x, out long y, out long cx, out long cy); */
     155             : NS_IMETHODIMP nsEmbeddingSiteWindow::GetDimensions(uint32_t flags, int32_t *x, int32_t *y, int32_t *cx, int32_t *cy)
     156             : {
     157             :     return NS_ERROR_NOT_IMPLEMENTED;
     158             : }
     159             : 
     160             : /* void setFocus (); */
     161             : NS_IMETHODIMP nsEmbeddingSiteWindow::SetFocus()
     162             : {
     163             :     return NS_ERROR_NOT_IMPLEMENTED;
     164             : }
     165             : 
     166             : /* attribute boolean visibility; */
     167             : NS_IMETHODIMP nsEmbeddingSiteWindow::GetVisibility(bool *aVisibility)
     168             : {
     169             :     return NS_ERROR_NOT_IMPLEMENTED;
     170             : }
     171             : NS_IMETHODIMP nsEmbeddingSiteWindow::SetVisibility(bool aVisibility)
     172             : {
     173             :     return NS_ERROR_NOT_IMPLEMENTED;
     174             : }
     175             : 
     176             : /* attribute wstring title; */
     177             : NS_IMETHODIMP nsEmbeddingSiteWindow::GetTitle(char16_t * *aTitle)
     178             : {
     179             :     return NS_ERROR_NOT_IMPLEMENTED;
     180             : }
     181             : NS_IMETHODIMP nsEmbeddingSiteWindow::SetTitle(const char16_t * aTitle)
     182             : {
     183             :     return NS_ERROR_NOT_IMPLEMENTED;
     184             : }
     185             : 
     186             : /* [noscript] readonly attribute voidPtr siteWindow; */
     187             : NS_IMETHODIMP nsEmbeddingSiteWindow::GetSiteWindow(void **aSiteWindow)
     188             : {
     189             :     return NS_ERROR_NOT_IMPLEMENTED;
     190             : }
     191             : 
     192             : /* void blur (); */
     193             : NS_IMETHODIMP nsEmbeddingSiteWindow::Blur()
     194             : {
     195             :     return NS_ERROR_NOT_IMPLEMENTED;
     196             : }
     197             : 
     198             : /* End of implementation class template. */
     199             : #endif
     200             : 
     201             : 
     202             : #endif /* __gen_nsIEmbeddingSiteWindow_h__ */

Generated by: LCOV version 1.13