LCOV - code coverage report
Current view: directory - objdir/dist/include - mozISpellI18NUtil.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/extensions/spellcheck/idl/mozISpellI18NUtil.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_mozISpellI18NUtil_h__
       6                 : #define __gen_mozISpellI18NUtil_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:    mozISpellI18NUtil */
      19                 : #define MOZISPELLI18NUTIL_IID_STR "b075d5dc-1df1-441a-bebf-680d8caaa19c"
      20                 : 
      21                 : #define MOZISPELLI18NUTIL_IID \
      22                 :   {0xb075d5dc, 0x1df1, 0x441a, \
      23                 :     { 0xbe, 0xbf, 0x68, 0x0d, 0x8c, 0xaa, 0xa1, 0x9c }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE mozISpellI18NUtil : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(MOZISPELLI18NUTIL_IID)
      29                 : 
      30                 :   enum {
      31                 :     kCheck = 0U,
      32                 :     kSuggest = 1U
      33                 :   };
      34                 : 
      35                 :   /* readonly attribute wstring language; */
      36                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUnichar * *aLanguage) = 0;
      37                 : 
      38                 :   /* void getRootForm (in wstring word, in PRUint32 type, [array, size_is (count)] out wstring words, out PRUint32 count); */
      39                 :   NS_SCRIPTABLE NS_IMETHOD GetRootForm(const PRUnichar * word, PRUint32 type, PRUnichar * **words NS_OUTPARAM, PRUint32 *count NS_OUTPARAM) = 0;
      40                 : 
      41                 :   /* void fromRootForm (in wstring word, [array, size_is (icount)] in wstring iwords, in PRUint32 icount, [array, size_is (ocount)] out wstring owords, out PRUint32 ocount); */
      42                 :   NS_SCRIPTABLE NS_IMETHOD FromRootForm(const PRUnichar * word, const PRUnichar * *iwords, PRUint32 icount, PRUnichar * **owords NS_OUTPARAM, PRUint32 *ocount NS_OUTPARAM) = 0;
      43                 : 
      44                 :   /* void findNextWord (in wstring word, in PRUint32 length, in PRUint32 offset, out PRInt32 begin, out PRInt32 end); */
      45                 :   NS_SCRIPTABLE NS_IMETHOD FindNextWord(const PRUnichar * word, PRUint32 length, PRUint32 offset, PRInt32 *begin NS_OUTPARAM, PRInt32 *end NS_OUTPARAM) = 0;
      46                 : 
      47                 : };
      48                 : 
      49                 :   NS_DEFINE_STATIC_IID_ACCESSOR(mozISpellI18NUtil, MOZISPELLI18NUTIL_IID)
      50                 : 
      51                 : /* Use this macro when declaring classes that implement this interface. */
      52                 : #define NS_DECL_MOZISPELLI18NUTIL \
      53                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUnichar * *aLanguage); \
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetRootForm(const PRUnichar * word, PRUint32 type, PRUnichar * **words NS_OUTPARAM, PRUint32 *count NS_OUTPARAM); \
      55                 :   NS_SCRIPTABLE NS_IMETHOD FromRootForm(const PRUnichar * word, const PRUnichar * *iwords, PRUint32 icount, PRUnichar * **owords NS_OUTPARAM, PRUint32 *ocount NS_OUTPARAM); \
      56                 :   NS_SCRIPTABLE NS_IMETHOD FindNextWord(const PRUnichar * word, PRUint32 length, PRUint32 offset, PRInt32 *begin NS_OUTPARAM, PRInt32 *end NS_OUTPARAM); 
      57                 : 
      58                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      59                 : #define NS_FORWARD_MOZISPELLI18NUTIL(_to) \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUnichar * *aLanguage) { return _to GetLanguage(aLanguage); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetRootForm(const PRUnichar * word, PRUint32 type, PRUnichar * **words NS_OUTPARAM, PRUint32 *count NS_OUTPARAM) { return _to GetRootForm(word, type, words, count); } \
      62                 :   NS_SCRIPTABLE NS_IMETHOD FromRootForm(const PRUnichar * word, const PRUnichar * *iwords, PRUint32 icount, PRUnichar * **owords NS_OUTPARAM, PRUint32 *ocount NS_OUTPARAM) { return _to FromRootForm(word, iwords, icount, owords, ocount); } \
      63                 :   NS_SCRIPTABLE NS_IMETHOD FindNextWord(const PRUnichar * word, PRUint32 length, PRUint32 offset, PRInt32 *begin NS_OUTPARAM, PRInt32 *end NS_OUTPARAM) { return _to FindNextWord(word, length, offset, begin, end); } 
      64                 : 
      65                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      66                 : #define NS_FORWARD_SAFE_MOZISPELLI18NUTIL(_to) \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUnichar * *aLanguage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLanguage(aLanguage); } \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetRootForm(const PRUnichar * word, PRUint32 type, PRUnichar * **words NS_OUTPARAM, PRUint32 *count NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRootForm(word, type, words, count); } \
      69                 :   NS_SCRIPTABLE NS_IMETHOD FromRootForm(const PRUnichar * word, const PRUnichar * *iwords, PRUint32 icount, PRUnichar * **owords NS_OUTPARAM, PRUint32 *ocount NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->FromRootForm(word, iwords, icount, owords, ocount); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD FindNextWord(const PRUnichar * word, PRUint32 length, PRUint32 offset, PRInt32 *begin NS_OUTPARAM, PRInt32 *end NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->FindNextWord(word, length, offset, begin, end); } 
      71                 : 
      72                 : #if 0
      73                 : /* Use the code below as a template for the implementation class for this interface. */
      74                 : 
      75                 : /* Header file */
      76                 : class _MYCLASS_ : public mozISpellI18NUtil
      77                 : {
      78                 : public:
      79                 :   NS_DECL_ISUPPORTS
      80                 :   NS_DECL_MOZISPELLI18NUTIL
      81                 : 
      82                 :   _MYCLASS_();
      83                 : 
      84                 : private:
      85                 :   ~_MYCLASS_();
      86                 : 
      87                 : protected:
      88                 :   /* additional members */
      89                 : };
      90                 : 
      91                 : /* Implementation file */
      92                 : NS_IMPL_ISUPPORTS1(_MYCLASS_, mozISpellI18NUtil)
      93                 : 
      94                 : _MYCLASS_::_MYCLASS_()
      95                 : {
      96                 :   /* member initializers and constructor code */
      97                 : }
      98                 : 
      99                 : _MYCLASS_::~_MYCLASS_()
     100                 : {
     101                 :   /* destructor code */
     102                 : }
     103                 : 
     104                 : /* readonly attribute wstring language; */
     105                 : NS_IMETHODIMP _MYCLASS_::GetLanguage(PRUnichar * *aLanguage)
     106                 : {
     107                 :     return NS_ERROR_NOT_IMPLEMENTED;
     108                 : }
     109                 : 
     110                 : /* void getRootForm (in wstring word, in PRUint32 type, [array, size_is (count)] out wstring words, out PRUint32 count); */
     111                 : NS_IMETHODIMP _MYCLASS_::GetRootForm(const PRUnichar * word, PRUint32 type, PRUnichar * **words NS_OUTPARAM, PRUint32 *count NS_OUTPARAM)
     112                 : {
     113                 :     return NS_ERROR_NOT_IMPLEMENTED;
     114                 : }
     115                 : 
     116                 : /* void fromRootForm (in wstring word, [array, size_is (icount)] in wstring iwords, in PRUint32 icount, [array, size_is (ocount)] out wstring owords, out PRUint32 ocount); */
     117                 : NS_IMETHODIMP _MYCLASS_::FromRootForm(const PRUnichar * word, const PRUnichar * *iwords, PRUint32 icount, PRUnichar * **owords NS_OUTPARAM, PRUint32 *ocount NS_OUTPARAM)
     118                 : {
     119                 :     return NS_ERROR_NOT_IMPLEMENTED;
     120                 : }
     121                 : 
     122                 : /* void findNextWord (in wstring word, in PRUint32 length, in PRUint32 offset, out PRInt32 begin, out PRInt32 end); */
     123                 : NS_IMETHODIMP _MYCLASS_::FindNextWord(const PRUnichar * word, PRUint32 length, PRUint32 offset, PRInt32 *begin NS_OUTPARAM, PRInt32 *end NS_OUTPARAM)
     124                 : {
     125                 :     return NS_ERROR_NOT_IMPLEMENTED;
     126                 : }
     127                 : 
     128                 : /* End of implementation class template. */
     129                 : #endif
     130                 : 
     131                 : 
     132                 : #endif /* __gen_mozISpellI18NUtil_h__ */

Generated by: LCOV version 1.7