LCOV - app.info - objdir/dist/include/nsIHTMLObjectResizer.h

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-aurora-lnx-codecoverage/build/editor/idl/nsIHTMLObjectResizer.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIHTMLObjectResizer_h__
           6                 : #define __gen_nsIHTMLObjectResizer_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_nsISupports_h__
          10                 : #include "nsISupports.h"
          11                 : #endif
          12                 :
          13                 : #ifndef __gen_domstubs_h__
          14                 : #include "domstubs.h"
          15                 : #endif
          16                 :
          17                 : /* For IDL files that don't want to include root IDL files. */
          18                 : #ifndef NS_NO_VTABLE
          19                 : #define NS_NO_VTABLE
          20                 : #endif
          21                 : class nsIHTMLObjectResizeListener; /* forward declaration */
          22                 :
          23                 :
          24                 : /* starting interface:    nsIHTMLObjectResizer */
          25                 : #define NS_IHTMLOBJECTRESIZER_IID_STR "8b396020-69d3-451f-80c1-1a96a7da25a9"
          26                 :
          27                 : #define NS_IHTMLOBJECTRESIZER_IID \
          28                 :   {0x8b396020, 0x69d3, 0x451f, \
          29                 :     { 0x80, 0xc1, 0x1a, 0x96, 0xa7, 0xda, 0x25, 0xa9 }}
          30                 :
          31               0 : class NS_SCRIPTABLE nsIHTMLObjectResizer : public nsISupports {
          32                 :  public:
          33                 :
          34                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHTMLOBJECTRESIZER_IID)
          35                 :
          36                 :    typedef short EResizerLocation;
          37                 :   enum {
          38                 :     eTopLeft = 0,
          39                 :     eTop = 1,
          40                 :     eTopRight = 2,
          41                 :     eLeft = 3,
          42                 :     eRight = 4,
          43                 :     eBottomLeft = 5,
          44                 :     eBottom = 6,
          45                 :     eBottomRight = 7
          46                 :   };
          47                 :
          48                 :   /* readonly attribute nsIDOMElement resizedObject; */
          49                 :   NS_SCRIPTABLE NS_IMETHOD GetResizedObject(nsIDOMElement * *aResizedObject) = 0;
          50                 :
          51                 :   /* attribute boolean objectResizingEnabled; */
          52                 :   NS_SCRIPTABLE NS_IMETHOD GetObjectResizingEnabled(bool *aObjectResizingEnabled) = 0;
          53                 :   NS_SCRIPTABLE NS_IMETHOD SetObjectResizingEnabled(bool aObjectResizingEnabled) = 0;
          54                 :
          55                 :   /* void showResizers (in nsIDOMElement aResizedElement); */
          56                 :   NS_SCRIPTABLE NS_IMETHOD ShowResizers(nsIDOMElement *aResizedElement) = 0;
          57                 :
          58                 :   /* void hideResizers (); */
          59                 :   NS_SCRIPTABLE NS_IMETHOD HideResizers(void) = 0;
          60                 :
          61                 :   /* void refreshResizers (); */
          62                 :   NS_SCRIPTABLE NS_IMETHOD RefreshResizers(void) = 0;
          63                 :
          64                 :   /* void mouseDown (in long aX, in long aY, in nsIDOMElement aTarget, in nsIDOMEvent aMouseEvent); */
          65                 :   NS_SCRIPTABLE NS_IMETHOD MouseDown(PRInt32 aX, PRInt32 aY, nsIDOMElement *aTarget, nsIDOMEvent *aMouseEvent) = 0;
          66                 :
          67                 :   /* void mouseUp (in long aX, in long aY, in nsIDOMElement aTarget); */
          68                 :   NS_SCRIPTABLE NS_IMETHOD MouseUp(PRInt32 aX, PRInt32 aY, nsIDOMElement *aTarget) = 0;
          69                 :
          70                 :   /* void mouseMove (in nsIDOMEvent aMouseEvent); */
          71                 :   NS_SCRIPTABLE NS_IMETHOD MouseMove(nsIDOMEvent *aMouseEvent) = 0;
          72                 :
          73                 :   /* void addObjectResizeEventListener (in nsIHTMLObjectResizeListener aListener); */
          74                 :   NS_SCRIPTABLE NS_IMETHOD AddObjectResizeEventListener(nsIHTMLObjectResizeListener *aListener) = 0;
          75                 :
          76                 :   /* void removeObjectResizeEventListener (in nsIHTMLObjectResizeListener aListener); */
          77                 :   NS_SCRIPTABLE NS_IMETHOD RemoveObjectResizeEventListener(nsIHTMLObjectResizeListener *aListener) = 0;
          78                 :
          79                 : };
          80                 :
          81                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIHTMLObjectResizer, NS_IHTMLOBJECTRESIZER_IID)
          82                 :
          83                 : /* Use this macro when declaring classes that implement this interface. */
          84                 : #define NS_DECL_NSIHTMLOBJECTRESIZER \
          85                 :   NS_SCRIPTABLE NS_IMETHOD GetResizedObject(nsIDOMElement * *aResizedObject); \
          86                 :   NS_SCRIPTABLE NS_IMETHOD GetObjectResizingEnabled(bool *aObjectResizingEnabled); \
          87                 :   NS_SCRIPTABLE NS_IMETHOD SetObjectResizingEnabled(bool aObjectResizingEnabled); \
          88                 :   NS_SCRIPTABLE NS_IMETHOD ShowResizers(nsIDOMElement *aResizedElement); \
          89                 :   NS_SCRIPTABLE NS_IMETHOD HideResizers(void); \
          90                 :   NS_SCRIPTABLE NS_IMETHOD RefreshResizers(void); \
          91                 :   NS_SCRIPTABLE NS_IMETHOD MouseDown(PRInt32 aX, PRInt32 aY, nsIDOMElement *aTarget, nsIDOMEvent *aMouseEvent); \
          92                 :   NS_SCRIPTABLE NS_IMETHOD MouseUp(PRInt32 aX, PRInt32 aY, nsIDOMElement *aTarget); \
          93                 :   NS_SCRIPTABLE NS_IMETHOD MouseMove(nsIDOMEvent *aMouseEvent); \
          94                 :   NS_SCRIPTABLE NS_IMETHOD AddObjectResizeEventListener(nsIHTMLObjectResizeListener *aListener); \
          95                 :   NS_SCRIPTABLE NS_IMETHOD RemoveObjectResizeEventListener(nsIHTMLObjectResizeListener *aListener);
          96                 :
          97                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          98                 : #define NS_FORWARD_NSIHTMLOBJECTRESIZER(_to) \
          99                 :   NS_SCRIPTABLE NS_IMETHOD GetResizedObject(nsIDOMElement * *aResizedObject) { return _to GetResizedObject(aResizedObject); } \
         100                 :   NS_SCRIPTABLE NS_IMETHOD GetObjectResizingEnabled(bool *aObjectResizingEnabled) { return _to GetObjectResizingEnabled(aObjectResizingEnabled); } \
         101                 :   NS_SCRIPTABLE NS_IMETHOD SetObjectResizingEnabled(bool aObjectResizingEnabled) { return _to SetObjectResizingEnabled(aObjectResizingEnabled); } \
         102                 :   NS_SCRIPTABLE NS_IMETHOD ShowResizers(nsIDOMElement *aResizedElement) { return _to ShowResizers(aResizedElement); } \
         103                 :   NS_SCRIPTABLE NS_IMETHOD HideResizers(void) { return _to HideResizers(); } \
         104                 :   NS_SCRIPTABLE NS_IMETHOD RefreshResizers(void) { return _to RefreshResizers(); } \
         105                 :   NS_SCRIPTABLE NS_IMETHOD MouseDown(PRInt32 aX, PRInt32 aY, nsIDOMElement *aTarget, nsIDOMEvent *aMouseEvent) { return _to MouseDown(aX, aY, aTarget, aMouseEvent); } \
         106                 :   NS_SCRIPTABLE NS_IMETHOD MouseUp(PRInt32 aX, PRInt32 aY, nsIDOMElement *aTarget) { return _to MouseUp(aX, aY, aTarget); } \
         107                 :   NS_SCRIPTABLE NS_IMETHOD MouseMove(nsIDOMEvent *aMouseEvent) { return _to MouseMove(aMouseEvent); } \
         108                 :   NS_SCRIPTABLE NS_IMETHOD AddObjectResizeEventListener(nsIHTMLObjectResizeListener *aListener) { return _to AddObjectResizeEventListener(aListener); } \
         109                 :   NS_SCRIPTABLE NS_IMETHOD RemoveObjectResizeEventListener(nsIHTMLObjectResizeListener *aListener) { return _to RemoveObjectResizeEventListener(aListener); }
         110                 :
         111                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
         112                 : #define NS_FORWARD_SAFE_NSIHTMLOBJECTRESIZER(_to) \
         113                 :   NS_SCRIPTABLE NS_IMETHOD GetResizedObject(nsIDOMElement * *aResizedObject) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResizedObject(aResizedObject); } \
         114                 :   NS_SCRIPTABLE NS_IMETHOD GetObjectResizingEnabled(bool *aObjectResizingEnabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetObjectResizingEnabled(aObjectResizingEnabled); } \
         115                 :   NS_SCRIPTABLE NS_IMETHOD SetObjectResizingEnabled(bool aObjectResizingEnabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetObjectResizingEnabled(aObjectResizingEnabled); } \
         116                 :   NS_SCRIPTABLE NS_IMETHOD ShowResizers(nsIDOMElement *aResizedElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowResizers(aResizedElement); } \
         117                 :   NS_SCRIPTABLE NS_IMETHOD HideResizers(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->HideResizers(); } \
         118                 :   NS_SCRIPTABLE NS_IMETHOD RefreshResizers(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->RefreshResizers(); } \
         119                 :   NS_SCRIPTABLE NS_IMETHOD MouseDown(PRInt32 aX, PRInt32 aY, nsIDOMElement *aTarget, nsIDOMEvent *aMouseEvent) { return !_to ? NS_ERROR_NULL_POINTER : _to->MouseDown(aX, aY, aTarget, aMouseEvent); } \
         120                 :   NS_SCRIPTABLE NS_IMETHOD MouseUp(PRInt32 aX, PRInt32 aY, nsIDOMElement *aTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->MouseUp(aX, aY, aTarget); } \
         121                 :   NS_SCRIPTABLE NS_IMETHOD MouseMove(nsIDOMEvent *aMouseEvent) { return !_to ? NS_ERROR_NULL_POINTER : _to->MouseMove(aMouseEvent); } \
         122                 :   NS_SCRIPTABLE NS_IMETHOD AddObjectResizeEventListener(nsIHTMLObjectResizeListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddObjectResizeEventListener(aListener); } \
         123                 :   NS_SCRIPTABLE NS_IMETHOD RemoveObjectResizeEventListener(nsIHTMLObjectResizeListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveObjectResizeEventListener(aListener); }
         124                 :
         125                 : #if 0
         126                 : /* Use the code below as a template for the implementation class for this interface. */
         127                 :
         128                 : /* Header file */
         129                 : class nsHTMLObjectResizer : public nsIHTMLObjectResizer
         130                 : {
         131                 : public:
         132                 :   NS_DECL_ISUPPORTS
         133                 :   NS_DECL_NSIHTMLOBJECTRESIZER
         134                 :
         135                 :   nsHTMLObjectResizer();
         136                 :
         137                 : private:
         138                 :   ~nsHTMLObjectResizer();
         139                 :
         140                 : protected:
         141                 :   /* additional members */
         142                 : };
         143                 :
         144                 : /* Implementation file */
         145                 : NS_IMPL_ISUPPORTS1(nsHTMLObjectResizer, nsIHTMLObjectResizer)
         146                 :
         147                 : nsHTMLObjectResizer::nsHTMLObjectResizer()
         148                 : {
         149                 :   /* member initializers and constructor code */
         150                 : }
         151                 :
         152                 : nsHTMLObjectResizer::~nsHTMLObjectResizer()
         153                 : {
         154                 :   /* destructor code */
         155                 : }
         156                 :
         157                 : /* readonly attribute nsIDOMElement resizedObject; */
         158                 : NS_IMETHODIMP nsHTMLObjectResizer::GetResizedObject(nsIDOMElement * *aResizedObject)
         159                 : {
         160                 :     return NS_ERROR_NOT_IMPLEMENTED;
         161                 : }
         162                 :
         163                 : /* attribute boolean objectResizingEnabled; */
         164                 : NS_IMETHODIMP nsHTMLObjectResizer::GetObjectResizingEnabled(bool *aObjectResizingEnabled)
         165                 : {
         166                 :     return NS_ERROR_NOT_IMPLEMENTED;
         167                 : }
         168                 : NS_IMETHODIMP nsHTMLObjectResizer::SetObjectResizingEnabled(bool aObjectResizingEnabled)
         169                 : {
         170                 :     return NS_ERROR_NOT_IMPLEMENTED;
         171                 : }
         172                 :
         173                 : /* void showResizers (in nsIDOMElement aResizedElement); */
         174                 : NS_IMETHODIMP nsHTMLObjectResizer::ShowResizers(nsIDOMElement *aResizedElement)
         175                 : {
         176                 :     return NS_ERROR_NOT_IMPLEMENTED;
         177                 : }
         178                 :
         179                 : /* void hideResizers (); */
         180                 : NS_IMETHODIMP nsHTMLObjectResizer::HideResizers()
         181                 : {
         182                 :     return NS_ERROR_NOT_IMPLEMENTED;
         183                 : }
         184                 :
         185                 : /* void refreshResizers (); */
         186                 : NS_IMETHODIMP nsHTMLObjectResizer::RefreshResizers()
         187                 : {
         188                 :     return NS_ERROR_NOT_IMPLEMENTED;
         189                 : }
         190                 :
         191                 : /* void mouseDown (in long aX, in long aY, in nsIDOMElement aTarget, in nsIDOMEvent aMouseEvent); */
         192                 : NS_IMETHODIMP nsHTMLObjectResizer::MouseDown(PRInt32 aX, PRInt32 aY, nsIDOMElement *aTarget, nsIDOMEvent *aMouseEvent)
         193                 : {
         194                 :     return NS_ERROR_NOT_IMPLEMENTED;
         195                 : }
         196                 :
         197                 : /* void mouseUp (in long aX, in long aY, in nsIDOMElement aTarget); */
         198                 : NS_IMETHODIMP nsHTMLObjectResizer::MouseUp(PRInt32 aX, PRInt32 aY, nsIDOMElement *aTarget)
         199                 : {
         200                 :     return NS_ERROR_NOT_IMPLEMENTED;
         201                 : }
         202                 :
         203                 : /* void mouseMove (in nsIDOMEvent aMouseEvent); */
         204                 : NS_IMETHODIMP nsHTMLObjectResizer::MouseMove(nsIDOMEvent *aMouseEvent)
         205                 : {
         206                 :     return NS_ERROR_NOT_IMPLEMENTED;
         207                 : }
         208                 :
         209                 : /* void addObjectResizeEventListener (in nsIHTMLObjectResizeListener aListener); */
         210                 : NS_IMETHODIMP nsHTMLObjectResizer::AddObjectResizeEventListener(nsIHTMLObjectResizeListener *aListener)
         211                 : {
         212                 :     return NS_ERROR_NOT_IMPLEMENTED;
         213                 : }
         214                 :
         215                 : /* void removeObjectResizeEventListener (in nsIHTMLObjectResizeListener aListener); */
         216                 : NS_IMETHODIMP nsHTMLObjectResizer::RemoveObjectResizeEventListener(nsIHTMLObjectResizeListener *aListener)
         217                 : {
         218                 :     return NS_ERROR_NOT_IMPLEMENTED;
         219                 : }
         220                 :
         221                 : /* End of implementation class template. */
         222                 : #endif
         223                 :
         224                 :
         225                 : #endif /* __gen_nsIHTMLObjectResizer_h__ */

Generated by: LCOV version 1.7