LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsILocale.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/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           0 : class NS_NO_VTABLE nsILocale : public nsISupports {
      33             :  public:
      34             : 
      35             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILOCALE_IID)
      36             : 
      37             :   /* AString getCategory (in AString category); */
      38             :   NS_IMETHOD GetCategory(const nsAString & category, nsAString & _retval) = 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_IMETHOD GetCategory(const nsAString & category, nsAString & _retval) override; 
      47             : 
      48             : /* Use this macro when declaring the members of this interface when the
      49             :    class doesn't implement the interface. This is useful for forwarding. */
      50             : #define NS_DECL_NON_VIRTUAL_NSILOCALE \
      51             :   nsresult GetCategory(const nsAString & category, nsAString & _retval); 
      52             : 
      53             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      54             : #define NS_FORWARD_NSILOCALE(_to) \
      55             :   NS_IMETHOD GetCategory(const nsAString & category, nsAString & _retval) override { return _to GetCategory(category, _retval); } 
      56             : 
      57             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      58             : #define NS_FORWARD_SAFE_NSILOCALE(_to) \
      59             :   NS_IMETHOD GetCategory(const nsAString & category, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCategory(category, _retval); } 
      60             : 
      61             : #if 0
      62             : /* Use the code below as a template for the implementation class for this interface. */
      63             : 
      64             : /* Header file */
      65             : class nsLocale : public nsILocale
      66             : {
      67             : public:
      68             :   NS_DECL_ISUPPORTS
      69             :   NS_DECL_NSILOCALE
      70             : 
      71             :   nsLocale();
      72             : 
      73             : private:
      74             :   ~nsLocale();
      75             : 
      76             : protected:
      77             :   /* additional members */
      78             : };
      79             : 
      80             : /* Implementation file */
      81             : NS_IMPL_ISUPPORTS(nsLocale, nsILocale)
      82             : 
      83             : nsLocale::nsLocale()
      84             : {
      85             :   /* member initializers and constructor code */
      86             : }
      87             : 
      88             : nsLocale::~nsLocale()
      89             : {
      90             :   /* destructor code */
      91             : }
      92             : 
      93             : /* AString getCategory (in AString category); */
      94             : NS_IMETHODIMP nsLocale::GetCategory(const nsAString & category, nsAString & _retval)
      95             : {
      96             :     return NS_ERROR_NOT_IMPLEMENTED;
      97             : }
      98             : 
      99             : /* End of implementation class template. */
     100             : #endif
     101             : 
     102             : 
     103             : #endif /* __gen_nsILocale_h__ */

Generated by: LCOV version 1.13