LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsISelectionDisplay.h (source / functions) Hit Total Coverage
Test: output.info Lines: 1 1 100.0 %
Date: 2017-07-14 16:53:18 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsISelectionDisplay.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsISelectionDisplay_h__
       6             : #define __gen_nsISelectionDisplay_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:    nsISelectionDisplay */
      19             : #define NS_ISELECTIONDISPLAY_IID_STR "0ddf9e1c-1dd2-11b2-a183-908a08aa75ae"
      20             : 
      21             : #define NS_ISELECTIONDISPLAY_IID \
      22             :   {0x0ddf9e1c, 0x1dd2, 0x11b2, \
      23             :     { 0xa1, 0x83, 0x90, 0x8a, 0x08, 0xaa, 0x75, 0xae }}
      24             : 
      25          32 : class NS_NO_VTABLE nsISelectionDisplay : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISELECTIONDISPLAY_IID)
      29             : 
      30             :   enum {
      31             :     DISPLAY_TEXT = 1,
      32             :     DISPLAY_IMAGES = 2,
      33             :     DISPLAY_FRAMES = 4,
      34             :     DISPLAY_ALL = 7
      35             :   };
      36             : 
      37             :   /* void setSelectionFlags (in short toggle); */
      38             :   NS_IMETHOD SetSelectionFlags(int16_t toggle) = 0;
      39             : 
      40             :   /* short getSelectionFlags (); */
      41             :   NS_IMETHOD GetSelectionFlags(int16_t *_retval) = 0;
      42             : 
      43             : };
      44             : 
      45             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISelectionDisplay, NS_ISELECTIONDISPLAY_IID)
      46             : 
      47             : /* Use this macro when declaring classes that implement this interface. */
      48             : #define NS_DECL_NSISELECTIONDISPLAY \
      49             :   NS_IMETHOD SetSelectionFlags(int16_t toggle) override; \
      50             :   NS_IMETHOD GetSelectionFlags(int16_t *_retval) override; 
      51             : 
      52             : /* Use this macro when declaring the members of this interface when the
      53             :    class doesn't implement the interface. This is useful for forwarding. */
      54             : #define NS_DECL_NON_VIRTUAL_NSISELECTIONDISPLAY \
      55             :   nsresult SetSelectionFlags(int16_t toggle); \
      56             :   nsresult GetSelectionFlags(int16_t *_retval); 
      57             : 
      58             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      59             : #define NS_FORWARD_NSISELECTIONDISPLAY(_to) \
      60             :   NS_IMETHOD SetSelectionFlags(int16_t toggle) override { return _to SetSelectionFlags(toggle); } \
      61             :   NS_IMETHOD GetSelectionFlags(int16_t *_retval) override { return _to GetSelectionFlags(_retval); } 
      62             : 
      63             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      64             : #define NS_FORWARD_SAFE_NSISELECTIONDISPLAY(_to) \
      65             :   NS_IMETHOD SetSelectionFlags(int16_t toggle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectionFlags(toggle); } \
      66             :   NS_IMETHOD GetSelectionFlags(int16_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionFlags(_retval); } 
      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 nsSelectionDisplay : public nsISelectionDisplay
      73             : {
      74             : public:
      75             :   NS_DECL_ISUPPORTS
      76             :   NS_DECL_NSISELECTIONDISPLAY
      77             : 
      78             :   nsSelectionDisplay();
      79             : 
      80             : private:
      81             :   ~nsSelectionDisplay();
      82             : 
      83             : protected:
      84             :   /* additional members */
      85             : };
      86             : 
      87             : /* Implementation file */
      88             : NS_IMPL_ISUPPORTS(nsSelectionDisplay, nsISelectionDisplay)
      89             : 
      90             : nsSelectionDisplay::nsSelectionDisplay()
      91             : {
      92             :   /* member initializers and constructor code */
      93             : }
      94             : 
      95             : nsSelectionDisplay::~nsSelectionDisplay()
      96             : {
      97             :   /* destructor code */
      98             : }
      99             : 
     100             : /* void setSelectionFlags (in short toggle); */
     101             : NS_IMETHODIMP nsSelectionDisplay::SetSelectionFlags(int16_t toggle)
     102             : {
     103             :     return NS_ERROR_NOT_IMPLEMENTED;
     104             : }
     105             : 
     106             : /* short getSelectionFlags (); */
     107             : NS_IMETHODIMP nsSelectionDisplay::GetSelectionFlags(int16_t *_retval)
     108             : {
     109             :     return NS_ERROR_NOT_IMPLEMENTED;
     110             : }
     111             : 
     112             : /* End of implementation class template. */
     113             : #endif
     114             : 
     115             : 
     116             : #endif /* __gen_nsISelectionDisplay_h__ */

Generated by: LCOV version 1.13