LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIStyleSheetService.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/layout/base/nsIStyleSheetService.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIStyleSheetService_h__
       6                 : #define __gen_nsIStyleSheetService_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                 : class nsIURI; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsIStyleSheetService */
      21                 : #define NS_ISTYLESHEETSERVICE_IID_STR "1f42a6a2-ab0a-45d4-8a96-396f58ea6c6d"
      22                 : 
      23                 : #define NS_ISTYLESHEETSERVICE_IID \
      24                 :   {0x1f42a6a2, 0xab0a, 0x45d4, \
      25                 :     { 0x8a, 0x96, 0x39, 0x6f, 0x58, 0xea, 0x6c, 0x6d }}
      26                 : 
      27               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIStyleSheetService : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISTYLESHEETSERVICE_IID)
      31                 : 
      32                 :   enum {
      33                 :     AGENT_SHEET = 0U,
      34                 :     USER_SHEET = 1U
      35                 :   };
      36                 : 
      37                 :   /* void loadAndRegisterSheet (in nsIURI sheetURI, in unsigned long type); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD LoadAndRegisterSheet(nsIURI *sheetURI, PRUint32 type) = 0;
      39                 : 
      40                 :   /* boolean sheetRegistered (in nsIURI sheetURI, in unsigned long type); */
      41                 :   NS_SCRIPTABLE NS_IMETHOD SheetRegistered(nsIURI *sheetURI, PRUint32 type, bool *_retval NS_OUTPARAM) = 0;
      42                 : 
      43                 :   /* void unregisterSheet (in nsIURI sheetURI, in unsigned long type); */
      44                 :   NS_SCRIPTABLE NS_IMETHOD UnregisterSheet(nsIURI *sheetURI, PRUint32 type) = 0;
      45                 : 
      46                 : };
      47                 : 
      48                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIStyleSheetService, NS_ISTYLESHEETSERVICE_IID)
      49                 : 
      50                 : /* Use this macro when declaring classes that implement this interface. */
      51                 : #define NS_DECL_NSISTYLESHEETSERVICE \
      52                 :   NS_SCRIPTABLE NS_IMETHOD LoadAndRegisterSheet(nsIURI *sheetURI, PRUint32 type); \
      53                 :   NS_SCRIPTABLE NS_IMETHOD SheetRegistered(nsIURI *sheetURI, PRUint32 type, bool *_retval NS_OUTPARAM); \
      54                 :   NS_SCRIPTABLE NS_IMETHOD UnregisterSheet(nsIURI *sheetURI, PRUint32 type); 
      55                 : 
      56                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      57                 : #define NS_FORWARD_NSISTYLESHEETSERVICE(_to) \
      58                 :   NS_SCRIPTABLE NS_IMETHOD LoadAndRegisterSheet(nsIURI *sheetURI, PRUint32 type) { return _to LoadAndRegisterSheet(sheetURI, type); } \
      59                 :   NS_SCRIPTABLE NS_IMETHOD SheetRegistered(nsIURI *sheetURI, PRUint32 type, bool *_retval NS_OUTPARAM) { return _to SheetRegistered(sheetURI, type, _retval); } \
      60                 :   NS_SCRIPTABLE NS_IMETHOD UnregisterSheet(nsIURI *sheetURI, PRUint32 type) { return _to UnregisterSheet(sheetURI, type); } 
      61                 : 
      62                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      63                 : #define NS_FORWARD_SAFE_NSISTYLESHEETSERVICE(_to) \
      64                 :   NS_SCRIPTABLE NS_IMETHOD LoadAndRegisterSheet(nsIURI *sheetURI, PRUint32 type) { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadAndRegisterSheet(sheetURI, type); } \
      65                 :   NS_SCRIPTABLE NS_IMETHOD SheetRegistered(nsIURI *sheetURI, PRUint32 type, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->SheetRegistered(sheetURI, type, _retval); } \
      66                 :   NS_SCRIPTABLE NS_IMETHOD UnregisterSheet(nsIURI *sheetURI, PRUint32 type) { return !_to ? NS_ERROR_NULL_POINTER : _to->UnregisterSheet(sheetURI, type); } 
      67                 : 
      68                 : #if 0
      69                 : /* Use the code below as a template for the implementation class for this interface. */
      70                 : 
      71                 : /* Header file */
      72                 : class nsStyleSheetService : public nsIStyleSheetService
      73                 : {
      74                 : public:
      75                 :   NS_DECL_ISUPPORTS
      76                 :   NS_DECL_NSISTYLESHEETSERVICE
      77                 : 
      78                 :   nsStyleSheetService();
      79                 : 
      80                 : private:
      81                 :   ~nsStyleSheetService();
      82                 : 
      83                 : protected:
      84                 :   /* additional members */
      85                 : };
      86                 : 
      87                 : /* Implementation file */
      88                 : NS_IMPL_ISUPPORTS1(nsStyleSheetService, nsIStyleSheetService)
      89                 : 
      90                 : nsStyleSheetService::nsStyleSheetService()
      91                 : {
      92                 :   /* member initializers and constructor code */
      93                 : }
      94                 : 
      95                 : nsStyleSheetService::~nsStyleSheetService()
      96                 : {
      97                 :   /* destructor code */
      98                 : }
      99                 : 
     100                 : /* void loadAndRegisterSheet (in nsIURI sheetURI, in unsigned long type); */
     101                 : NS_IMETHODIMP nsStyleSheetService::LoadAndRegisterSheet(nsIURI *sheetURI, PRUint32 type)
     102                 : {
     103                 :     return NS_ERROR_NOT_IMPLEMENTED;
     104                 : }
     105                 : 
     106                 : /* boolean sheetRegistered (in nsIURI sheetURI, in unsigned long type); */
     107                 : NS_IMETHODIMP nsStyleSheetService::SheetRegistered(nsIURI *sheetURI, PRUint32 type, bool *_retval NS_OUTPARAM)
     108                 : {
     109                 :     return NS_ERROR_NOT_IMPLEMENTED;
     110                 : }
     111                 : 
     112                 : /* void unregisterSheet (in nsIURI sheetURI, in unsigned long type); */
     113                 : NS_IMETHODIMP nsStyleSheetService::UnregisterSheet(nsIURI *sheetURI, PRUint32 type)
     114                 : {
     115                 :     return NS_ERROR_NOT_IMPLEMENTED;
     116                 : }
     117                 : 
     118                 : /* End of implementation class template. */
     119                 : #endif
     120                 : 
     121                 : 
     122                 : #endif /* __gen_nsIStyleSheetService_h__ */

Generated by: LCOV version 1.7