LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIEditorStyleSheets.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/nsIEditorStyleSheets.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIEditorStyleSheets_h__
       6                 : #define __gen_nsIEditorStyleSheets_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 nsCSSStyleSheet;
      18                 : 
      19                 : /* starting interface:    nsIEditorStyleSheets */
      20                 : #define NS_IEDITORSTYLESHEETS_IID_STR "4805e682-49b9-11d3-9ce4-ed60bd6cb5bc"
      21                 : 
      22                 : #define NS_IEDITORSTYLESHEETS_IID \
      23                 :   {0x4805e682, 0x49b9, 0x11d3, \
      24                 :     { 0x9c, 0xe4, 0xed, 0x60, 0xbd, 0x6c, 0xb5, 0xbc }}
      25                 : 
      26               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIEditorStyleSheets : public nsISupports {
      27                 :  public: 
      28                 : 
      29                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEDITORSTYLESHEETS_IID)
      30                 : 
      31                 :   /* void replaceStyleSheet (in AString aURL); */
      32                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceStyleSheet(const nsAString & aURL) = 0;
      33                 : 
      34                 :   /* void addStyleSheet (in AString aURL); */
      35                 :   NS_SCRIPTABLE NS_IMETHOD AddStyleSheet(const nsAString & aURL) = 0;
      36                 : 
      37                 :   /* void replaceOverrideStyleSheet (in AString aURL); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceOverrideStyleSheet(const nsAString & aURL) = 0;
      39                 : 
      40                 :   /* void addOverrideStyleSheet (in AString aURL); */
      41                 :   NS_SCRIPTABLE NS_IMETHOD AddOverrideStyleSheet(const nsAString & aURL) = 0;
      42                 : 
      43                 :   /* void removeStyleSheet (in AString aURL); */
      44                 :   NS_SCRIPTABLE NS_IMETHOD RemoveStyleSheet(const nsAString & aURL) = 0;
      45                 : 
      46                 :   /* void removeOverrideStyleSheet (in AString aURL); */
      47                 :   NS_SCRIPTABLE NS_IMETHOD RemoveOverrideStyleSheet(const nsAString & aURL) = 0;
      48                 : 
      49                 :   /* void enableStyleSheet (in AString aURL, in boolean aEnable); */
      50                 :   NS_SCRIPTABLE NS_IMETHOD EnableStyleSheet(const nsAString & aURL, bool aEnable) = 0;
      51                 : 
      52                 :   /* [noscript] nsCSSStyleSheet getStyleSheetForURL (in AString aURL); */
      53                 :   NS_IMETHOD GetStyleSheetForURL(const nsAString & aURL, nsCSSStyleSheet **_retval NS_OUTPARAM) = 0;
      54                 : 
      55                 :   /* [noscript] AString getURLForStyleSheet (in nsCSSStyleSheet aStyleSheet); */
      56                 :   NS_IMETHOD GetURLForStyleSheet(nsCSSStyleSheet *aStyleSheet, nsAString & _retval NS_OUTPARAM) = 0;
      57                 : 
      58                 : };
      59                 : 
      60                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIEditorStyleSheets, NS_IEDITORSTYLESHEETS_IID)
      61                 : 
      62                 : /* Use this macro when declaring classes that implement this interface. */
      63                 : #define NS_DECL_NSIEDITORSTYLESHEETS \
      64                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceStyleSheet(const nsAString & aURL); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD AddStyleSheet(const nsAString & aURL); \
      66                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceOverrideStyleSheet(const nsAString & aURL); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD AddOverrideStyleSheet(const nsAString & aURL); \
      68                 :   NS_SCRIPTABLE NS_IMETHOD RemoveStyleSheet(const nsAString & aURL); \
      69                 :   NS_SCRIPTABLE NS_IMETHOD RemoveOverrideStyleSheet(const nsAString & aURL); \
      70                 :   NS_SCRIPTABLE NS_IMETHOD EnableStyleSheet(const nsAString & aURL, bool aEnable); \
      71                 :   NS_IMETHOD GetStyleSheetForURL(const nsAString & aURL, nsCSSStyleSheet **_retval NS_OUTPARAM); \
      72                 :   NS_IMETHOD GetURLForStyleSheet(nsCSSStyleSheet *aStyleSheet, nsAString & _retval NS_OUTPARAM); 
      73                 : 
      74                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      75                 : #define NS_FORWARD_NSIEDITORSTYLESHEETS(_to) \
      76                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceStyleSheet(const nsAString & aURL) { return _to ReplaceStyleSheet(aURL); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD AddStyleSheet(const nsAString & aURL) { return _to AddStyleSheet(aURL); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceOverrideStyleSheet(const nsAString & aURL) { return _to ReplaceOverrideStyleSheet(aURL); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD AddOverrideStyleSheet(const nsAString & aURL) { return _to AddOverrideStyleSheet(aURL); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD RemoveStyleSheet(const nsAString & aURL) { return _to RemoveStyleSheet(aURL); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD RemoveOverrideStyleSheet(const nsAString & aURL) { return _to RemoveOverrideStyleSheet(aURL); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD EnableStyleSheet(const nsAString & aURL, bool aEnable) { return _to EnableStyleSheet(aURL, aEnable); } \
      83                 :   NS_IMETHOD GetStyleSheetForURL(const nsAString & aURL, nsCSSStyleSheet **_retval NS_OUTPARAM) { return _to GetStyleSheetForURL(aURL, _retval); } \
      84                 :   NS_IMETHOD GetURLForStyleSheet(nsCSSStyleSheet *aStyleSheet, nsAString & _retval NS_OUTPARAM) { return _to GetURLForStyleSheet(aStyleSheet, _retval); } 
      85                 : 
      86                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      87                 : #define NS_FORWARD_SAFE_NSIEDITORSTYLESHEETS(_to) \
      88                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceStyleSheet(const nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReplaceStyleSheet(aURL); } \
      89                 :   NS_SCRIPTABLE NS_IMETHOD AddStyleSheet(const nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddStyleSheet(aURL); } \
      90                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceOverrideStyleSheet(const nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReplaceOverrideStyleSheet(aURL); } \
      91                 :   NS_SCRIPTABLE NS_IMETHOD AddOverrideStyleSheet(const nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddOverrideStyleSheet(aURL); } \
      92                 :   NS_SCRIPTABLE NS_IMETHOD RemoveStyleSheet(const nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveStyleSheet(aURL); } \
      93                 :   NS_SCRIPTABLE NS_IMETHOD RemoveOverrideStyleSheet(const nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveOverrideStyleSheet(aURL); } \
      94                 :   NS_SCRIPTABLE NS_IMETHOD EnableStyleSheet(const nsAString & aURL, bool aEnable) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnableStyleSheet(aURL, aEnable); } \
      95                 :   NS_IMETHOD GetStyleSheetForURL(const nsAString & aURL, nsCSSStyleSheet **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyleSheetForURL(aURL, _retval); } \
      96                 :   NS_IMETHOD GetURLForStyleSheet(nsCSSStyleSheet *aStyleSheet, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURLForStyleSheet(aStyleSheet, _retval); } 
      97                 : 
      98                 : #if 0
      99                 : /* Use the code below as a template for the implementation class for this interface. */
     100                 : 
     101                 : /* Header file */
     102                 : class nsEditorStyleSheets : public nsIEditorStyleSheets
     103                 : {
     104                 : public:
     105                 :   NS_DECL_ISUPPORTS
     106                 :   NS_DECL_NSIEDITORSTYLESHEETS
     107                 : 
     108                 :   nsEditorStyleSheets();
     109                 : 
     110                 : private:
     111                 :   ~nsEditorStyleSheets();
     112                 : 
     113                 : protected:
     114                 :   /* additional members */
     115                 : };
     116                 : 
     117                 : /* Implementation file */
     118                 : NS_IMPL_ISUPPORTS1(nsEditorStyleSheets, nsIEditorStyleSheets)
     119                 : 
     120                 : nsEditorStyleSheets::nsEditorStyleSheets()
     121                 : {
     122                 :   /* member initializers and constructor code */
     123                 : }
     124                 : 
     125                 : nsEditorStyleSheets::~nsEditorStyleSheets()
     126                 : {
     127                 :   /* destructor code */
     128                 : }
     129                 : 
     130                 : /* void replaceStyleSheet (in AString aURL); */
     131                 : NS_IMETHODIMP nsEditorStyleSheets::ReplaceStyleSheet(const nsAString & aURL)
     132                 : {
     133                 :     return NS_ERROR_NOT_IMPLEMENTED;
     134                 : }
     135                 : 
     136                 : /* void addStyleSheet (in AString aURL); */
     137                 : NS_IMETHODIMP nsEditorStyleSheets::AddStyleSheet(const nsAString & aURL)
     138                 : {
     139                 :     return NS_ERROR_NOT_IMPLEMENTED;
     140                 : }
     141                 : 
     142                 : /* void replaceOverrideStyleSheet (in AString aURL); */
     143                 : NS_IMETHODIMP nsEditorStyleSheets::ReplaceOverrideStyleSheet(const nsAString & aURL)
     144                 : {
     145                 :     return NS_ERROR_NOT_IMPLEMENTED;
     146                 : }
     147                 : 
     148                 : /* void addOverrideStyleSheet (in AString aURL); */
     149                 : NS_IMETHODIMP nsEditorStyleSheets::AddOverrideStyleSheet(const nsAString & aURL)
     150                 : {
     151                 :     return NS_ERROR_NOT_IMPLEMENTED;
     152                 : }
     153                 : 
     154                 : /* void removeStyleSheet (in AString aURL); */
     155                 : NS_IMETHODIMP nsEditorStyleSheets::RemoveStyleSheet(const nsAString & aURL)
     156                 : {
     157                 :     return NS_ERROR_NOT_IMPLEMENTED;
     158                 : }
     159                 : 
     160                 : /* void removeOverrideStyleSheet (in AString aURL); */
     161                 : NS_IMETHODIMP nsEditorStyleSheets::RemoveOverrideStyleSheet(const nsAString & aURL)
     162                 : {
     163                 :     return NS_ERROR_NOT_IMPLEMENTED;
     164                 : }
     165                 : 
     166                 : /* void enableStyleSheet (in AString aURL, in boolean aEnable); */
     167                 : NS_IMETHODIMP nsEditorStyleSheets::EnableStyleSheet(const nsAString & aURL, bool aEnable)
     168                 : {
     169                 :     return NS_ERROR_NOT_IMPLEMENTED;
     170                 : }
     171                 : 
     172                 : /* [noscript] nsCSSStyleSheet getStyleSheetForURL (in AString aURL); */
     173                 : NS_IMETHODIMP nsEditorStyleSheets::GetStyleSheetForURL(const nsAString & aURL, nsCSSStyleSheet **_retval NS_OUTPARAM)
     174                 : {
     175                 :     return NS_ERROR_NOT_IMPLEMENTED;
     176                 : }
     177                 : 
     178                 : /* [noscript] AString getURLForStyleSheet (in nsCSSStyleSheet aStyleSheet); */
     179                 : NS_IMETHODIMP nsEditorStyleSheets::GetURLForStyleSheet(nsCSSStyleSheet *aStyleSheet, nsAString & _retval NS_OUTPARAM)
     180                 : {
     181                 :     return NS_ERROR_NOT_IMPLEMENTED;
     182                 : }
     183                 : 
     184                 : /* End of implementation class template. */
     185                 : #endif
     186                 : 
     187                 : 
     188                 : #endif /* __gen_nsIEditorStyleSheets_h__ */

Generated by: LCOV version 1.7