LCOV - code coverage report
Current view: directory - objdir/dist/include - nsISelectionListener.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/content/base/public/nsISelectionListener.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsISelectionListener_h__
       6                 : #define __gen_nsISelectionListener_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 nsIDOMDocument; /* forward declaration */
      18                 : 
      19                 : class nsISelection; /* forward declaration */
      20                 : 
      21                 : 
      22                 : /* starting interface:    nsISelectionListener */
      23                 : #define NS_ISELECTIONLISTENER_IID_STR "a6cf90e2-15b3-11d2-932e-00805f8add32"
      24                 : 
      25                 : #define NS_ISELECTIONLISTENER_IID \
      26                 :   {0xa6cf90e2, 0x15b3, 0x11d2, \
      27                 :     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsISelectionListener : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISELECTIONLISTENER_IID)
      33                 : 
      34                 :   enum {
      35                 :     NO_REASON = 0,
      36                 :     DRAG_REASON = 1,
      37                 :     MOUSEDOWN_REASON = 2,
      38                 :     MOUSEUP_REASON = 4,
      39                 :     KEYPRESS_REASON = 8,
      40                 :     SELECTALL_REASON = 16
      41                 :   };
      42                 : 
      43                 :   /* void notifySelectionChanged (in nsIDOMDocument doc, in nsISelection sel, in short reason); */
      44                 :   NS_SCRIPTABLE NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *doc, nsISelection *sel, PRInt16 reason) = 0;
      45                 : 
      46                 : };
      47                 : 
      48                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISelectionListener, NS_ISELECTIONLISTENER_IID)
      49                 : 
      50                 : /* Use this macro when declaring classes that implement this interface. */
      51                 : #define NS_DECL_NSISELECTIONLISTENER \
      52                 :   NS_SCRIPTABLE NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *doc, nsISelection *sel, PRInt16 reason); 
      53                 : 
      54                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      55                 : #define NS_FORWARD_NSISELECTIONLISTENER(_to) \
      56                 :   NS_SCRIPTABLE NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *doc, nsISelection *sel, PRInt16 reason) { return _to NotifySelectionChanged(doc, sel, reason); } 
      57                 : 
      58                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      59                 : #define NS_FORWARD_SAFE_NSISELECTIONLISTENER(_to) \
      60                 :   NS_SCRIPTABLE NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *doc, nsISelection *sel, PRInt16 reason) { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifySelectionChanged(doc, sel, reason); } 
      61                 : 
      62                 : #if 0
      63                 : /* Use the code below as a template for the implementation class for this interface. */
      64                 : 
      65                 : /* Header file */
      66                 : class nsSelectionListener : public nsISelectionListener
      67                 : {
      68                 : public:
      69                 :   NS_DECL_ISUPPORTS
      70                 :   NS_DECL_NSISELECTIONLISTENER
      71                 : 
      72                 :   nsSelectionListener();
      73                 : 
      74                 : private:
      75                 :   ~nsSelectionListener();
      76                 : 
      77                 : protected:
      78                 :   /* additional members */
      79                 : };
      80                 : 
      81                 : /* Implementation file */
      82                 : NS_IMPL_ISUPPORTS1(nsSelectionListener, nsISelectionListener)
      83                 : 
      84                 : nsSelectionListener::nsSelectionListener()
      85                 : {
      86                 :   /* member initializers and constructor code */
      87                 : }
      88                 : 
      89                 : nsSelectionListener::~nsSelectionListener()
      90                 : {
      91                 :   /* destructor code */
      92                 : }
      93                 : 
      94                 : /* void notifySelectionChanged (in nsIDOMDocument doc, in nsISelection sel, in short reason); */
      95                 : NS_IMETHODIMP nsSelectionListener::NotifySelectionChanged(nsIDOMDocument *doc, nsISelection *sel, PRInt16 reason)
      96                 : {
      97                 :     return NS_ERROR_NOT_IMPLEMENTED;
      98                 : }
      99                 : 
     100                 : /* End of implementation class template. */
     101                 : #endif
     102                 : 
     103                 : 
     104                 : #endif /* __gen_nsISelectionListener_h__ */

Generated by: LCOV version 1.7