LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIEditorMailSupport.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/editor/idl/nsIEditorMailSupport.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIEditorMailSupport_h__
       6                 : #define __gen_nsIEditorMailSupport_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 nsISupportsArray; /* forward declaration */
      18                 : 
      19                 : class nsIDOMNode; /* forward declaration */
      20                 : 
      21                 : 
      22                 : /* starting interface:    nsIEditorMailSupport */
      23                 : #define NS_IEDITORMAILSUPPORT_IID_STR "fdf23301-4a94-11d3-9ce4-9960496c41bc"
      24                 : 
      25                 : #define NS_IEDITORMAILSUPPORT_IID \
      26                 :   {0xfdf23301, 0x4a94, 0x11d3, \
      27                 :     { 0x9c, 0xe4, 0x99, 0x60, 0x49, 0x6c, 0x41, 0xbc }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIEditorMailSupport : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEDITORMAILSUPPORT_IID)
      33                 : 
      34                 :   /* void pasteAsQuotation (in long aSelectionType); */
      35                 :   NS_SCRIPTABLE NS_IMETHOD PasteAsQuotation(PRInt32 aSelectionType) = 0;
      36                 : 
      37                 :   /* nsIDOMNode insertAsQuotation (in AString aQuotedText); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD InsertAsQuotation(const nsAString & aQuotedText, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
      39                 : 
      40                 :   /* void insertTextWithQuotations (in DOMString aStringToInsert); */
      41                 :   NS_SCRIPTABLE NS_IMETHOD InsertTextWithQuotations(const nsAString & aStringToInsert) = 0;
      42                 : 
      43                 :   /* void pasteAsCitedQuotation (in AString aCitation, in long aSelectionType); */
      44                 :   NS_SCRIPTABLE NS_IMETHOD PasteAsCitedQuotation(const nsAString & aCitation, PRInt32 aSelectionType) = 0;
      45                 : 
      46                 :   /* nsIDOMNode insertAsCitedQuotation (in AString aQuotedText, in AString aCitation, in boolean aInsertHTML); */
      47                 :   NS_SCRIPTABLE NS_IMETHOD InsertAsCitedQuotation(const nsAString & aQuotedText, const nsAString & aCitation, bool aInsertHTML, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
      48                 : 
      49                 :   /* void rewrap (in boolean aRespectNewlines); */
      50                 :   NS_SCRIPTABLE NS_IMETHOD Rewrap(bool aRespectNewlines) = 0;
      51                 : 
      52                 :   /* void stripCites (); */
      53                 :   NS_SCRIPTABLE NS_IMETHOD StripCites(void) = 0;
      54                 : 
      55                 :   /* nsISupportsArray getEmbeddedObjects (); */
      56                 :   NS_SCRIPTABLE NS_IMETHOD GetEmbeddedObjects(nsISupportsArray * *_retval NS_OUTPARAM) = 0;
      57                 : 
      58                 : };
      59                 : 
      60                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIEditorMailSupport, NS_IEDITORMAILSUPPORT_IID)
      61                 : 
      62                 : /* Use this macro when declaring classes that implement this interface. */
      63                 : #define NS_DECL_NSIEDITORMAILSUPPORT \
      64                 :   NS_SCRIPTABLE NS_IMETHOD PasteAsQuotation(PRInt32 aSelectionType); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD InsertAsQuotation(const nsAString & aQuotedText, nsIDOMNode * *_retval NS_OUTPARAM); \
      66                 :   NS_SCRIPTABLE NS_IMETHOD InsertTextWithQuotations(const nsAString & aStringToInsert); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD PasteAsCitedQuotation(const nsAString & aCitation, PRInt32 aSelectionType); \
      68                 :   NS_SCRIPTABLE NS_IMETHOD InsertAsCitedQuotation(const nsAString & aQuotedText, const nsAString & aCitation, bool aInsertHTML, nsIDOMNode * *_retval NS_OUTPARAM); \
      69                 :   NS_SCRIPTABLE NS_IMETHOD Rewrap(bool aRespectNewlines); \
      70                 :   NS_SCRIPTABLE NS_IMETHOD StripCites(void); \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetEmbeddedObjects(nsISupportsArray * *_retval NS_OUTPARAM); 
      72                 : 
      73                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      74                 : #define NS_FORWARD_NSIEDITORMAILSUPPORT(_to) \
      75                 :   NS_SCRIPTABLE NS_IMETHOD PasteAsQuotation(PRInt32 aSelectionType) { return _to PasteAsQuotation(aSelectionType); } \
      76                 :   NS_SCRIPTABLE NS_IMETHOD InsertAsQuotation(const nsAString & aQuotedText, nsIDOMNode * *_retval NS_OUTPARAM) { return _to InsertAsQuotation(aQuotedText, _retval); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD InsertTextWithQuotations(const nsAString & aStringToInsert) { return _to InsertTextWithQuotations(aStringToInsert); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD PasteAsCitedQuotation(const nsAString & aCitation, PRInt32 aSelectionType) { return _to PasteAsCitedQuotation(aCitation, aSelectionType); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD InsertAsCitedQuotation(const nsAString & aQuotedText, const nsAString & aCitation, bool aInsertHTML, nsIDOMNode * *_retval NS_OUTPARAM) { return _to InsertAsCitedQuotation(aQuotedText, aCitation, aInsertHTML, _retval); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD Rewrap(bool aRespectNewlines) { return _to Rewrap(aRespectNewlines); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD StripCites(void) { return _to StripCites(); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD GetEmbeddedObjects(nsISupportsArray * *_retval NS_OUTPARAM) { return _to GetEmbeddedObjects(_retval); } 
      83                 : 
      84                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      85                 : #define NS_FORWARD_SAFE_NSIEDITORMAILSUPPORT(_to) \
      86                 :   NS_SCRIPTABLE NS_IMETHOD PasteAsQuotation(PRInt32 aSelectionType) { return !_to ? NS_ERROR_NULL_POINTER : _to->PasteAsQuotation(aSelectionType); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD InsertAsQuotation(const nsAString & aQuotedText, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertAsQuotation(aQuotedText, _retval); } \
      88                 :   NS_SCRIPTABLE NS_IMETHOD InsertTextWithQuotations(const nsAString & aStringToInsert) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertTextWithQuotations(aStringToInsert); } \
      89                 :   NS_SCRIPTABLE NS_IMETHOD PasteAsCitedQuotation(const nsAString & aCitation, PRInt32 aSelectionType) { return !_to ? NS_ERROR_NULL_POINTER : _to->PasteAsCitedQuotation(aCitation, aSelectionType); } \
      90                 :   NS_SCRIPTABLE NS_IMETHOD InsertAsCitedQuotation(const nsAString & aQuotedText, const nsAString & aCitation, bool aInsertHTML, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertAsCitedQuotation(aQuotedText, aCitation, aInsertHTML, _retval); } \
      91                 :   NS_SCRIPTABLE NS_IMETHOD Rewrap(bool aRespectNewlines) { return !_to ? NS_ERROR_NULL_POINTER : _to->Rewrap(aRespectNewlines); } \
      92                 :   NS_SCRIPTABLE NS_IMETHOD StripCites(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->StripCites(); } \
      93                 :   NS_SCRIPTABLE NS_IMETHOD GetEmbeddedObjects(nsISupportsArray * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmbeddedObjects(_retval); } 
      94                 : 
      95                 : #if 0
      96                 : /* Use the code below as a template for the implementation class for this interface. */
      97                 : 
      98                 : /* Header file */
      99                 : class nsEditorMailSupport : public nsIEditorMailSupport
     100                 : {
     101                 : public:
     102                 :   NS_DECL_ISUPPORTS
     103                 :   NS_DECL_NSIEDITORMAILSUPPORT
     104                 : 
     105                 :   nsEditorMailSupport();
     106                 : 
     107                 : private:
     108                 :   ~nsEditorMailSupport();
     109                 : 
     110                 : protected:
     111                 :   /* additional members */
     112                 : };
     113                 : 
     114                 : /* Implementation file */
     115                 : NS_IMPL_ISUPPORTS1(nsEditorMailSupport, nsIEditorMailSupport)
     116                 : 
     117                 : nsEditorMailSupport::nsEditorMailSupport()
     118                 : {
     119                 :   /* member initializers and constructor code */
     120                 : }
     121                 : 
     122                 : nsEditorMailSupport::~nsEditorMailSupport()
     123                 : {
     124                 :   /* destructor code */
     125                 : }
     126                 : 
     127                 : /* void pasteAsQuotation (in long aSelectionType); */
     128                 : NS_IMETHODIMP nsEditorMailSupport::PasteAsQuotation(PRInt32 aSelectionType)
     129                 : {
     130                 :     return NS_ERROR_NOT_IMPLEMENTED;
     131                 : }
     132                 : 
     133                 : /* nsIDOMNode insertAsQuotation (in AString aQuotedText); */
     134                 : NS_IMETHODIMP nsEditorMailSupport::InsertAsQuotation(const nsAString & aQuotedText, nsIDOMNode * *_retval NS_OUTPARAM)
     135                 : {
     136                 :     return NS_ERROR_NOT_IMPLEMENTED;
     137                 : }
     138                 : 
     139                 : /* void insertTextWithQuotations (in DOMString aStringToInsert); */
     140                 : NS_IMETHODIMP nsEditorMailSupport::InsertTextWithQuotations(const nsAString & aStringToInsert)
     141                 : {
     142                 :     return NS_ERROR_NOT_IMPLEMENTED;
     143                 : }
     144                 : 
     145                 : /* void pasteAsCitedQuotation (in AString aCitation, in long aSelectionType); */
     146                 : NS_IMETHODIMP nsEditorMailSupport::PasteAsCitedQuotation(const nsAString & aCitation, PRInt32 aSelectionType)
     147                 : {
     148                 :     return NS_ERROR_NOT_IMPLEMENTED;
     149                 : }
     150                 : 
     151                 : /* nsIDOMNode insertAsCitedQuotation (in AString aQuotedText, in AString aCitation, in boolean aInsertHTML); */
     152                 : NS_IMETHODIMP nsEditorMailSupport::InsertAsCitedQuotation(const nsAString & aQuotedText, const nsAString & aCitation, bool aInsertHTML, nsIDOMNode * *_retval NS_OUTPARAM)
     153                 : {
     154                 :     return NS_ERROR_NOT_IMPLEMENTED;
     155                 : }
     156                 : 
     157                 : /* void rewrap (in boolean aRespectNewlines); */
     158                 : NS_IMETHODIMP nsEditorMailSupport::Rewrap(bool aRespectNewlines)
     159                 : {
     160                 :     return NS_ERROR_NOT_IMPLEMENTED;
     161                 : }
     162                 : 
     163                 : /* void stripCites (); */
     164                 : NS_IMETHODIMP nsEditorMailSupport::StripCites()
     165                 : {
     166                 :     return NS_ERROR_NOT_IMPLEMENTED;
     167                 : }
     168                 : 
     169                 : /* nsISupportsArray getEmbeddedObjects (); */
     170                 : NS_IMETHODIMP nsEditorMailSupport::GetEmbeddedObjects(nsISupportsArray * *_retval NS_OUTPARAM)
     171                 : {
     172                 :     return NS_ERROR_NOT_IMPLEMENTED;
     173                 : }
     174                 : 
     175                 : /* End of implementation class template. */
     176                 : #endif
     177                 : 
     178                 : 
     179                 : #endif /* __gen_nsIEditorMailSupport_h__ */

Generated by: LCOV version 1.7