LCOV - code coverage report
Current view: directory - objdir/dist/include - nsICategoryManager.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/components/nsICategoryManager.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsICategoryManager_h__
       6                 : #define __gen_nsICategoryManager_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsISimpleEnumerator_h__
      14                 : #include "nsISimpleEnumerator.h"
      15                 : #endif
      16                 : 
      17                 : /* For IDL files that don't want to include root IDL files. */
      18                 : #ifndef NS_NO_VTABLE
      19                 : #define NS_NO_VTABLE
      20                 : #endif
      21                 : 
      22                 : /* starting interface:    nsICategoryManager */
      23                 : #define NS_ICATEGORYMANAGER_IID_STR "3275b2cd-af6d-429a-80d7-f0c5120342ac"
      24                 : 
      25                 : #define NS_ICATEGORYMANAGER_IID \
      26                 :   {0x3275b2cd, 0xaf6d, 0x429a, \
      27                 :     { 0x80, 0xd7, 0xf0, 0xc5, 0x12, 0x03, 0x42, 0xac }}
      28                 : 
      29            1419 : class NS_NO_VTABLE NS_SCRIPTABLE nsICategoryManager : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICATEGORYMANAGER_IID)
      33                 : 
      34                 :   /* string getCategoryEntry (in string aCategory, in string aEntry); */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetCategoryEntry(const char * aCategory, const char * aEntry, char * *_retval NS_OUTPARAM) = 0;
      36                 : 
      37                 :   /* string addCategoryEntry (in string aCategory, in string aEntry, in string aValue, in boolean aPersist, in boolean aReplace); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD AddCategoryEntry(const char * aCategory, const char * aEntry, const char * aValue, bool aPersist, bool aReplace, char * *_retval NS_OUTPARAM) = 0;
      39                 : 
      40                 :   /* void deleteCategoryEntry (in string aCategory, in string aEntry, in boolean aPersist); */
      41                 :   NS_SCRIPTABLE NS_IMETHOD DeleteCategoryEntry(const char * aCategory, const char * aEntry, bool aPersist) = 0;
      42                 : 
      43                 :   /* void deleteCategory (in string aCategory); */
      44                 :   NS_SCRIPTABLE NS_IMETHOD DeleteCategory(const char * aCategory) = 0;
      45                 : 
      46                 :   /* nsISimpleEnumerator enumerateCategory (in string aCategory); */
      47                 :   NS_SCRIPTABLE NS_IMETHOD EnumerateCategory(const char * aCategory, nsISimpleEnumerator * *_retval NS_OUTPARAM) = 0;
      48                 : 
      49                 :   /* nsISimpleEnumerator enumerateCategories (); */
      50                 :   NS_SCRIPTABLE NS_IMETHOD EnumerateCategories(nsISimpleEnumerator * *_retval NS_OUTPARAM) = 0;
      51                 : 
      52                 : };
      53                 : 
      54                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsICategoryManager, NS_ICATEGORYMANAGER_IID)
      55                 : 
      56                 : /* Use this macro when declaring classes that implement this interface. */
      57                 : #define NS_DECL_NSICATEGORYMANAGER \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetCategoryEntry(const char * aCategory, const char * aEntry, char * *_retval NS_OUTPARAM); \
      59                 :   NS_SCRIPTABLE NS_IMETHOD AddCategoryEntry(const char * aCategory, const char * aEntry, const char * aValue, bool aPersist, bool aReplace, char * *_retval NS_OUTPARAM); \
      60                 :   NS_SCRIPTABLE NS_IMETHOD DeleteCategoryEntry(const char * aCategory, const char * aEntry, bool aPersist); \
      61                 :   NS_SCRIPTABLE NS_IMETHOD DeleteCategory(const char * aCategory); \
      62                 :   NS_SCRIPTABLE NS_IMETHOD EnumerateCategory(const char * aCategory, nsISimpleEnumerator * *_retval NS_OUTPARAM); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD EnumerateCategories(nsISimpleEnumerator * *_retval NS_OUTPARAM); 
      64                 : 
      65                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      66                 : #define NS_FORWARD_NSICATEGORYMANAGER(_to) \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetCategoryEntry(const char * aCategory, const char * aEntry, char * *_retval NS_OUTPARAM) { return _to GetCategoryEntry(aCategory, aEntry, _retval); } \
      68                 :   NS_SCRIPTABLE NS_IMETHOD AddCategoryEntry(const char * aCategory, const char * aEntry, const char * aValue, bool aPersist, bool aReplace, char * *_retval NS_OUTPARAM) { return _to AddCategoryEntry(aCategory, aEntry, aValue, aPersist, aReplace, _retval); } \
      69                 :   NS_SCRIPTABLE NS_IMETHOD DeleteCategoryEntry(const char * aCategory, const char * aEntry, bool aPersist) { return _to DeleteCategoryEntry(aCategory, aEntry, aPersist); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD DeleteCategory(const char * aCategory) { return _to DeleteCategory(aCategory); } \
      71                 :   NS_SCRIPTABLE NS_IMETHOD EnumerateCategory(const char * aCategory, nsISimpleEnumerator * *_retval NS_OUTPARAM) { return _to EnumerateCategory(aCategory, _retval); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD EnumerateCategories(nsISimpleEnumerator * *_retval NS_OUTPARAM) { return _to EnumerateCategories(_retval); } 
      73                 : 
      74                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      75                 : #define NS_FORWARD_SAFE_NSICATEGORYMANAGER(_to) \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetCategoryEntry(const char * aCategory, const char * aEntry, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCategoryEntry(aCategory, aEntry, _retval); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD AddCategoryEntry(const char * aCategory, const char * aEntry, const char * aValue, bool aPersist, bool aReplace, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddCategoryEntry(aCategory, aEntry, aValue, aPersist, aReplace, _retval); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD DeleteCategoryEntry(const char * aCategory, const char * aEntry, bool aPersist) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteCategoryEntry(aCategory, aEntry, aPersist); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD DeleteCategory(const char * aCategory) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteCategory(aCategory); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD EnumerateCategory(const char * aCategory, nsISimpleEnumerator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnumerateCategory(aCategory, _retval); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD EnumerateCategories(nsISimpleEnumerator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnumerateCategories(_retval); } 
      82                 : 
      83                 : #if 0
      84                 : /* Use the code below as a template for the implementation class for this interface. */
      85                 : 
      86                 : /* Header file */
      87                 : class nsCategoryManager : public nsICategoryManager
      88                 : {
      89                 : public:
      90                 :   NS_DECL_ISUPPORTS
      91                 :   NS_DECL_NSICATEGORYMANAGER
      92                 : 
      93                 :   nsCategoryManager();
      94                 : 
      95                 : private:
      96                 :   ~nsCategoryManager();
      97                 : 
      98                 : protected:
      99                 :   /* additional members */
     100                 : };
     101                 : 
     102                 : /* Implementation file */
     103                 : NS_IMPL_ISUPPORTS1(nsCategoryManager, nsICategoryManager)
     104                 : 
     105                 : nsCategoryManager::nsCategoryManager()
     106                 : {
     107                 :   /* member initializers and constructor code */
     108                 : }
     109                 : 
     110                 : nsCategoryManager::~nsCategoryManager()
     111                 : {
     112                 :   /* destructor code */
     113                 : }
     114                 : 
     115                 : /* string getCategoryEntry (in string aCategory, in string aEntry); */
     116                 : NS_IMETHODIMP nsCategoryManager::GetCategoryEntry(const char * aCategory, const char * aEntry, char * *_retval NS_OUTPARAM)
     117                 : {
     118                 :     return NS_ERROR_NOT_IMPLEMENTED;
     119                 : }
     120                 : 
     121                 : /* string addCategoryEntry (in string aCategory, in string aEntry, in string aValue, in boolean aPersist, in boolean aReplace); */
     122                 : NS_IMETHODIMP nsCategoryManager::AddCategoryEntry(const char * aCategory, const char * aEntry, const char * aValue, bool aPersist, bool aReplace, char * *_retval NS_OUTPARAM)
     123                 : {
     124                 :     return NS_ERROR_NOT_IMPLEMENTED;
     125                 : }
     126                 : 
     127                 : /* void deleteCategoryEntry (in string aCategory, in string aEntry, in boolean aPersist); */
     128                 : NS_IMETHODIMP nsCategoryManager::DeleteCategoryEntry(const char * aCategory, const char * aEntry, bool aPersist)
     129                 : {
     130                 :     return NS_ERROR_NOT_IMPLEMENTED;
     131                 : }
     132                 : 
     133                 : /* void deleteCategory (in string aCategory); */
     134                 : NS_IMETHODIMP nsCategoryManager::DeleteCategory(const char * aCategory)
     135                 : {
     136                 :     return NS_ERROR_NOT_IMPLEMENTED;
     137                 : }
     138                 : 
     139                 : /* nsISimpleEnumerator enumerateCategory (in string aCategory); */
     140                 : NS_IMETHODIMP nsCategoryManager::EnumerateCategory(const char * aCategory, nsISimpleEnumerator * *_retval NS_OUTPARAM)
     141                 : {
     142                 :     return NS_ERROR_NOT_IMPLEMENTED;
     143                 : }
     144                 : 
     145                 : /* nsISimpleEnumerator enumerateCategories (); */
     146                 : NS_IMETHODIMP nsCategoryManager::EnumerateCategories(nsISimpleEnumerator * *_retval NS_OUTPARAM)
     147                 : {
     148                 :     return NS_ERROR_NOT_IMPLEMENTED;
     149                 : }
     150                 : 
     151                 : /* End of implementation class template. */
     152                 : #endif
     153                 : 
     154                 : 
     155                 : #endif /* __gen_nsICategoryManager_h__ */

Generated by: LCOV version 1.7