LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIEmbeddingSiteWindow.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/embedding/browser/webBrowser/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 "3e5432cd-9568-4bd1-8cbe-d50aba110743"
      20                 : 
      21                 : #define NS_IEMBEDDINGSITEWINDOW_IID \
      22                 :   {0x3e5432cd, 0x9568, 0x4bd1, \
      23                 :     { 0x8c, 0xbe, 0xd5, 0x0a, 0xba, 0x11, 0x07, 0x43 }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE 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                 :   };
      35                 : 
      36                 :   /* void setDimensions (in unsigned long flags, in long x, in long y, in long cx, in long cy); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD SetDimensions(PRUint32 flags, PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy) = 0;
      38                 : 
      39                 :   /* void getDimensions (in unsigned long flags, out long x, out long y, out long cx, out long cy); */
      40                 :   NS_SCRIPTABLE NS_IMETHOD GetDimensions(PRUint32 flags, PRInt32 *x NS_OUTPARAM, PRInt32 *y NS_OUTPARAM, PRInt32 *cx NS_OUTPARAM, PRInt32 *cy NS_OUTPARAM) = 0;
      41                 : 
      42                 :   /* void setFocus (); */
      43                 :   NS_SCRIPTABLE NS_IMETHOD SetFocus(void) = 0;
      44                 : 
      45                 :   /* attribute boolean visibility; */
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetVisibility(bool *aVisibility) = 0;
      47                 :   NS_SCRIPTABLE NS_IMETHOD SetVisibility(bool aVisibility) = 0;
      48                 : 
      49                 :   /* attribute wstring title; */
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(PRUnichar * *aTitle) = 0;
      51                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const PRUnichar * aTitle) = 0;
      52                 : 
      53                 :   /* [noscript] readonly attribute voidPtr siteWindow; */
      54                 :   NS_IMETHOD GetSiteWindow(void **aSiteWindow) = 0;
      55                 : 
      56                 : };
      57                 : 
      58                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIEmbeddingSiteWindow, NS_IEMBEDDINGSITEWINDOW_IID)
      59                 : 
      60                 : /* Use this macro when declaring classes that implement this interface. */
      61                 : #define NS_DECL_NSIEMBEDDINGSITEWINDOW \
      62                 :   NS_SCRIPTABLE NS_IMETHOD SetDimensions(PRUint32 flags, PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetDimensions(PRUint32 flags, PRInt32 *x NS_OUTPARAM, PRInt32 *y NS_OUTPARAM, PRInt32 *cx NS_OUTPARAM, PRInt32 *cy NS_OUTPARAM); \
      64                 :   NS_SCRIPTABLE NS_IMETHOD SetFocus(void); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetVisibility(bool *aVisibility); \
      66                 :   NS_SCRIPTABLE NS_IMETHOD SetVisibility(bool aVisibility); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(PRUnichar * *aTitle); \
      68                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const PRUnichar * aTitle); \
      69                 :   NS_IMETHOD GetSiteWindow(void **aSiteWindow); 
      70                 : 
      71                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      72                 : #define NS_FORWARD_NSIEMBEDDINGSITEWINDOW(_to) \
      73                 :   NS_SCRIPTABLE NS_IMETHOD SetDimensions(PRUint32 flags, PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy) { return _to SetDimensions(flags, x, y, cx, cy); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD GetDimensions(PRUint32 flags, PRInt32 *x NS_OUTPARAM, PRInt32 *y NS_OUTPARAM, PRInt32 *cx NS_OUTPARAM, PRInt32 *cy NS_OUTPARAM) { return _to GetDimensions(flags, x, y, cx, cy); } \
      75                 :   NS_SCRIPTABLE NS_IMETHOD SetFocus(void) { return _to SetFocus(); } \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetVisibility(bool *aVisibility) { return _to GetVisibility(aVisibility); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD SetVisibility(bool aVisibility) { return _to SetVisibility(aVisibility); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(PRUnichar * *aTitle) { return _to GetTitle(aTitle); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const PRUnichar * aTitle) { return _to SetTitle(aTitle); } \
      80                 :   NS_IMETHOD GetSiteWindow(void **aSiteWindow) { return _to GetSiteWindow(aSiteWindow); } 
      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_NSIEMBEDDINGSITEWINDOW(_to) \
      84                 :   NS_SCRIPTABLE NS_IMETHOD SetDimensions(PRUint32 flags, PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDimensions(flags, x, y, cx, cy); } \
      85                 :   NS_SCRIPTABLE NS_IMETHOD GetDimensions(PRUint32 flags, PRInt32 *x NS_OUTPARAM, PRInt32 *y NS_OUTPARAM, PRInt32 *cx NS_OUTPARAM, PRInt32 *cy NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDimensions(flags, x, y, cx, cy); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD SetFocus(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFocus(); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD GetVisibility(bool *aVisibility) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVisibility(aVisibility); } \
      88                 :   NS_SCRIPTABLE NS_IMETHOD SetVisibility(bool aVisibility) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVisibility(aVisibility); } \
      89                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(PRUnichar * *aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
      90                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const PRUnichar * aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
      91                 :   NS_IMETHOD GetSiteWindow(void **aSiteWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSiteWindow(aSiteWindow); } 
      92                 : 
      93                 : #if 0
      94                 : /* Use the code below as a template for the implementation class for this interface. */
      95                 : 
      96                 : /* Header file */
      97                 : class nsEmbeddingSiteWindow : public nsIEmbeddingSiteWindow
      98                 : {
      99                 : public:
     100                 :   NS_DECL_ISUPPORTS
     101                 :   NS_DECL_NSIEMBEDDINGSITEWINDOW
     102                 : 
     103                 :   nsEmbeddingSiteWindow();
     104                 : 
     105                 : private:
     106                 :   ~nsEmbeddingSiteWindow();
     107                 : 
     108                 : protected:
     109                 :   /* additional members */
     110                 : };
     111                 : 
     112                 : /* Implementation file */
     113                 : NS_IMPL_ISUPPORTS1(nsEmbeddingSiteWindow, nsIEmbeddingSiteWindow)
     114                 : 
     115                 : nsEmbeddingSiteWindow::nsEmbeddingSiteWindow()
     116                 : {
     117                 :   /* member initializers and constructor code */
     118                 : }
     119                 : 
     120                 : nsEmbeddingSiteWindow::~nsEmbeddingSiteWindow()
     121                 : {
     122                 :   /* destructor code */
     123                 : }
     124                 : 
     125                 : /* void setDimensions (in unsigned long flags, in long x, in long y, in long cx, in long cy); */
     126                 : NS_IMETHODIMP nsEmbeddingSiteWindow::SetDimensions(PRUint32 flags, PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy)
     127                 : {
     128                 :     return NS_ERROR_NOT_IMPLEMENTED;
     129                 : }
     130                 : 
     131                 : /* void getDimensions (in unsigned long flags, out long x, out long y, out long cx, out long cy); */
     132                 : NS_IMETHODIMP nsEmbeddingSiteWindow::GetDimensions(PRUint32 flags, PRInt32 *x NS_OUTPARAM, PRInt32 *y NS_OUTPARAM, PRInt32 *cx NS_OUTPARAM, PRInt32 *cy NS_OUTPARAM)
     133                 : {
     134                 :     return NS_ERROR_NOT_IMPLEMENTED;
     135                 : }
     136                 : 
     137                 : /* void setFocus (); */
     138                 : NS_IMETHODIMP nsEmbeddingSiteWindow::SetFocus()
     139                 : {
     140                 :     return NS_ERROR_NOT_IMPLEMENTED;
     141                 : }
     142                 : 
     143                 : /* attribute boolean visibility; */
     144                 : NS_IMETHODIMP nsEmbeddingSiteWindow::GetVisibility(bool *aVisibility)
     145                 : {
     146                 :     return NS_ERROR_NOT_IMPLEMENTED;
     147                 : }
     148                 : NS_IMETHODIMP nsEmbeddingSiteWindow::SetVisibility(bool aVisibility)
     149                 : {
     150                 :     return NS_ERROR_NOT_IMPLEMENTED;
     151                 : }
     152                 : 
     153                 : /* attribute wstring title; */
     154                 : NS_IMETHODIMP nsEmbeddingSiteWindow::GetTitle(PRUnichar * *aTitle)
     155                 : {
     156                 :     return NS_ERROR_NOT_IMPLEMENTED;
     157                 : }
     158                 : NS_IMETHODIMP nsEmbeddingSiteWindow::SetTitle(const PRUnichar * aTitle)
     159                 : {
     160                 :     return NS_ERROR_NOT_IMPLEMENTED;
     161                 : }
     162                 : 
     163                 : /* [noscript] readonly attribute voidPtr siteWindow; */
     164                 : NS_IMETHODIMP nsEmbeddingSiteWindow::GetSiteWindow(void **aSiteWindow)
     165                 : {
     166                 :     return NS_ERROR_NOT_IMPLEMENTED;
     167                 : }
     168                 : 
     169                 : /* End of implementation class template. */
     170                 : #endif
     171                 : 
     172                 : 
     173                 : #endif /* __gen_nsIEmbeddingSiteWindow_h__ */

Generated by: LCOV version 1.7