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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIInterfaceInfoManager_h__
       6                 : #define __gen_nsIInterfaceInfoManager_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIInterfaceInfo_h__
      14                 : #include "nsIInterfaceInfo.h"
      15                 : #endif
      16                 : 
      17                 : #ifndef __gen_nsIEnumerator_h__
      18                 : #include "nsIEnumerator.h"
      19                 : #endif
      20                 : 
      21                 : #ifndef __gen_nsISimpleEnumerator_h__
      22                 : #include "nsISimpleEnumerator.h"
      23                 : #endif
      24                 : 
      25                 : /* For IDL files that don't want to include root IDL files. */
      26                 : #ifndef NS_NO_VTABLE
      27                 : #define NS_NO_VTABLE
      28                 : #endif
      29                 : 
      30                 : /* starting interface:    nsIInterfaceInfoManager */
      31                 : #define NS_IINTERFACEINFOMANAGER_IID_STR "8b161900-be2b-11d2-9831-006008962422"
      32                 : 
      33                 : #define NS_IINTERFACEINFOMANAGER_IID \
      34                 :   {0x8b161900, 0xbe2b, 0x11d2, \
      35                 :     { 0x98, 0x31, 0x00, 0x60, 0x08, 0x96, 0x24, 0x22 }}
      36                 : 
      37            1419 : class NS_NO_VTABLE nsIInterfaceInfoManager : public nsISupports {
      38                 :  public: 
      39                 : 
      40                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IINTERFACEINFOMANAGER_IID)
      41                 : 
      42                 :   /* nsIInterfaceInfo getInfoForIID (in nsIIDPtr iid); */
      43                 :   NS_IMETHOD GetInfoForIID(const nsIID *iid, nsIInterfaceInfo * *_retval NS_OUTPARAM) = 0;
      44                 : 
      45                 :   /* nsIInterfaceInfo getInfoForName (in string name); */
      46                 :   NS_IMETHOD GetInfoForName(const char * name, nsIInterfaceInfo * *_retval NS_OUTPARAM) = 0;
      47                 : 
      48                 :   /* nsIIDPtr getIIDForName (in string name); */
      49                 :   NS_IMETHOD GetIIDForName(const char * name, nsIID **_retval NS_OUTPARAM) = 0;
      50                 : 
      51                 :   /* string getNameForIID (in nsIIDPtr iid); */
      52                 :   NS_IMETHOD GetNameForIID(const nsIID *iid, char * *_retval NS_OUTPARAM) = 0;
      53                 : 
      54                 :   /* nsIEnumerator enumerateInterfaces (); */
      55                 :   NS_IMETHOD EnumerateInterfaces(nsIEnumerator * *_retval NS_OUTPARAM) = 0;
      56                 : 
      57                 :   /* void autoRegisterInterfaces (); */
      58                 :   NS_IMETHOD AutoRegisterInterfaces(void) = 0;
      59                 : 
      60                 :   /* nsIEnumerator enumerateInterfacesWhoseNamesStartWith (in string prefix); */
      61                 :   NS_IMETHOD EnumerateInterfacesWhoseNamesStartWith(const char * prefix, nsIEnumerator * *_retval NS_OUTPARAM) = 0;
      62                 : 
      63                 : };
      64                 : 
      65                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIInterfaceInfoManager, NS_IINTERFACEINFOMANAGER_IID)
      66                 : 
      67                 : /* Use this macro when declaring classes that implement this interface. */
      68                 : #define NS_DECL_NSIINTERFACEINFOMANAGER \
      69                 :   NS_IMETHOD GetInfoForIID(const nsIID *iid, nsIInterfaceInfo * *_retval NS_OUTPARAM); \
      70                 :   NS_IMETHOD GetInfoForName(const char * name, nsIInterfaceInfo * *_retval NS_OUTPARAM); \
      71                 :   NS_IMETHOD GetIIDForName(const char * name, nsIID **_retval NS_OUTPARAM); \
      72                 :   NS_IMETHOD GetNameForIID(const nsIID *iid, char * *_retval NS_OUTPARAM); \
      73                 :   NS_IMETHOD EnumerateInterfaces(nsIEnumerator * *_retval NS_OUTPARAM); \
      74                 :   NS_IMETHOD AutoRegisterInterfaces(void); \
      75                 :   NS_IMETHOD EnumerateInterfacesWhoseNamesStartWith(const char * prefix, nsIEnumerator * *_retval NS_OUTPARAM); 
      76                 : 
      77                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      78                 : #define NS_FORWARD_NSIINTERFACEINFOMANAGER(_to) \
      79                 :   NS_IMETHOD GetInfoForIID(const nsIID *iid, nsIInterfaceInfo * *_retval NS_OUTPARAM) { return _to GetInfoForIID(iid, _retval); } \
      80                 :   NS_IMETHOD GetInfoForName(const char * name, nsIInterfaceInfo * *_retval NS_OUTPARAM) { return _to GetInfoForName(name, _retval); } \
      81                 :   NS_IMETHOD GetIIDForName(const char * name, nsIID **_retval NS_OUTPARAM) { return _to GetIIDForName(name, _retval); } \
      82                 :   NS_IMETHOD GetNameForIID(const nsIID *iid, char * *_retval NS_OUTPARAM) { return _to GetNameForIID(iid, _retval); } \
      83                 :   NS_IMETHOD EnumerateInterfaces(nsIEnumerator * *_retval NS_OUTPARAM) { return _to EnumerateInterfaces(_retval); } \
      84                 :   NS_IMETHOD AutoRegisterInterfaces(void) { return _to AutoRegisterInterfaces(); } \
      85                 :   NS_IMETHOD EnumerateInterfacesWhoseNamesStartWith(const char * prefix, nsIEnumerator * *_retval NS_OUTPARAM) { return _to EnumerateInterfacesWhoseNamesStartWith(prefix, _retval); } 
      86                 : 
      87                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      88                 : #define NS_FORWARD_SAFE_NSIINTERFACEINFOMANAGER(_to) \
      89                 :   NS_IMETHOD GetInfoForIID(const nsIID *iid, nsIInterfaceInfo * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInfoForIID(iid, _retval); } \
      90                 :   NS_IMETHOD GetInfoForName(const char * name, nsIInterfaceInfo * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInfoForName(name, _retval); } \
      91                 :   NS_IMETHOD GetIIDForName(const char * name, nsIID **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIIDForName(name, _retval); } \
      92                 :   NS_IMETHOD GetNameForIID(const nsIID *iid, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNameForIID(iid, _retval); } \
      93                 :   NS_IMETHOD EnumerateInterfaces(nsIEnumerator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnumerateInterfaces(_retval); } \
      94                 :   NS_IMETHOD AutoRegisterInterfaces(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->AutoRegisterInterfaces(); } \
      95                 :   NS_IMETHOD EnumerateInterfacesWhoseNamesStartWith(const char * prefix, nsIEnumerator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnumerateInterfacesWhoseNamesStartWith(prefix, _retval); } 
      96                 : 
      97                 : #if 0
      98                 : /* Use the code below as a template for the implementation class for this interface. */
      99                 : 
     100                 : /* Header file */
     101                 : class nsInterfaceInfoManager : public nsIInterfaceInfoManager
     102                 : {
     103                 : public:
     104                 :   NS_DECL_ISUPPORTS
     105                 :   NS_DECL_NSIINTERFACEINFOMANAGER
     106                 : 
     107                 :   nsInterfaceInfoManager();
     108                 : 
     109                 : private:
     110                 :   ~nsInterfaceInfoManager();
     111                 : 
     112                 : protected:
     113                 :   /* additional members */
     114                 : };
     115                 : 
     116                 : /* Implementation file */
     117                 : NS_IMPL_ISUPPORTS1(nsInterfaceInfoManager, nsIInterfaceInfoManager)
     118                 : 
     119                 : nsInterfaceInfoManager::nsInterfaceInfoManager()
     120                 : {
     121                 :   /* member initializers and constructor code */
     122                 : }
     123                 : 
     124                 : nsInterfaceInfoManager::~nsInterfaceInfoManager()
     125                 : {
     126                 :   /* destructor code */
     127                 : }
     128                 : 
     129                 : /* nsIInterfaceInfo getInfoForIID (in nsIIDPtr iid); */
     130                 : NS_IMETHODIMP nsInterfaceInfoManager::GetInfoForIID(const nsIID *iid, nsIInterfaceInfo * *_retval NS_OUTPARAM)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* nsIInterfaceInfo getInfoForName (in string name); */
     136                 : NS_IMETHODIMP nsInterfaceInfoManager::GetInfoForName(const char * name, nsIInterfaceInfo * *_retval NS_OUTPARAM)
     137                 : {
     138                 :     return NS_ERROR_NOT_IMPLEMENTED;
     139                 : }
     140                 : 
     141                 : /* nsIIDPtr getIIDForName (in string name); */
     142                 : NS_IMETHODIMP nsInterfaceInfoManager::GetIIDForName(const char * name, nsIID **_retval NS_OUTPARAM)
     143                 : {
     144                 :     return NS_ERROR_NOT_IMPLEMENTED;
     145                 : }
     146                 : 
     147                 : /* string getNameForIID (in nsIIDPtr iid); */
     148                 : NS_IMETHODIMP nsInterfaceInfoManager::GetNameForIID(const nsIID *iid, char * *_retval NS_OUTPARAM)
     149                 : {
     150                 :     return NS_ERROR_NOT_IMPLEMENTED;
     151                 : }
     152                 : 
     153                 : /* nsIEnumerator enumerateInterfaces (); */
     154                 : NS_IMETHODIMP nsInterfaceInfoManager::EnumerateInterfaces(nsIEnumerator * *_retval NS_OUTPARAM)
     155                 : {
     156                 :     return NS_ERROR_NOT_IMPLEMENTED;
     157                 : }
     158                 : 
     159                 : /* void autoRegisterInterfaces (); */
     160                 : NS_IMETHODIMP nsInterfaceInfoManager::AutoRegisterInterfaces()
     161                 : {
     162                 :     return NS_ERROR_NOT_IMPLEMENTED;
     163                 : }
     164                 : 
     165                 : /* nsIEnumerator enumerateInterfacesWhoseNamesStartWith (in string prefix); */
     166                 : NS_IMETHODIMP nsInterfaceInfoManager::EnumerateInterfacesWhoseNamesStartWith(const char * prefix, nsIEnumerator * *_retval NS_OUTPARAM)
     167                 : {
     168                 :     return NS_ERROR_NOT_IMPLEMENTED;
     169                 : }
     170                 : 
     171                 : /* End of implementation class template. */
     172                 : #endif
     173                 : 
     174                 : 
     175                 : /* starting interface:    nsIInterfaceInfoSuperManager */
     176                 : #define NS_IINTERFACEINFOSUPERMANAGER_IID_STR "0ee22850-bc6a-11d5-9134-0010a4e73d9a"
     177                 : 
     178                 : #define NS_IINTERFACEINFOSUPERMANAGER_IID \
     179                 :   {0x0ee22850, 0xbc6a, 0x11d5, \
     180                 :     { 0x91, 0x34, 0x00, 0x10, 0xa4, 0xe7, 0x3d, 0x9a }}
     181                 : 
     182            1419 : class NS_NO_VTABLE nsIInterfaceInfoSuperManager : public nsIInterfaceInfoManager {
     183                 :  public: 
     184                 : 
     185                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IINTERFACEINFOSUPERMANAGER_IID)
     186                 : 
     187                 :   /* void addAdditionalManager (in nsIInterfaceInfoManager manager); */
     188                 :   NS_IMETHOD AddAdditionalManager(nsIInterfaceInfoManager *manager) = 0;
     189                 : 
     190                 :   /* void removeAdditionalManager (in nsIInterfaceInfoManager manager); */
     191                 :   NS_IMETHOD RemoveAdditionalManager(nsIInterfaceInfoManager *manager) = 0;
     192                 : 
     193                 :   /* boolean hasAdditionalManagers (); */
     194                 :   NS_IMETHOD HasAdditionalManagers(bool *_retval NS_OUTPARAM) = 0;
     195                 : 
     196                 :   /* nsISimpleEnumerator enumerateAdditionalManagers (); */
     197                 :   NS_IMETHOD EnumerateAdditionalManagers(nsISimpleEnumerator * *_retval NS_OUTPARAM) = 0;
     198                 : 
     199                 : };
     200                 : 
     201                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIInterfaceInfoSuperManager, NS_IINTERFACEINFOSUPERMANAGER_IID)
     202                 : 
     203                 : /* Use this macro when declaring classes that implement this interface. */
     204                 : #define NS_DECL_NSIINTERFACEINFOSUPERMANAGER \
     205                 :   NS_IMETHOD AddAdditionalManager(nsIInterfaceInfoManager *manager); \
     206                 :   NS_IMETHOD RemoveAdditionalManager(nsIInterfaceInfoManager *manager); \
     207                 :   NS_IMETHOD HasAdditionalManagers(bool *_retval NS_OUTPARAM); \
     208                 :   NS_IMETHOD EnumerateAdditionalManagers(nsISimpleEnumerator * *_retval NS_OUTPARAM); 
     209                 : 
     210                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     211                 : #define NS_FORWARD_NSIINTERFACEINFOSUPERMANAGER(_to) \
     212                 :   NS_IMETHOD AddAdditionalManager(nsIInterfaceInfoManager *manager) { return _to AddAdditionalManager(manager); } \
     213                 :   NS_IMETHOD RemoveAdditionalManager(nsIInterfaceInfoManager *manager) { return _to RemoveAdditionalManager(manager); } \
     214                 :   NS_IMETHOD HasAdditionalManagers(bool *_retval NS_OUTPARAM) { return _to HasAdditionalManagers(_retval); } \
     215                 :   NS_IMETHOD EnumerateAdditionalManagers(nsISimpleEnumerator * *_retval NS_OUTPARAM) { return _to EnumerateAdditionalManagers(_retval); } 
     216                 : 
     217                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     218                 : #define NS_FORWARD_SAFE_NSIINTERFACEINFOSUPERMANAGER(_to) \
     219                 :   NS_IMETHOD AddAdditionalManager(nsIInterfaceInfoManager *manager) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddAdditionalManager(manager); } \
     220                 :   NS_IMETHOD RemoveAdditionalManager(nsIInterfaceInfoManager *manager) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAdditionalManager(manager); } \
     221                 :   NS_IMETHOD HasAdditionalManagers(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->HasAdditionalManagers(_retval); } \
     222                 :   NS_IMETHOD EnumerateAdditionalManagers(nsISimpleEnumerator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnumerateAdditionalManagers(_retval); } 
     223                 : 
     224                 : #if 0
     225                 : /* Use the code below as a template for the implementation class for this interface. */
     226                 : 
     227                 : /* Header file */
     228                 : class nsInterfaceInfoSuperManager : public nsIInterfaceInfoSuperManager
     229                 : {
     230                 : public:
     231                 :   NS_DECL_ISUPPORTS
     232                 :   NS_DECL_NSIINTERFACEINFOSUPERMANAGER
     233                 : 
     234                 :   nsInterfaceInfoSuperManager();
     235                 : 
     236                 : private:
     237                 :   ~nsInterfaceInfoSuperManager();
     238                 : 
     239                 : protected:
     240                 :   /* additional members */
     241                 : };
     242                 : 
     243                 : /* Implementation file */
     244                 : NS_IMPL_ISUPPORTS1(nsInterfaceInfoSuperManager, nsIInterfaceInfoSuperManager)
     245                 : 
     246                 : nsInterfaceInfoSuperManager::nsInterfaceInfoSuperManager()
     247                 : {
     248                 :   /* member initializers and constructor code */
     249                 : }
     250                 : 
     251                 : nsInterfaceInfoSuperManager::~nsInterfaceInfoSuperManager()
     252                 : {
     253                 :   /* destructor code */
     254                 : }
     255                 : 
     256                 : /* void addAdditionalManager (in nsIInterfaceInfoManager manager); */
     257                 : NS_IMETHODIMP nsInterfaceInfoSuperManager::AddAdditionalManager(nsIInterfaceInfoManager *manager)
     258                 : {
     259                 :     return NS_ERROR_NOT_IMPLEMENTED;
     260                 : }
     261                 : 
     262                 : /* void removeAdditionalManager (in nsIInterfaceInfoManager manager); */
     263                 : NS_IMETHODIMP nsInterfaceInfoSuperManager::RemoveAdditionalManager(nsIInterfaceInfoManager *manager)
     264                 : {
     265                 :     return NS_ERROR_NOT_IMPLEMENTED;
     266                 : }
     267                 : 
     268                 : /* boolean hasAdditionalManagers (); */
     269                 : NS_IMETHODIMP nsInterfaceInfoSuperManager::HasAdditionalManagers(bool *_retval NS_OUTPARAM)
     270                 : {
     271                 :     return NS_ERROR_NOT_IMPLEMENTED;
     272                 : }
     273                 : 
     274                 : /* nsISimpleEnumerator enumerateAdditionalManagers (); */
     275                 : NS_IMETHODIMP nsInterfaceInfoSuperManager::EnumerateAdditionalManagers(nsISimpleEnumerator * *_retval NS_OUTPARAM)
     276                 : {
     277                 :     return NS_ERROR_NOT_IMPLEMENTED;
     278                 : }
     279                 : 
     280                 : /* End of implementation class template. */
     281                 : #endif
     282                 : 
     283                 : #define NS_INTERFACEINFOMANAGER_SERVICE_CLASSNAME  \
     284                 :    "Interface Information Manager Service"
     285                 : #define NS_INTERFACEINFOMANAGER_SERVICE_CID            \
     286                 :  { /* 13bef784-f8e0-4f96-85c1-09f9ef4f9a19 */          \
     287                 :   0x13bef784, 0xf8e0, 0x4f96,                          \
     288                 :   {0x85, 0xc1, 0x09, 0xf9, 0xef, 0x4f, 0x9a, 0x19} }  
     289                 : #define NS_INTERFACEINFOMANAGER_SERVICE_CONTRACTID  \
     290                 :    "@mozilla.org/xpti/interfaceinfomanager-service;1"
     291                 : 
     292                 : #endif /* __gen_nsIInterfaceInfoManager_h__ */

Generated by: LCOV version 1.7