LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIXULAppInfo.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/xpcom/system/nsIXULAppInfo.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIXULAppInfo_h__
       6                 : #define __gen_nsIXULAppInfo_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:    nsIXULAppInfo */
      19                 : #define NS_IXULAPPINFO_IID_STR "a61ede2a-ef09-11d9-a5ce-001124787b2e"
      20                 : 
      21                 : #define NS_IXULAPPINFO_IID \
      22                 :   {0xa61ede2a, 0xef09, 0x11d9, \
      23                 :     { 0xa5, 0xce, 0x00, 0x11, 0x24, 0x78, 0x7b, 0x2e }}
      24                 : 
      25            1464 : class NS_NO_VTABLE NS_SCRIPTABLE nsIXULAppInfo : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXULAPPINFO_IID)
      29                 : 
      30                 :   /* readonly attribute ACString vendor; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetVendor(nsACString & aVendor) = 0;
      32                 : 
      33                 :   /* readonly attribute ACString name; */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsACString & aName) = 0;
      35                 : 
      36                 :   /* readonly attribute ACString ID; */
      37                 :   NS_SCRIPTABLE NS_IMETHOD GetID(nsACString & aID) = 0;
      38                 : 
      39                 :   /* readonly attribute ACString version; */
      40                 :   NS_SCRIPTABLE NS_IMETHOD GetVersion(nsACString & aVersion) = 0;
      41                 : 
      42                 :   /* readonly attribute ACString appBuildID; */
      43                 :   NS_SCRIPTABLE NS_IMETHOD GetAppBuildID(nsACString & aAppBuildID) = 0;
      44                 : 
      45                 :   /* readonly attribute ACString platformVersion; */
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetPlatformVersion(nsACString & aPlatformVersion) = 0;
      47                 : 
      48                 :   /* readonly attribute ACString platformBuildID; */
      49                 :   NS_SCRIPTABLE NS_IMETHOD GetPlatformBuildID(nsACString & aPlatformBuildID) = 0;
      50                 : 
      51                 : };
      52                 : 
      53                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIXULAppInfo, NS_IXULAPPINFO_IID)
      54                 : 
      55                 : /* Use this macro when declaring classes that implement this interface. */
      56                 : #define NS_DECL_NSIXULAPPINFO \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetVendor(nsACString & aVendor); \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsACString & aName); \
      59                 :   NS_SCRIPTABLE NS_IMETHOD GetID(nsACString & aID); \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetVersion(nsACString & aVersion); \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetAppBuildID(nsACString & aAppBuildID); \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetPlatformVersion(nsACString & aPlatformVersion); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetPlatformBuildID(nsACString & aPlatformBuildID); 
      64                 : 
      65                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      66                 : #define NS_FORWARD_NSIXULAPPINFO(_to) \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetVendor(nsACString & aVendor) { return _to GetVendor(aVendor); } \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsACString & aName) { return _to GetName(aName); } \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetID(nsACString & aID) { return _to GetID(aID); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetVersion(nsACString & aVersion) { return _to GetVersion(aVersion); } \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetAppBuildID(nsACString & aAppBuildID) { return _to GetAppBuildID(aAppBuildID); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD GetPlatformVersion(nsACString & aPlatformVersion) { return _to GetPlatformVersion(aPlatformVersion); } \
      73                 :   NS_SCRIPTABLE NS_IMETHOD GetPlatformBuildID(nsACString & aPlatformBuildID) { return _to GetPlatformBuildID(aPlatformBuildID); } 
      74                 : 
      75                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      76                 : #define NS_FORWARD_SAFE_NSIXULAPPINFO(_to) \
      77                 :   NS_SCRIPTABLE NS_IMETHOD GetVendor(nsACString & aVendor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVendor(aVendor); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsACString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetID(nsACString & aID) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetID(aID); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD GetVersion(nsACString & aVersion) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersion(aVersion); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD GetAppBuildID(nsACString & aAppBuildID) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAppBuildID(aAppBuildID); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD GetPlatformVersion(nsACString & aPlatformVersion) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPlatformVersion(aPlatformVersion); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD GetPlatformBuildID(nsACString & aPlatformBuildID) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPlatformBuildID(aPlatformBuildID); } 
      84                 : 
      85                 : #if 0
      86                 : /* Use the code below as a template for the implementation class for this interface. */
      87                 : 
      88                 : /* Header file */
      89                 : class nsXULAppInfo : public nsIXULAppInfo
      90                 : {
      91                 : public:
      92                 :   NS_DECL_ISUPPORTS
      93                 :   NS_DECL_NSIXULAPPINFO
      94                 : 
      95                 :   nsXULAppInfo();
      96                 : 
      97                 : private:
      98                 :   ~nsXULAppInfo();
      99                 : 
     100                 : protected:
     101                 :   /* additional members */
     102                 : };
     103                 : 
     104                 : /* Implementation file */
     105                 : NS_IMPL_ISUPPORTS1(nsXULAppInfo, nsIXULAppInfo)
     106                 : 
     107                 : nsXULAppInfo::nsXULAppInfo()
     108                 : {
     109                 :   /* member initializers and constructor code */
     110                 : }
     111                 : 
     112                 : nsXULAppInfo::~nsXULAppInfo()
     113                 : {
     114                 :   /* destructor code */
     115                 : }
     116                 : 
     117                 : /* readonly attribute ACString vendor; */
     118                 : NS_IMETHODIMP nsXULAppInfo::GetVendor(nsACString & aVendor)
     119                 : {
     120                 :     return NS_ERROR_NOT_IMPLEMENTED;
     121                 : }
     122                 : 
     123                 : /* readonly attribute ACString name; */
     124                 : NS_IMETHODIMP nsXULAppInfo::GetName(nsACString & aName)
     125                 : {
     126                 :     return NS_ERROR_NOT_IMPLEMENTED;
     127                 : }
     128                 : 
     129                 : /* readonly attribute ACString ID; */
     130                 : NS_IMETHODIMP nsXULAppInfo::GetID(nsACString & aID)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* readonly attribute ACString version; */
     136                 : NS_IMETHODIMP nsXULAppInfo::GetVersion(nsACString & aVersion)
     137                 : {
     138                 :     return NS_ERROR_NOT_IMPLEMENTED;
     139                 : }
     140                 : 
     141                 : /* readonly attribute ACString appBuildID; */
     142                 : NS_IMETHODIMP nsXULAppInfo::GetAppBuildID(nsACString & aAppBuildID)
     143                 : {
     144                 :     return NS_ERROR_NOT_IMPLEMENTED;
     145                 : }
     146                 : 
     147                 : /* readonly attribute ACString platformVersion; */
     148                 : NS_IMETHODIMP nsXULAppInfo::GetPlatformVersion(nsACString & aPlatformVersion)
     149                 : {
     150                 :     return NS_ERROR_NOT_IMPLEMENTED;
     151                 : }
     152                 : 
     153                 : /* readonly attribute ACString platformBuildID; */
     154                 : NS_IMETHODIMP nsXULAppInfo::GetPlatformBuildID(nsACString & aPlatformBuildID)
     155                 : {
     156                 :     return NS_ERROR_NOT_IMPLEMENTED;
     157                 : }
     158                 : 
     159                 : /* End of implementation class template. */
     160                 : #endif
     161                 : 
     162                 : 
     163                 : #endif /* __gen_nsIXULAppInfo_h__ */

Generated by: LCOV version 1.7