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

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIContentViewerEdit.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/docshell/base/nsIContentViewerEdit.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIContentViewerEdit_h__
           6                 : #define __gen_nsIContentViewerEdit_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:    nsIContentViewerEdit */
          19                 : #define NS_ICONTENTVIEWEREDIT_IID_STR "af13ea3a-d488-4308-b843-526e055ab943"
          20                 :
          21                 : #define NS_ICONTENTVIEWEREDIT_IID \
          22                 :   {0xaf13ea3a, 0xd488, 0x4308, \
          23                 :     { 0xb8, 0x43, 0x52, 0x6e, 0x05, 0x5a, 0xb9, 0x43 }}
          24                 :
          25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIContentViewerEdit : public nsISupports {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONTENTVIEWEREDIT_IID)
          29                 :
          30                 :   /* void clearSelection (); */
          31                 :   NS_SCRIPTABLE NS_IMETHOD ClearSelection(void) = 0;
          32                 :
          33                 :   /* void selectAll (); */
          34                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void) = 0;
          35                 :
          36                 :   /* void copySelection (); */
          37                 :   NS_SCRIPTABLE NS_IMETHOD CopySelection(void) = 0;
          38                 :
          39                 :   /* readonly attribute boolean copyable; */
          40                 :   NS_SCRIPTABLE NS_IMETHOD GetCopyable(bool *aCopyable) = 0;
          41                 :
          42                 :   /* void copyLinkLocation (); */
          43                 :   NS_SCRIPTABLE NS_IMETHOD CopyLinkLocation(void) = 0;
          44                 :
          45                 :   /* readonly attribute boolean inLink; */
          46                 :   NS_SCRIPTABLE NS_IMETHOD GetInLink(bool *aInLink) = 0;
          47                 :
          48                 :   enum {
          49                 :     COPY_IMAGE_TEXT = 1,
          50                 :     COPY_IMAGE_HTML = 2,
          51                 :     COPY_IMAGE_DATA = 4,
          52                 :     COPY_IMAGE_ALL = -1
          53                 :   };
          54                 :
          55                 :   /* void copyImage (in long aCopyFlags); */
          56                 :   NS_SCRIPTABLE NS_IMETHOD CopyImage(PRInt32 aCopyFlags) = 0;
          57                 :
          58                 :   /* readonly attribute boolean inImage; */
          59                 :   NS_SCRIPTABLE NS_IMETHOD GetInImage(bool *aInImage) = 0;
          60                 :
          61                 :   /* AString getContents (in string aMimeType, in boolean aSelectionOnly); */
          62                 :   NS_SCRIPTABLE NS_IMETHOD GetContents(const char * aMimeType, bool aSelectionOnly, nsAString & _retval NS_OUTPARAM) = 0;
          63                 :
          64                 :   /* readonly attribute boolean canGetContents; */
          65                 :   NS_SCRIPTABLE NS_IMETHOD GetCanGetContents(bool *aCanGetContents) = 0;
          66                 :
          67                 : };
          68                 :
          69                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIContentViewerEdit, NS_ICONTENTVIEWEREDIT_IID)
          70                 :
          71                 : /* Use this macro when declaring classes that implement this interface. */
          72                 : #define NS_DECL_NSICONTENTVIEWEREDIT \
          73                 :   NS_SCRIPTABLE NS_IMETHOD ClearSelection(void); \
          74                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void); \
          75                 :   NS_SCRIPTABLE NS_IMETHOD CopySelection(void); \
          76                 :   NS_SCRIPTABLE NS_IMETHOD GetCopyable(bool *aCopyable); \
          77                 :   NS_SCRIPTABLE NS_IMETHOD CopyLinkLocation(void); \
          78                 :   NS_SCRIPTABLE NS_IMETHOD GetInLink(bool *aInLink); \
          79                 :   NS_SCRIPTABLE NS_IMETHOD CopyImage(PRInt32 aCopyFlags); \
          80                 :   NS_SCRIPTABLE NS_IMETHOD GetInImage(bool *aInImage); \
          81                 :   NS_SCRIPTABLE NS_IMETHOD GetContents(const char * aMimeType, bool aSelectionOnly, nsAString & _retval NS_OUTPARAM); \
          82                 :   NS_SCRIPTABLE NS_IMETHOD GetCanGetContents(bool *aCanGetContents);
          83                 :
          84                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          85                 : #define NS_FORWARD_NSICONTENTVIEWEREDIT(_to) \
          86                 :   NS_SCRIPTABLE NS_IMETHOD ClearSelection(void) { return _to ClearSelection(); } \
          87                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void) { return _to SelectAll(); } \
          88                 :   NS_SCRIPTABLE NS_IMETHOD CopySelection(void) { return _to CopySelection(); } \
          89                 :   NS_SCRIPTABLE NS_IMETHOD GetCopyable(bool *aCopyable) { return _to GetCopyable(aCopyable); } \
          90                 :   NS_SCRIPTABLE NS_IMETHOD CopyLinkLocation(void) { return _to CopyLinkLocation(); } \
          91                 :   NS_SCRIPTABLE NS_IMETHOD GetInLink(bool *aInLink) { return _to GetInLink(aInLink); } \
          92                 :   NS_SCRIPTABLE NS_IMETHOD CopyImage(PRInt32 aCopyFlags) { return _to CopyImage(aCopyFlags); } \
          93                 :   NS_SCRIPTABLE NS_IMETHOD GetInImage(bool *aInImage) { return _to GetInImage(aInImage); } \
          94                 :   NS_SCRIPTABLE NS_IMETHOD GetContents(const char * aMimeType, bool aSelectionOnly, nsAString & _retval NS_OUTPARAM) { return _to GetContents(aMimeType, aSelectionOnly, _retval); } \
          95                 :   NS_SCRIPTABLE NS_IMETHOD GetCanGetContents(bool *aCanGetContents) { return _to GetCanGetContents(aCanGetContents); }
          96                 :
          97                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          98                 : #define NS_FORWARD_SAFE_NSICONTENTVIEWEREDIT(_to) \
          99                 :   NS_SCRIPTABLE NS_IMETHOD ClearSelection(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearSelection(); } \
         100                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectAll(); } \
         101                 :   NS_SCRIPTABLE NS_IMETHOD CopySelection(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CopySelection(); } \
         102                 :   NS_SCRIPTABLE NS_IMETHOD GetCopyable(bool *aCopyable) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCopyable(aCopyable); } \
         103                 :   NS_SCRIPTABLE NS_IMETHOD CopyLinkLocation(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CopyLinkLocation(); } \
         104                 :   NS_SCRIPTABLE NS_IMETHOD GetInLink(bool *aInLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInLink(aInLink); } \
         105                 :   NS_SCRIPTABLE NS_IMETHOD CopyImage(PRInt32 aCopyFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->CopyImage(aCopyFlags); } \
         106                 :   NS_SCRIPTABLE NS_IMETHOD GetInImage(bool *aInImage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInImage(aInImage); } \
         107                 :   NS_SCRIPTABLE NS_IMETHOD GetContents(const char * aMimeType, bool aSelectionOnly, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContents(aMimeType, aSelectionOnly, _retval); } \
         108                 :   NS_SCRIPTABLE NS_IMETHOD GetCanGetContents(bool *aCanGetContents) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCanGetContents(aCanGetContents); }
         109                 :
         110                 : #if 0
         111                 : /* Use the code below as a template for the implementation class for this interface. */
         112                 :
         113                 : /* Header file */
         114                 : class nsContentViewerEdit : public nsIContentViewerEdit
         115                 : {
         116                 : public:
         117                 :   NS_DECL_ISUPPORTS
         118                 :   NS_DECL_NSICONTENTVIEWEREDIT
         119                 :
         120                 :   nsContentViewerEdit();
         121                 :
         122                 : private:
         123                 :   ~nsContentViewerEdit();
         124                 :
         125                 : protected:
         126                 :   /* additional members */
         127                 : };
         128                 :
         129                 : /* Implementation file */
         130                 : NS_IMPL_ISUPPORTS1(nsContentViewerEdit, nsIContentViewerEdit)
         131                 :
         132                 : nsContentViewerEdit::nsContentViewerEdit()
         133                 : {
         134                 :   /* member initializers and constructor code */
         135                 : }
         136                 :
         137                 : nsContentViewerEdit::~nsContentViewerEdit()
         138                 : {
         139                 :   /* destructor code */
         140                 : }
         141                 :
         142                 : /* void clearSelection (); */
         143                 : NS_IMETHODIMP nsContentViewerEdit::ClearSelection()
         144                 : {
         145                 :     return NS_ERROR_NOT_IMPLEMENTED;
         146                 : }
         147                 :
         148                 : /* void selectAll (); */
         149                 : NS_IMETHODIMP nsContentViewerEdit::SelectAll()
         150                 : {
         151                 :     return NS_ERROR_NOT_IMPLEMENTED;
         152                 : }
         153                 :
         154                 : /* void copySelection (); */
         155                 : NS_IMETHODIMP nsContentViewerEdit::CopySelection()
         156                 : {
         157                 :     return NS_ERROR_NOT_IMPLEMENTED;
         158                 : }
         159                 :
         160                 : /* readonly attribute boolean copyable; */
         161                 : NS_IMETHODIMP nsContentViewerEdit::GetCopyable(bool *aCopyable)
         162                 : {
         163                 :     return NS_ERROR_NOT_IMPLEMENTED;
         164                 : }
         165                 :
         166                 : /* void copyLinkLocation (); */
         167                 : NS_IMETHODIMP nsContentViewerEdit::CopyLinkLocation()
         168                 : {
         169                 :     return NS_ERROR_NOT_IMPLEMENTED;
         170                 : }
         171                 :
         172                 : /* readonly attribute boolean inLink; */
         173                 : NS_IMETHODIMP nsContentViewerEdit::GetInLink(bool *aInLink)
         174                 : {
         175                 :     return NS_ERROR_NOT_IMPLEMENTED;
         176                 : }
         177                 :
         178                 : /* void copyImage (in long aCopyFlags); */
         179                 : NS_IMETHODIMP nsContentViewerEdit::CopyImage(PRInt32 aCopyFlags)
         180                 : {
         181                 :     return NS_ERROR_NOT_IMPLEMENTED;
         182                 : }
         183                 :
         184                 : /* readonly attribute boolean inImage; */
         185                 : NS_IMETHODIMP nsContentViewerEdit::GetInImage(bool *aInImage)
         186                 : {
         187                 :     return NS_ERROR_NOT_IMPLEMENTED;
         188                 : }
         189                 :
         190                 : /* AString getContents (in string aMimeType, in boolean aSelectionOnly); */
         191                 : NS_IMETHODIMP nsContentViewerEdit::GetContents(const char * aMimeType, bool aSelectionOnly, nsAString & _retval NS_OUTPARAM)
         192                 : {
         193                 :     return NS_ERROR_NOT_IMPLEMENTED;
         194                 : }
         195                 :
         196                 : /* readonly attribute boolean canGetContents; */
         197                 : NS_IMETHODIMP nsContentViewerEdit::GetCanGetContents(bool *aCanGetContents)
         198                 : {
         199                 :     return NS_ERROR_NOT_IMPLEMENTED;
         200                 : }
         201                 :
         202                 : /* End of implementation class template. */
         203                 : #endif
         204                 :
         205                 :
         206                 : #endif /* __gen_nsIContentViewerEdit_h__ */

Generated by: LCOV version 1.7