LCOV - code coverage report
Current view: directory - objdir/dist/include - nsICurrentCharsetListener.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/intl/uconv/idl/nsICurrentCharsetListener.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsICurrentCharsetListener_h__
       6                 : #define __gen_nsICurrentCharsetListener_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                 : // {CF9428C1-DF50-11d3-9D0C-0050040007B2}
      18                 : #define NS_CURRENTCHARSETLISTENER_CID { 0xcf9428c1, 0xdf50, 0x11d3, { 0x9d, 0xc, 0x0, 0x50, 0x4, 0x0, 0x7, 0xb2 } }
      19                 : #define NS_ICURRENTCHARSETLISTENER_CONTRACTID "@mozilla.org/intl/currentcharsetlistener;1"
      20                 : 
      21                 : /* starting interface:    nsICurrentCharsetListener */
      22                 : #define NS_ICURRENTCHARSETLISTENER_IID_STR "cf9428c1-df50-11d3-9d0c-0050040007b2"
      23                 : 
      24                 : #define NS_ICURRENTCHARSETLISTENER_IID \
      25                 :   {0xcf9428c1, 0xdf50, 0x11d3, \
      26                 :     { 0x9d, 0x0c, 0x00, 0x50, 0x04, 0x00, 0x07, 0xb2 }}
      27                 : 
      28               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsICurrentCharsetListener : public nsISupports {
      29                 :  public: 
      30                 : 
      31                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICURRENTCHARSETLISTENER_IID)
      32                 : 
      33                 :   /* void SetCurrentCharset (in wstring charset); */
      34                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentCharset(const PRUnichar * charset) = 0;
      35                 : 
      36                 :   /* void SetCurrentMailCharset (in wstring charset); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentMailCharset(const PRUnichar * charset) = 0;
      38                 : 
      39                 :   /* void SetCurrentComposerCharset (in wstring charset); */
      40                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentComposerCharset(const PRUnichar * charset) = 0;
      41                 : 
      42                 : };
      43                 : 
      44                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsICurrentCharsetListener, NS_ICURRENTCHARSETLISTENER_IID)
      45                 : 
      46                 : /* Use this macro when declaring classes that implement this interface. */
      47                 : #define NS_DECL_NSICURRENTCHARSETLISTENER \
      48                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentCharset(const PRUnichar * charset); \
      49                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentMailCharset(const PRUnichar * charset); \
      50                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentComposerCharset(const PRUnichar * charset); 
      51                 : 
      52                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      53                 : #define NS_FORWARD_NSICURRENTCHARSETLISTENER(_to) \
      54                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentCharset(const PRUnichar * charset) { return _to SetCurrentCharset(charset); } \
      55                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentMailCharset(const PRUnichar * charset) { return _to SetCurrentMailCharset(charset); } \
      56                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentComposerCharset(const PRUnichar * charset) { return _to SetCurrentComposerCharset(charset); } 
      57                 : 
      58                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      59                 : #define NS_FORWARD_SAFE_NSICURRENTCHARSETLISTENER(_to) \
      60                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentCharset(const PRUnichar * charset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentCharset(charset); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentMailCharset(const PRUnichar * charset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentMailCharset(charset); } \
      62                 :   NS_SCRIPTABLE NS_IMETHOD SetCurrentComposerCharset(const PRUnichar * charset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentComposerCharset(charset); } 
      63                 : 
      64                 : #if 0
      65                 : /* Use the code below as a template for the implementation class for this interface. */
      66                 : 
      67                 : /* Header file */
      68                 : class nsCurrentCharsetListener : public nsICurrentCharsetListener
      69                 : {
      70                 : public:
      71                 :   NS_DECL_ISUPPORTS
      72                 :   NS_DECL_NSICURRENTCHARSETLISTENER
      73                 : 
      74                 :   nsCurrentCharsetListener();
      75                 : 
      76                 : private:
      77                 :   ~nsCurrentCharsetListener();
      78                 : 
      79                 : protected:
      80                 :   /* additional members */
      81                 : };
      82                 : 
      83                 : /* Implementation file */
      84                 : NS_IMPL_ISUPPORTS1(nsCurrentCharsetListener, nsICurrentCharsetListener)
      85                 : 
      86                 : nsCurrentCharsetListener::nsCurrentCharsetListener()
      87                 : {
      88                 :   /* member initializers and constructor code */
      89                 : }
      90                 : 
      91                 : nsCurrentCharsetListener::~nsCurrentCharsetListener()
      92                 : {
      93                 :   /* destructor code */
      94                 : }
      95                 : 
      96                 : /* void SetCurrentCharset (in wstring charset); */
      97                 : NS_IMETHODIMP nsCurrentCharsetListener::SetCurrentCharset(const PRUnichar * charset)
      98                 : {
      99                 :     return NS_ERROR_NOT_IMPLEMENTED;
     100                 : }
     101                 : 
     102                 : /* void SetCurrentMailCharset (in wstring charset); */
     103                 : NS_IMETHODIMP nsCurrentCharsetListener::SetCurrentMailCharset(const PRUnichar * charset)
     104                 : {
     105                 :     return NS_ERROR_NOT_IMPLEMENTED;
     106                 : }
     107                 : 
     108                 : /* void SetCurrentComposerCharset (in wstring charset); */
     109                 : NS_IMETHODIMP nsCurrentCharsetListener::SetCurrentComposerCharset(const PRUnichar * charset)
     110                 : {
     111                 :     return NS_ERROR_NOT_IMPLEMENTED;
     112                 : }
     113                 : 
     114                 : /* End of implementation class template. */
     115                 : #endif
     116                 : 
     117                 : 
     118                 : #endif /* __gen_nsICurrentCharsetListener_h__ */

Generated by: LCOV version 1.7