LCOV - app.info - objdir/dist/include/nsIPrefLocalizedString.h

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/modules/libpref/public/nsIPrefLocalizedString.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIPrefLocalizedString_h__
           6                 : #define __gen_nsIPrefLocalizedString_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:    nsIPrefLocalizedString */
          19                 : #define NS_IPREFLOCALIZEDSTRING_IID_STR "ae419e24-1dd1-11b2-b39a-d3e5e7073802"
          20                 :
          21                 : #define NS_IPREFLOCALIZEDSTRING_IID \
          22                 :   {0xae419e24, 0x1dd1, 0x11b2, \
          23                 :     { 0xb3, 0x9a, 0xd3, 0xe5, 0xe7, 0x07, 0x38, 0x02 }}
          24                 :
          25            2131 : class NS_NO_VTABLE NS_SCRIPTABLE nsIPrefLocalizedString : public nsISupports {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPREFLOCALIZEDSTRING_IID)
          29                 :
          30                 :   /* attribute wstring data; */
          31                 :   NS_SCRIPTABLE NS_IMETHOD GetData(PRUnichar * *aData) = 0;
          32                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const PRUnichar * aData) = 0;
          33                 :
          34                 :   /* wstring toString (); */
          35                 :   NS_SCRIPTABLE NS_IMETHOD ToString(PRUnichar * *_retval NS_OUTPARAM) = 0;
          36                 :
          37                 :   /* void setDataWithLength (in unsigned long length, [size_is (length)] in wstring data); */
          38                 :   NS_SCRIPTABLE NS_IMETHOD SetDataWithLength(PRUint32 length, const PRUnichar * data) = 0;
          39                 :
          40                 : };
          41                 :
          42                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPrefLocalizedString, NS_IPREFLOCALIZEDSTRING_IID)
          43                 :
          44                 : /* Use this macro when declaring classes that implement this interface. */
          45                 : #define NS_DECL_NSIPREFLOCALIZEDSTRING \
          46                 :   NS_SCRIPTABLE NS_IMETHOD GetData(PRUnichar * *aData); \
          47                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const PRUnichar * aData); \
          48                 :   NS_SCRIPTABLE NS_IMETHOD ToString(PRUnichar * *_retval NS_OUTPARAM); \
          49                 :   NS_SCRIPTABLE NS_IMETHOD SetDataWithLength(PRUint32 length, const PRUnichar * data);
          50                 :
          51                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          52                 : #define NS_FORWARD_NSIPREFLOCALIZEDSTRING(_to) \
          53                 :   NS_SCRIPTABLE NS_IMETHOD GetData(PRUnichar * *aData) { return _to GetData(aData); } \
          54                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const PRUnichar * aData) { return _to SetData(aData); } \
          55                 :   NS_SCRIPTABLE NS_IMETHOD ToString(PRUnichar * *_retval NS_OUTPARAM) { return _to ToString(_retval); } \
          56                 :   NS_SCRIPTABLE NS_IMETHOD SetDataWithLength(PRUint32 length, const PRUnichar * data) { return _to SetDataWithLength(length, data); }
          57                 :
          58                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          59                 : #define NS_FORWARD_SAFE_NSIPREFLOCALIZEDSTRING(_to) \
          60                 :   NS_SCRIPTABLE NS_IMETHOD GetData(PRUnichar * *aData) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetData(aData); } \
          61                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const PRUnichar * aData) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetData(aData); } \
          62                 :   NS_SCRIPTABLE NS_IMETHOD ToString(PRUnichar * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
          63                 :   NS_SCRIPTABLE NS_IMETHOD SetDataWithLength(PRUint32 length, const PRUnichar * data) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDataWithLength(length, data); }
          64                 :
          65                 : #if 0
          66                 : /* Use the code below as a template for the implementation class for this interface. */
          67                 :
          68                 : /* Header file */
          69                 : class nsPrefLocalizedString : public nsIPrefLocalizedString
          70                 : {
          71                 : public:
          72                 :   NS_DECL_ISUPPORTS
          73                 :   NS_DECL_NSIPREFLOCALIZEDSTRING
          74                 :
          75                 :   nsPrefLocalizedString();
          76                 :
          77                 : private:
          78                 :   ~nsPrefLocalizedString();
          79                 :
          80                 : protected:
          81                 :   /* additional members */
          82                 : };
          83                 :
          84                 : /* Implementation file */
          85                 : NS_IMPL_ISUPPORTS1(nsPrefLocalizedString, nsIPrefLocalizedString)
          86                 :
          87                 : nsPrefLocalizedString::nsPrefLocalizedString()
          88                 : {
          89                 :   /* member initializers and constructor code */
          90                 : }
          91                 :
          92                 : nsPrefLocalizedString::~nsPrefLocalizedString()
          93                 : {
          94                 :   /* destructor code */
          95                 : }
          96                 :
          97                 : /* attribute wstring data; */
          98                 : NS_IMETHODIMP nsPrefLocalizedString::GetData(PRUnichar * *aData)
          99                 : {
         100                 :     return NS_ERROR_NOT_IMPLEMENTED;
         101                 : }
         102                 : NS_IMETHODIMP nsPrefLocalizedString::SetData(const PRUnichar * aData)
         103                 : {
         104                 :     return NS_ERROR_NOT_IMPLEMENTED;
         105                 : }
         106                 :
         107                 : /* wstring toString (); */
         108                 : NS_IMETHODIMP nsPrefLocalizedString::ToString(PRUnichar * *_retval NS_OUTPARAM)
         109                 : {
         110                 :     return NS_ERROR_NOT_IMPLEMENTED;
         111                 : }
         112                 :
         113                 : /* void setDataWithLength (in unsigned long length, [size_is (length)] in wstring data); */
         114                 : NS_IMETHODIMP nsPrefLocalizedString::SetDataWithLength(PRUint32 length, const PRUnichar * data)
         115                 : {
         116                 :     return NS_ERROR_NOT_IMPLEMENTED;
         117                 : }
         118                 :
         119                 : /* End of implementation class template. */
         120                 : #endif
         121                 :
         122                 :
         123                 : #define NS_PREFLOCALIZEDSTRING_CID                     \
         124                 :   { /* {064d9cee-1dd2-11b2-83e3-d25ab0193c26} */       \
         125                 :     0x064d9cee,                                        \
         126                 :     0x1dd2,                                            \
         127                 :     0x11b2,                                            \
         128                 :     { 0x83, 0xe3, 0xd2, 0x5a, 0xb0, 0x19, 0x3c, 0x26 } \
         129                 :   }
         130                 : #define NS_PREFLOCALIZEDSTRING_CONTRACTID "@mozilla.org/pref-localizedstring;1"
         131                 : #define NS_PREFLOCALIZEDSTRING_CLASSNAME "Pref LocalizedString"
         132                 :
         133                 : #endif /* __gen_nsIPrefLocalizedString_h__ */

Generated by: LCOV version 1.7