LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIEditorIMESupport.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/nsIEditorIMESupport.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIEditorIMESupport_h__
       6                 : #define __gen_nsIEditorIMESupport_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_domstubs_h__
      14                 : #include "domstubs.h"
      15                 : #endif
      16                 : 
      17                 : /* For IDL files that don't want to include root IDL files. */
      18                 : #ifndef NS_NO_VTABLE
      19                 : #define NS_NO_VTABLE
      20                 : #endif
      21                 : namespace mozilla {
      22                 : namespace widget {
      23                 : struct IMEState;
      24                 : } // namespace widget
      25                 : } // namespace mozilla
      26                 : 
      27                 : /* starting interface:    nsIEditorIMESupport */
      28                 : #define NS_IEDITORIMESUPPORT_IID_STR "0ba7f490-afb8-46dd-87fc-bc6137fbc899"
      29                 : 
      30                 : #define NS_IEDITORIMESUPPORT_IID \
      31                 :   {0x0ba7f490, 0xafb8, 0x46dd, \
      32                 :     { 0x87, 0xfc, 0xbc, 0x61, 0x37, 0xfb, 0xc8, 0x99 }}
      33                 : 
      34               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIEditorIMESupport : public nsISupports {
      35                 :  public: 
      36                 : 
      37                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEDITORIMESUPPORT_IID)
      38                 : 
      39                 :   /* void forceCompositionEnd (); */
      40                 :   NS_SCRIPTABLE NS_IMETHOD ForceCompositionEnd(void) = 0;
      41                 : 
      42                 :   /* [noscript] IMEState getPreferredIMEState (); */
      43                 :   NS_IMETHOD GetPreferredIMEState(mozilla::widget::IMEState *_retval NS_OUTPARAM) = 0;
      44                 : 
      45                 :   /* readonly attribute boolean composing; */
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetComposing(bool *aComposing) = 0;
      47                 : 
      48                 : };
      49                 : 
      50                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIEditorIMESupport, NS_IEDITORIMESUPPORT_IID)
      51                 : 
      52                 : /* Use this macro when declaring classes that implement this interface. */
      53                 : #define NS_DECL_NSIEDITORIMESUPPORT \
      54                 :   NS_SCRIPTABLE NS_IMETHOD ForceCompositionEnd(void); \
      55                 :   NS_IMETHOD GetPreferredIMEState(mozilla::widget::IMEState *_retval NS_OUTPARAM); \
      56                 :   NS_SCRIPTABLE NS_IMETHOD GetComposing(bool *aComposing); 
      57                 : 
      58                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      59                 : #define NS_FORWARD_NSIEDITORIMESUPPORT(_to) \
      60                 :   NS_SCRIPTABLE NS_IMETHOD ForceCompositionEnd(void) { return _to ForceCompositionEnd(); } \
      61                 :   NS_IMETHOD GetPreferredIMEState(mozilla::widget::IMEState *_retval NS_OUTPARAM) { return _to GetPreferredIMEState(_retval); } \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetComposing(bool *aComposing) { return _to GetComposing(aComposing); } 
      63                 : 
      64                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      65                 : #define NS_FORWARD_SAFE_NSIEDITORIMESUPPORT(_to) \
      66                 :   NS_SCRIPTABLE NS_IMETHOD ForceCompositionEnd(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ForceCompositionEnd(); } \
      67                 :   NS_IMETHOD GetPreferredIMEState(mozilla::widget::IMEState *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreferredIMEState(_retval); } \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetComposing(bool *aComposing) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComposing(aComposing); } 
      69                 : 
      70                 : #if 0
      71                 : /* Use the code below as a template for the implementation class for this interface. */
      72                 : 
      73                 : /* Header file */
      74                 : class nsEditorIMESupport : public nsIEditorIMESupport
      75                 : {
      76                 : public:
      77                 :   NS_DECL_ISUPPORTS
      78                 :   NS_DECL_NSIEDITORIMESUPPORT
      79                 : 
      80                 :   nsEditorIMESupport();
      81                 : 
      82                 : private:
      83                 :   ~nsEditorIMESupport();
      84                 : 
      85                 : protected:
      86                 :   /* additional members */
      87                 : };
      88                 : 
      89                 : /* Implementation file */
      90                 : NS_IMPL_ISUPPORTS1(nsEditorIMESupport, nsIEditorIMESupport)
      91                 : 
      92                 : nsEditorIMESupport::nsEditorIMESupport()
      93                 : {
      94                 :   /* member initializers and constructor code */
      95                 : }
      96                 : 
      97                 : nsEditorIMESupport::~nsEditorIMESupport()
      98                 : {
      99                 :   /* destructor code */
     100                 : }
     101                 : 
     102                 : /* void forceCompositionEnd (); */
     103                 : NS_IMETHODIMP nsEditorIMESupport::ForceCompositionEnd()
     104                 : {
     105                 :     return NS_ERROR_NOT_IMPLEMENTED;
     106                 : }
     107                 : 
     108                 : /* [noscript] IMEState getPreferredIMEState (); */
     109                 : NS_IMETHODIMP nsEditorIMESupport::GetPreferredIMEState(mozilla::widget::IMEState *_retval NS_OUTPARAM)
     110                 : {
     111                 :     return NS_ERROR_NOT_IMPLEMENTED;
     112                 : }
     113                 : 
     114                 : /* readonly attribute boolean composing; */
     115                 : NS_IMETHODIMP nsEditorIMESupport::GetComposing(bool *aComposing)
     116                 : {
     117                 :     return NS_ERROR_NOT_IMPLEMENTED;
     118                 : }
     119                 : 
     120                 : /* End of implementation class template. */
     121                 : #endif
     122                 : 
     123                 : 
     124                 : #endif /* __gen_nsIEditorIMESupport_h__ */

Generated by: LCOV version 1.7