LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIScreenManager.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/widget/nsIScreenManager.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIScreenManager_h__
       6                 : #define __gen_nsIScreenManager_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIScreen_h__
      14                 : #include "nsIScreen.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:    nsIScreenManager */
      23                 : #define NS_ISCREENMANAGER_IID_STR "b92319e6-9a84-4ca7-a2cc-eec22ea9854e"
      24                 : 
      25                 : #define NS_ISCREENMANAGER_IID \
      26                 :   {0xb92319e6, 0x9a84, 0x4ca7, \
      27                 :     { 0xa2, 0xcc, 0xee, 0xc2, 0x2e, 0xa9, 0x85, 0x4e }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIScreenManager : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISCREENMANAGER_IID)
      33                 : 
      34                 :   /* nsIScreen screenForRect (in long left, in long top, in long width, in long height); */
      35                 :   NS_SCRIPTABLE NS_IMETHOD ScreenForRect(PRInt32 left, PRInt32 top, PRInt32 width, PRInt32 height, nsIScreen * *_retval NS_OUTPARAM) = 0;
      36                 : 
      37                 :   /* readonly attribute nsIScreen primaryScreen; */
      38                 :   NS_SCRIPTABLE NS_IMETHOD GetPrimaryScreen(nsIScreen * *aPrimaryScreen) = 0;
      39                 : 
      40                 :   /* readonly attribute unsigned long numberOfScreens; */
      41                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfScreens(PRUint32 *aNumberOfScreens) = 0;
      42                 : 
      43                 :   /* [noscript] nsIScreen screenForNativeWidget (in voidPtr nativeWidget); */
      44                 :   NS_IMETHOD ScreenForNativeWidget(void *nativeWidget, nsIScreen * *_retval NS_OUTPARAM) = 0;
      45                 : 
      46                 : };
      47                 : 
      48                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIScreenManager, NS_ISCREENMANAGER_IID)
      49                 : 
      50                 : /* Use this macro when declaring classes that implement this interface. */
      51                 : #define NS_DECL_NSISCREENMANAGER \
      52                 :   NS_SCRIPTABLE NS_IMETHOD ScreenForRect(PRInt32 left, PRInt32 top, PRInt32 width, PRInt32 height, nsIScreen * *_retval NS_OUTPARAM); \
      53                 :   NS_SCRIPTABLE NS_IMETHOD GetPrimaryScreen(nsIScreen * *aPrimaryScreen); \
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfScreens(PRUint32 *aNumberOfScreens); \
      55                 :   NS_IMETHOD ScreenForNativeWidget(void *nativeWidget, nsIScreen * *_retval NS_OUTPARAM); 
      56                 : 
      57                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      58                 : #define NS_FORWARD_NSISCREENMANAGER(_to) \
      59                 :   NS_SCRIPTABLE NS_IMETHOD ScreenForRect(PRInt32 left, PRInt32 top, PRInt32 width, PRInt32 height, nsIScreen * *_retval NS_OUTPARAM) { return _to ScreenForRect(left, top, width, height, _retval); } \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetPrimaryScreen(nsIScreen * *aPrimaryScreen) { return _to GetPrimaryScreen(aPrimaryScreen); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfScreens(PRUint32 *aNumberOfScreens) { return _to GetNumberOfScreens(aNumberOfScreens); } \
      62                 :   NS_IMETHOD ScreenForNativeWidget(void *nativeWidget, nsIScreen * *_retval NS_OUTPARAM) { return _to ScreenForNativeWidget(nativeWidget, _retval); } 
      63                 : 
      64                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      65                 : #define NS_FORWARD_SAFE_NSISCREENMANAGER(_to) \
      66                 :   NS_SCRIPTABLE NS_IMETHOD ScreenForRect(PRInt32 left, PRInt32 top, PRInt32 width, PRInt32 height, nsIScreen * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScreenForRect(left, top, width, height, _retval); } \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetPrimaryScreen(nsIScreen * *aPrimaryScreen) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrimaryScreen(aPrimaryScreen); } \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetNumberOfScreens(PRUint32 *aNumberOfScreens) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumberOfScreens(aNumberOfScreens); } \
      69                 :   NS_IMETHOD ScreenForNativeWidget(void *nativeWidget, nsIScreen * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScreenForNativeWidget(nativeWidget, _retval); } 
      70                 : 
      71                 : #if 0
      72                 : /* Use the code below as a template for the implementation class for this interface. */
      73                 : 
      74                 : /* Header file */
      75                 : class nsScreenManager : public nsIScreenManager
      76                 : {
      77                 : public:
      78                 :   NS_DECL_ISUPPORTS
      79                 :   NS_DECL_NSISCREENMANAGER
      80                 : 
      81                 :   nsScreenManager();
      82                 : 
      83                 : private:
      84                 :   ~nsScreenManager();
      85                 : 
      86                 : protected:
      87                 :   /* additional members */
      88                 : };
      89                 : 
      90                 : /* Implementation file */
      91                 : NS_IMPL_ISUPPORTS1(nsScreenManager, nsIScreenManager)
      92                 : 
      93                 : nsScreenManager::nsScreenManager()
      94                 : {
      95                 :   /* member initializers and constructor code */
      96                 : }
      97                 : 
      98                 : nsScreenManager::~nsScreenManager()
      99                 : {
     100                 :   /* destructor code */
     101                 : }
     102                 : 
     103                 : /* nsIScreen screenForRect (in long left, in long top, in long width, in long height); */
     104                 : NS_IMETHODIMP nsScreenManager::ScreenForRect(PRInt32 left, PRInt32 top, PRInt32 width, PRInt32 height, nsIScreen * *_retval NS_OUTPARAM)
     105                 : {
     106                 :     return NS_ERROR_NOT_IMPLEMENTED;
     107                 : }
     108                 : 
     109                 : /* readonly attribute nsIScreen primaryScreen; */
     110                 : NS_IMETHODIMP nsScreenManager::GetPrimaryScreen(nsIScreen * *aPrimaryScreen)
     111                 : {
     112                 :     return NS_ERROR_NOT_IMPLEMENTED;
     113                 : }
     114                 : 
     115                 : /* readonly attribute unsigned long numberOfScreens; */
     116                 : NS_IMETHODIMP nsScreenManager::GetNumberOfScreens(PRUint32 *aNumberOfScreens)
     117                 : {
     118                 :     return NS_ERROR_NOT_IMPLEMENTED;
     119                 : }
     120                 : 
     121                 : /* [noscript] nsIScreen screenForNativeWidget (in voidPtr nativeWidget); */
     122                 : NS_IMETHODIMP nsScreenManager::ScreenForNativeWidget(void *nativeWidget, nsIScreen * *_retval NS_OUTPARAM)
     123                 : {
     124                 :     return NS_ERROR_NOT_IMPLEMENTED;
     125                 : }
     126                 : 
     127                 : /* End of implementation class template. */
     128                 : #endif
     129                 : 
     130                 : 
     131                 : 
     132                 : #endif /* __gen_nsIScreenManager_h__ */

Generated by: LCOV version 1.7