LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIImageDocument.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/content/html/document/public/nsIImageDocument.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIImageDocument_h__
       6                 : #define __gen_nsIImageDocument_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 imgIRequest; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsIImageDocument */
      21                 : #define NS_IIMAGEDOCUMENT_IID_STR "7b80eebc-c98e-4461-8bdb-6e3b6e828890"
      22                 : 
      23                 : #define NS_IIMAGEDOCUMENT_IID \
      24                 :   {0x7b80eebc, 0xc98e, 0x4461, \
      25                 :     { 0x8b, 0xdb, 0x6e, 0x3b, 0x6e, 0x82, 0x88, 0x90 }}
      26                 : 
      27               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIImageDocument : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIMAGEDOCUMENT_IID)
      31                 : 
      32                 :   /* readonly attribute boolean imageResizingEnabled; */
      33                 :   NS_SCRIPTABLE NS_IMETHOD GetImageResizingEnabled(bool *aImageResizingEnabled) = 0;
      34                 : 
      35                 :   /* readonly attribute boolean imageIsOverflowing; */
      36                 :   NS_SCRIPTABLE NS_IMETHOD GetImageIsOverflowing(bool *aImageIsOverflowing) = 0;
      37                 : 
      38                 :   /* readonly attribute boolean imageIsResized; */
      39                 :   NS_SCRIPTABLE NS_IMETHOD GetImageIsResized(bool *aImageIsResized) = 0;
      40                 : 
      41                 :   /* readonly attribute imgIRequest imageRequest; */
      42                 :   NS_SCRIPTABLE NS_IMETHOD GetImageRequest(imgIRequest * *aImageRequest) = 0;
      43                 : 
      44                 :   /* void shrinkToFit (); */
      45                 :   NS_SCRIPTABLE NS_IMETHOD ShrinkToFit(void) = 0;
      46                 : 
      47                 :   /* void restoreImage (); */
      48                 :   NS_SCRIPTABLE NS_IMETHOD RestoreImage(void) = 0;
      49                 : 
      50                 :   /* void restoreImageTo (in long x, in long y); */
      51                 :   NS_SCRIPTABLE NS_IMETHOD RestoreImageTo(PRInt32 x, PRInt32 y) = 0;
      52                 : 
      53                 :   /* void toggleImageSize (); */
      54                 :   NS_SCRIPTABLE NS_IMETHOD ToggleImageSize(void) = 0;
      55                 : 
      56                 : };
      57                 : 
      58                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIImageDocument, NS_IIMAGEDOCUMENT_IID)
      59                 : 
      60                 : /* Use this macro when declaring classes that implement this interface. */
      61                 : #define NS_DECL_NSIIMAGEDOCUMENT \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetImageResizingEnabled(bool *aImageResizingEnabled); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetImageIsOverflowing(bool *aImageIsOverflowing); \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetImageIsResized(bool *aImageIsResized); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetImageRequest(imgIRequest * *aImageRequest); \
      66                 :   NS_SCRIPTABLE NS_IMETHOD ShrinkToFit(void); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD RestoreImage(void); \
      68                 :   NS_SCRIPTABLE NS_IMETHOD RestoreImageTo(PRInt32 x, PRInt32 y); \
      69                 :   NS_SCRIPTABLE NS_IMETHOD ToggleImageSize(void); 
      70                 : 
      71                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      72                 : #define NS_FORWARD_NSIIMAGEDOCUMENT(_to) \
      73                 :   NS_SCRIPTABLE NS_IMETHOD GetImageResizingEnabled(bool *aImageResizingEnabled) { return _to GetImageResizingEnabled(aImageResizingEnabled); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD GetImageIsOverflowing(bool *aImageIsOverflowing) { return _to GetImageIsOverflowing(aImageIsOverflowing); } \
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetImageIsResized(bool *aImageIsResized) { return _to GetImageIsResized(aImageIsResized); } \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetImageRequest(imgIRequest * *aImageRequest) { return _to GetImageRequest(aImageRequest); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD ShrinkToFit(void) { return _to ShrinkToFit(); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD RestoreImage(void) { return _to RestoreImage(); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD RestoreImageTo(PRInt32 x, PRInt32 y) { return _to RestoreImageTo(x, y); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD ToggleImageSize(void) { return _to ToggleImageSize(); } 
      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_NSIIMAGEDOCUMENT(_to) \
      84                 :   NS_SCRIPTABLE NS_IMETHOD GetImageResizingEnabled(bool *aImageResizingEnabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImageResizingEnabled(aImageResizingEnabled); } \
      85                 :   NS_SCRIPTABLE NS_IMETHOD GetImageIsOverflowing(bool *aImageIsOverflowing) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImageIsOverflowing(aImageIsOverflowing); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD GetImageIsResized(bool *aImageIsResized) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImageIsResized(aImageIsResized); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD GetImageRequest(imgIRequest * *aImageRequest) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImageRequest(aImageRequest); } \
      88                 :   NS_SCRIPTABLE NS_IMETHOD ShrinkToFit(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ShrinkToFit(); } \
      89                 :   NS_SCRIPTABLE NS_IMETHOD RestoreImage(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->RestoreImage(); } \
      90                 :   NS_SCRIPTABLE NS_IMETHOD RestoreImageTo(PRInt32 x, PRInt32 y) { return !_to ? NS_ERROR_NULL_POINTER : _to->RestoreImageTo(x, y); } \
      91                 :   NS_SCRIPTABLE NS_IMETHOD ToggleImageSize(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToggleImageSize(); } 
      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 nsImageDocument : public nsIImageDocument
      98                 : {
      99                 : public:
     100                 :   NS_DECL_ISUPPORTS
     101                 :   NS_DECL_NSIIMAGEDOCUMENT
     102                 : 
     103                 :   nsImageDocument();
     104                 : 
     105                 : private:
     106                 :   ~nsImageDocument();
     107                 : 
     108                 : protected:
     109                 :   /* additional members */
     110                 : };
     111                 : 
     112                 : /* Implementation file */
     113                 : NS_IMPL_ISUPPORTS1(nsImageDocument, nsIImageDocument)
     114                 : 
     115                 : nsImageDocument::nsImageDocument()
     116                 : {
     117                 :   /* member initializers and constructor code */
     118                 : }
     119                 : 
     120                 : nsImageDocument::~nsImageDocument()
     121                 : {
     122                 :   /* destructor code */
     123                 : }
     124                 : 
     125                 : /* readonly attribute boolean imageResizingEnabled; */
     126                 : NS_IMETHODIMP nsImageDocument::GetImageResizingEnabled(bool *aImageResizingEnabled)
     127                 : {
     128                 :     return NS_ERROR_NOT_IMPLEMENTED;
     129                 : }
     130                 : 
     131                 : /* readonly attribute boolean imageIsOverflowing; */
     132                 : NS_IMETHODIMP nsImageDocument::GetImageIsOverflowing(bool *aImageIsOverflowing)
     133                 : {
     134                 :     return NS_ERROR_NOT_IMPLEMENTED;
     135                 : }
     136                 : 
     137                 : /* readonly attribute boolean imageIsResized; */
     138                 : NS_IMETHODIMP nsImageDocument::GetImageIsResized(bool *aImageIsResized)
     139                 : {
     140                 :     return NS_ERROR_NOT_IMPLEMENTED;
     141                 : }
     142                 : 
     143                 : /* readonly attribute imgIRequest imageRequest; */
     144                 : NS_IMETHODIMP nsImageDocument::GetImageRequest(imgIRequest * *aImageRequest)
     145                 : {
     146                 :     return NS_ERROR_NOT_IMPLEMENTED;
     147                 : }
     148                 : 
     149                 : /* void shrinkToFit (); */
     150                 : NS_IMETHODIMP nsImageDocument::ShrinkToFit()
     151                 : {
     152                 :     return NS_ERROR_NOT_IMPLEMENTED;
     153                 : }
     154                 : 
     155                 : /* void restoreImage (); */
     156                 : NS_IMETHODIMP nsImageDocument::RestoreImage()
     157                 : {
     158                 :     return NS_ERROR_NOT_IMPLEMENTED;
     159                 : }
     160                 : 
     161                 : /* void restoreImageTo (in long x, in long y); */
     162                 : NS_IMETHODIMP nsImageDocument::RestoreImageTo(PRInt32 x, PRInt32 y)
     163                 : {
     164                 :     return NS_ERROR_NOT_IMPLEMENTED;
     165                 : }
     166                 : 
     167                 : /* void toggleImageSize (); */
     168                 : NS_IMETHODIMP nsImageDocument::ToggleImageSize()
     169                 : {
     170                 :     return NS_ERROR_NOT_IMPLEMENTED;
     171                 : }
     172                 : 
     173                 : /* End of implementation class template. */
     174                 : #endif
     175                 : 
     176                 : 
     177                 : #endif /* __gen_nsIImageDocument_h__ */

Generated by: LCOV version 1.7