LCOV - code coverage report
Current view: directory - objdir/dist/include - nsISemanticUnitScanner.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/lwbrk/idl/nsISemanticUnitScanner.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsISemanticUnitScanner_h__
       6                 : #define __gen_nsISemanticUnitScanner_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                 : // {ADF42751-1CEF-4ad2-AA8E-BCB849D8D31F}
      18                 : #define NS_SEMANTICUNITSCANNER_CID { 0xadf42751, 0x1cef, 0x4ad2, { 0xaa, 0x8e, 0xbc, 0xb8, 0x49, 0xd8, 0xd3, 0x1f}}
      19                 : #define NS_SEMANTICUNITSCANNER_CONTRACTID "@mozilla.org/intl/semanticunitscanner;1"
      20                 : 
      21                 : /* starting interface:    nsISemanticUnitScanner */
      22                 : #define NS_ISEMANTICUNITSCANNER_IID_STR "9f620be4-e535-11d6-b254-00039310a47a"
      23                 : 
      24                 : #define NS_ISEMANTICUNITSCANNER_IID \
      25                 :   {0x9f620be4, 0xe535, 0x11d6, \
      26                 :     { 0xb2, 0x54, 0x00, 0x03, 0x93, 0x10, 0xa4, 0x7a }}
      27                 : 
      28               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsISemanticUnitScanner : public nsISupports {
      29                 :  public: 
      30                 : 
      31                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISEMANTICUNITSCANNER_IID)
      32                 : 
      33                 :   /* void start (in string characterSet); */
      34                 :   NS_SCRIPTABLE NS_IMETHOD Start(const char * characterSet) = 0;
      35                 : 
      36                 :   /* boolean next (in wstring text, in long length, in long pos, in boolean isLastBuffer, out long begin, out long end); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD Next(const PRUnichar * text, PRInt32 length, PRInt32 pos, bool isLastBuffer, PRInt32 *begin NS_OUTPARAM, PRInt32 *end NS_OUTPARAM, bool *_retval NS_OUTPARAM) = 0;
      38                 : 
      39                 : };
      40                 : 
      41                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISemanticUnitScanner, NS_ISEMANTICUNITSCANNER_IID)
      42                 : 
      43                 : /* Use this macro when declaring classes that implement this interface. */
      44                 : #define NS_DECL_NSISEMANTICUNITSCANNER \
      45                 :   NS_SCRIPTABLE NS_IMETHOD Start(const char * characterSet); \
      46                 :   NS_SCRIPTABLE NS_IMETHOD Next(const PRUnichar * text, PRInt32 length, PRInt32 pos, bool isLastBuffer, PRInt32 *begin NS_OUTPARAM, PRInt32 *end NS_OUTPARAM, bool *_retval NS_OUTPARAM); 
      47                 : 
      48                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      49                 : #define NS_FORWARD_NSISEMANTICUNITSCANNER(_to) \
      50                 :   NS_SCRIPTABLE NS_IMETHOD Start(const char * characterSet) { return _to Start(characterSet); } \
      51                 :   NS_SCRIPTABLE NS_IMETHOD Next(const PRUnichar * text, PRInt32 length, PRInt32 pos, bool isLastBuffer, PRInt32 *begin NS_OUTPARAM, PRInt32 *end NS_OUTPARAM, bool *_retval NS_OUTPARAM) { return _to Next(text, length, pos, isLastBuffer, begin, end, _retval); } 
      52                 : 
      53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      54                 : #define NS_FORWARD_SAFE_NSISEMANTICUNITSCANNER(_to) \
      55                 :   NS_SCRIPTABLE NS_IMETHOD Start(const char * characterSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->Start(characterSet); } \
      56                 :   NS_SCRIPTABLE NS_IMETHOD Next(const PRUnichar * text, PRInt32 length, PRInt32 pos, bool isLastBuffer, PRInt32 *begin NS_OUTPARAM, PRInt32 *end NS_OUTPARAM, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Next(text, length, pos, isLastBuffer, begin, end, _retval); } 
      57                 : 
      58                 : #if 0
      59                 : /* Use the code below as a template for the implementation class for this interface. */
      60                 : 
      61                 : /* Header file */
      62                 : class nsSemanticUnitScanner : public nsISemanticUnitScanner
      63                 : {
      64                 : public:
      65                 :   NS_DECL_ISUPPORTS
      66                 :   NS_DECL_NSISEMANTICUNITSCANNER
      67                 : 
      68                 :   nsSemanticUnitScanner();
      69                 : 
      70                 : private:
      71                 :   ~nsSemanticUnitScanner();
      72                 : 
      73                 : protected:
      74                 :   /* additional members */
      75                 : };
      76                 : 
      77                 : /* Implementation file */
      78                 : NS_IMPL_ISUPPORTS1(nsSemanticUnitScanner, nsISemanticUnitScanner)
      79                 : 
      80                 : nsSemanticUnitScanner::nsSemanticUnitScanner()
      81                 : {
      82                 :   /* member initializers and constructor code */
      83                 : }
      84                 : 
      85                 : nsSemanticUnitScanner::~nsSemanticUnitScanner()
      86                 : {
      87                 :   /* destructor code */
      88                 : }
      89                 : 
      90                 : /* void start (in string characterSet); */
      91                 : NS_IMETHODIMP nsSemanticUnitScanner::Start(const char * characterSet)
      92                 : {
      93                 :     return NS_ERROR_NOT_IMPLEMENTED;
      94                 : }
      95                 : 
      96                 : /* boolean next (in wstring text, in long length, in long pos, in boolean isLastBuffer, out long begin, out long end); */
      97                 : NS_IMETHODIMP nsSemanticUnitScanner::Next(const PRUnichar * text, PRInt32 length, PRInt32 pos, bool isLastBuffer, PRInt32 *begin NS_OUTPARAM, PRInt32 *end NS_OUTPARAM, bool *_retval NS_OUTPARAM)
      98                 : {
      99                 :     return NS_ERROR_NOT_IMPLEMENTED;
     100                 : }
     101                 : 
     102                 : /* End of implementation class template. */
     103                 : #endif
     104                 : 
     105                 : 
     106                 : #endif /* __gen_nsISemanticUnitScanner_h__ */

Generated by: LCOV version 1.7