LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIUserInfo.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/toolkit/components/startup/public/nsIUserInfo.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIUserInfo_h__
       6                 : #define __gen_nsIUserInfo_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:    nsIUserInfo */
      19                 : #define NS_IUSERINFO_IID_STR "6c1034f0-1dd2-11b2-aa14-e6657ed7bb0b"
      20                 : 
      21                 : #define NS_IUSERINFO_IID \
      22                 :   {0x6c1034f0, 0x1dd2, 0x11b2, \
      23                 :     { 0xaa, 0x14, 0xe6, 0x65, 0x7e, 0xd7, 0xbb, 0x0b }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIUserInfo : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IUSERINFO_IID)
      29                 : 
      30                 :   /* readonly attribute wstring fullname; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetFullname(PRUnichar * *aFullname) = 0;
      32                 : 
      33                 :   /* readonly attribute string emailAddress; */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetEmailAddress(char * *aEmailAddress) = 0;
      35                 : 
      36                 :   /* readonly attribute string username; */
      37                 :   NS_SCRIPTABLE NS_IMETHOD GetUsername(char * *aUsername) = 0;
      38                 : 
      39                 :   /* readonly attribute string domain; */
      40                 :   NS_SCRIPTABLE NS_IMETHOD GetDomain(char * *aDomain) = 0;
      41                 : 
      42                 : };
      43                 : 
      44                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIUserInfo, NS_IUSERINFO_IID)
      45                 : 
      46                 : /* Use this macro when declaring classes that implement this interface. */
      47                 : #define NS_DECL_NSIUSERINFO \
      48                 :   NS_SCRIPTABLE NS_IMETHOD GetFullname(PRUnichar * *aFullname); \
      49                 :   NS_SCRIPTABLE NS_IMETHOD GetEmailAddress(char * *aEmailAddress); \
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetUsername(char * *aUsername); \
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetDomain(char * *aDomain); 
      52                 : 
      53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      54                 : #define NS_FORWARD_NSIUSERINFO(_to) \
      55                 :   NS_SCRIPTABLE NS_IMETHOD GetFullname(PRUnichar * *aFullname) { return _to GetFullname(aFullname); } \
      56                 :   NS_SCRIPTABLE NS_IMETHOD GetEmailAddress(char * *aEmailAddress) { return _to GetEmailAddress(aEmailAddress); } \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetUsername(char * *aUsername) { return _to GetUsername(aUsername); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetDomain(char * *aDomain) { return _to GetDomain(aDomain); } 
      59                 : 
      60                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      61                 : #define NS_FORWARD_SAFE_NSIUSERINFO(_to) \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetFullname(PRUnichar * *aFullname) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullname(aFullname); } \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetEmailAddress(char * *aEmailAddress) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmailAddress(aEmailAddress); } \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetUsername(char * *aUsername) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUsername(aUsername); } \
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetDomain(char * *aDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomain(aDomain); } 
      66                 : 
      67                 : #if 0
      68                 : /* Use the code below as a template for the implementation class for this interface. */
      69                 : 
      70                 : /* Header file */
      71                 : class nsUserInfo : public nsIUserInfo
      72                 : {
      73                 : public:
      74                 :   NS_DECL_ISUPPORTS
      75                 :   NS_DECL_NSIUSERINFO
      76                 : 
      77                 :   nsUserInfo();
      78                 : 
      79                 : private:
      80                 :   ~nsUserInfo();
      81                 : 
      82                 : protected:
      83                 :   /* additional members */
      84                 : };
      85                 : 
      86                 : /* Implementation file */
      87                 : NS_IMPL_ISUPPORTS1(nsUserInfo, nsIUserInfo)
      88                 : 
      89                 : nsUserInfo::nsUserInfo()
      90                 : {
      91                 :   /* member initializers and constructor code */
      92                 : }
      93                 : 
      94                 : nsUserInfo::~nsUserInfo()
      95                 : {
      96                 :   /* destructor code */
      97                 : }
      98                 : 
      99                 : /* readonly attribute wstring fullname; */
     100                 : NS_IMETHODIMP nsUserInfo::GetFullname(PRUnichar * *aFullname)
     101                 : {
     102                 :     return NS_ERROR_NOT_IMPLEMENTED;
     103                 : }
     104                 : 
     105                 : /* readonly attribute string emailAddress; */
     106                 : NS_IMETHODIMP nsUserInfo::GetEmailAddress(char * *aEmailAddress)
     107                 : {
     108                 :     return NS_ERROR_NOT_IMPLEMENTED;
     109                 : }
     110                 : 
     111                 : /* readonly attribute string username; */
     112                 : NS_IMETHODIMP nsUserInfo::GetUsername(char * *aUsername)
     113                 : {
     114                 :     return NS_ERROR_NOT_IMPLEMENTED;
     115                 : }
     116                 : 
     117                 : /* readonly attribute string domain; */
     118                 : NS_IMETHODIMP nsUserInfo::GetDomain(char * *aDomain)
     119                 : {
     120                 :     return NS_ERROR_NOT_IMPLEMENTED;
     121                 : }
     122                 : 
     123                 : /* End of implementation class template. */
     124                 : #endif
     125                 : 
     126                 : 
     127                 : // 14c13684-1dd2-11b2-9463-bb10ba742554
     128                 : #define NS_USERINFO_CID \
     129                 : {  0x14c13684, 0x1dd2, 0x11b2, \
     130                 :   {0x94, 0x63, 0xbb, 0x10, 0xba, 0x74, 0x25, 0x54}}
     131                 : #define NS_USERINFO_CONTRACTID "@mozilla.org/userinfo;1"
     132                 : 
     133                 : #endif /* __gen_nsIUserInfo_h__ */

Generated by: LCOV version 1.7