LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIClipboardHelper.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/nsIClipboardHelper.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIClipboardHelper_h__
       6                 : #define __gen_nsIClipboardHelper_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIClipboard_h__
      14                 : #include "nsIClipboard.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                 : #include "nsString.h" // needed for AString -> nsAString, unfortunately
      22                 : 
      23                 : /* starting interface:    nsIClipboardHelper */
      24                 : #define NS_ICLIPBOARDHELPER_IID_STR "44073a98-1dd2-11b2-8600-d0ae854dbe93"
      25                 : 
      26                 : #define NS_ICLIPBOARDHELPER_IID \
      27                 :   {0x44073a98, 0x1dd2, 0x11b2, \
      28                 :     { 0x86, 0x00, 0xd0, 0xae, 0x85, 0x4d, 0xbe, 0x93 }}
      29                 : 
      30               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIClipboardHelper : public nsISupports {
      31                 :  public: 
      32                 : 
      33                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICLIPBOARDHELPER_IID)
      34                 : 
      35                 :   /* void copyStringToClipboard (in AString aString, in long aClipboardID); */
      36                 :   NS_SCRIPTABLE NS_IMETHOD CopyStringToClipboard(const nsAString & aString, PRInt32 aClipboardID) = 0;
      37                 : 
      38                 :   /* void copyString (in AString aString); */
      39                 :   NS_SCRIPTABLE NS_IMETHOD CopyString(const nsAString & aString) = 0;
      40                 : 
      41                 : };
      42                 : 
      43                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIClipboardHelper, NS_ICLIPBOARDHELPER_IID)
      44                 : 
      45                 : /* Use this macro when declaring classes that implement this interface. */
      46                 : #define NS_DECL_NSICLIPBOARDHELPER \
      47                 :   NS_SCRIPTABLE NS_IMETHOD CopyStringToClipboard(const nsAString & aString, PRInt32 aClipboardID); \
      48                 :   NS_SCRIPTABLE NS_IMETHOD CopyString(const nsAString & aString); 
      49                 : 
      50                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      51                 : #define NS_FORWARD_NSICLIPBOARDHELPER(_to) \
      52                 :   NS_SCRIPTABLE NS_IMETHOD CopyStringToClipboard(const nsAString & aString, PRInt32 aClipboardID) { return _to CopyStringToClipboard(aString, aClipboardID); } \
      53                 :   NS_SCRIPTABLE NS_IMETHOD CopyString(const nsAString & aString) { return _to CopyString(aString); } 
      54                 : 
      55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      56                 : #define NS_FORWARD_SAFE_NSICLIPBOARDHELPER(_to) \
      57                 :   NS_SCRIPTABLE NS_IMETHOD CopyStringToClipboard(const nsAString & aString, PRInt32 aClipboardID) { return !_to ? NS_ERROR_NULL_POINTER : _to->CopyStringToClipboard(aString, aClipboardID); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD CopyString(const nsAString & aString) { return !_to ? NS_ERROR_NULL_POINTER : _to->CopyString(aString); } 
      59                 : 
      60                 : #if 0
      61                 : /* Use the code below as a template for the implementation class for this interface. */
      62                 : 
      63                 : /* Header file */
      64                 : class nsClipboardHelper : public nsIClipboardHelper
      65                 : {
      66                 : public:
      67                 :   NS_DECL_ISUPPORTS
      68                 :   NS_DECL_NSICLIPBOARDHELPER
      69                 : 
      70                 :   nsClipboardHelper();
      71                 : 
      72                 : private:
      73                 :   ~nsClipboardHelper();
      74                 : 
      75                 : protected:
      76                 :   /* additional members */
      77                 : };
      78                 : 
      79                 : /* Implementation file */
      80                 : NS_IMPL_ISUPPORTS1(nsClipboardHelper, nsIClipboardHelper)
      81                 : 
      82                 : nsClipboardHelper::nsClipboardHelper()
      83                 : {
      84                 :   /* member initializers and constructor code */
      85                 : }
      86                 : 
      87                 : nsClipboardHelper::~nsClipboardHelper()
      88                 : {
      89                 :   /* destructor code */
      90                 : }
      91                 : 
      92                 : /* void copyStringToClipboard (in AString aString, in long aClipboardID); */
      93                 : NS_IMETHODIMP nsClipboardHelper::CopyStringToClipboard(const nsAString & aString, PRInt32 aClipboardID)
      94                 : {
      95                 :     return NS_ERROR_NOT_IMPLEMENTED;
      96                 : }
      97                 : 
      98                 : /* void copyString (in AString aString); */
      99                 : NS_IMETHODIMP nsClipboardHelper::CopyString(const nsAString & aString)
     100                 : {
     101                 :     return NS_ERROR_NOT_IMPLEMENTED;
     102                 : }
     103                 : 
     104                 : /* End of implementation class template. */
     105                 : #endif
     106                 : 
     107                 : 
     108                 : #endif /* __gen_nsIClipboardHelper_h__ */

Generated by: LCOV version 1.7