LCOV - code coverage report
Current view: directory - objdir/dist/include - nsILocale.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2012-06-02 Functions: 1 1 100.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/intl/locale/idl/nsILocale.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsILocale_h__
       6                 : #define __gen_nsILocale_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                 : #define NSILOCALE_COLLATE "NSILOCALE_COLLATE"
      18                 : #define NSILOCALE_CTYPE  "NSILOCALE_CTYPE"
      19                 : #define NSILOCALE_MONETARY "NSILOCALE_MONETARY"
      20                 : #define NSILOCALE_NUMERIC "NSILOCALE_NUMERIC"
      21                 : #define NSILOCALE_TIME "NSILOCALE_TIME"
      22                 : #define NSILOCALE_MESSAGE "NSILOCALE_MESSAGES"
      23                 : #define NS_LOCALE_CONTRACTID "@mozilla.org/intl/nslocale;1"
      24                 : 
      25                 : /* starting interface:    nsILocale */
      26                 : #define NS_ILOCALE_IID_STR "21035ee0-4556-11d3-91cd-00105aa3f7dc"
      27                 : 
      28                 : #define NS_ILOCALE_IID \
      29                 :   {0x21035ee0, 0x4556, 0x11d3, \
      30                 :     { 0x91, 0xcd, 0x00, 0x10, 0x5a, 0xa3, 0xf7, 0xdc }}
      31                 : 
      32              83 : class NS_NO_VTABLE NS_SCRIPTABLE nsILocale : public nsISupports {
      33                 :  public: 
      34                 : 
      35                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILOCALE_IID)
      36                 : 
      37                 :   /* AString getCategory (in AString category); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD GetCategory(const nsAString & category, nsAString & _retval NS_OUTPARAM) = 0;
      39                 : 
      40                 : };
      41                 : 
      42                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsILocale, NS_ILOCALE_IID)
      43                 : 
      44                 : /* Use this macro when declaring classes that implement this interface. */
      45                 : #define NS_DECL_NSILOCALE \
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetCategory(const nsAString & category, nsAString & _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_NSILOCALE(_to) \
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetCategory(const nsAString & category, nsAString & _retval NS_OUTPARAM) { return _to GetCategory(category, _retval); } 
      51                 : 
      52                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      53                 : #define NS_FORWARD_SAFE_NSILOCALE(_to) \
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetCategory(const nsAString & category, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCategory(category, _retval); } 
      55                 : 
      56                 : #if 0
      57                 : /* Use the code below as a template for the implementation class for this interface. */
      58                 : 
      59                 : /* Header file */
      60                 : class nsLocale : public nsILocale
      61                 : {
      62                 : public:
      63                 :   NS_DECL_ISUPPORTS
      64                 :   NS_DECL_NSILOCALE
      65                 : 
      66                 :   nsLocale();
      67                 : 
      68                 : private:
      69                 :   ~nsLocale();
      70                 : 
      71                 : protected:
      72                 :   /* additional members */
      73                 : };
      74                 : 
      75                 : /* Implementation file */
      76                 : NS_IMPL_ISUPPORTS1(nsLocale, nsILocale)
      77                 : 
      78                 : nsLocale::nsLocale()
      79                 : {
      80                 :   /* member initializers and constructor code */
      81                 : }
      82                 : 
      83                 : nsLocale::~nsLocale()
      84                 : {
      85                 :   /* destructor code */
      86                 : }
      87                 : 
      88                 : /* AString getCategory (in AString category); */
      89                 : NS_IMETHODIMP nsLocale::GetCategory(const nsAString & category, nsAString & _retval NS_OUTPARAM)
      90                 : {
      91                 :     return NS_ERROR_NOT_IMPLEMENTED;
      92                 : }
      93                 : 
      94                 : /* End of implementation class template. */
      95                 : #endif
      96                 : 
      97                 : 
      98                 : #endif /* __gen_nsILocale_h__ */

Generated by: LCOV version 1.7