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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIColorPicker.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIColorPicker_h__
       6             : #define __gen_nsIColorPicker_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 mozIDOMWindowProxy; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsIColorPickerShownCallback */
      21             : #define NS_ICOLORPICKERSHOWNCALLBACK_IID_STR "d2ce78d1-40b5-49d1-b66d-5801fcb9a385"
      22             : 
      23             : #define NS_ICOLORPICKERSHOWNCALLBACK_IID \
      24             :   {0xd2ce78d1, 0x40b5, 0x49d1, \
      25             :     { 0xb6, 0x6d, 0x58, 0x01, 0xfc, 0xb9, 0xa3, 0x85 }}
      26             : 
      27           0 : class NS_NO_VTABLE nsIColorPickerShownCallback : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICOLORPICKERSHOWNCALLBACK_IID)
      31             : 
      32             :   /* void update (in AString color); */
      33             :   NS_IMETHOD Update(const nsAString & color) = 0;
      34             : 
      35             :   /* void done (in AString color); */
      36             :   NS_IMETHOD Done(const nsAString & color) = 0;
      37             : 
      38             : };
      39             : 
      40             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIColorPickerShownCallback, NS_ICOLORPICKERSHOWNCALLBACK_IID)
      41             : 
      42             : /* Use this macro when declaring classes that implement this interface. */
      43             : #define NS_DECL_NSICOLORPICKERSHOWNCALLBACK \
      44             :   NS_IMETHOD Update(const nsAString & color) override; \
      45             :   NS_IMETHOD Done(const nsAString & color) override; 
      46             : 
      47             : /* Use this macro when declaring the members of this interface when the
      48             :    class doesn't implement the interface. This is useful for forwarding. */
      49             : #define NS_DECL_NON_VIRTUAL_NSICOLORPICKERSHOWNCALLBACK \
      50             :   nsresult Update(const nsAString & color); \
      51             :   nsresult Done(const nsAString & color); 
      52             : 
      53             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      54             : #define NS_FORWARD_NSICOLORPICKERSHOWNCALLBACK(_to) \
      55             :   NS_IMETHOD Update(const nsAString & color) override { return _to Update(color); } \
      56             :   NS_IMETHOD Done(const nsAString & color) override { return _to Done(color); } 
      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_NSICOLORPICKERSHOWNCALLBACK(_to) \
      60             :   NS_IMETHOD Update(const nsAString & color) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Update(color); } \
      61             :   NS_IMETHOD Done(const nsAString & color) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Done(color); } 
      62             : 
      63             : #if 0
      64             : /* Use the code below as a template for the implementation class for this interface. */
      65             : 
      66             : /* Header file */
      67             : class nsColorPickerShownCallback : public nsIColorPickerShownCallback
      68             : {
      69             : public:
      70             :   NS_DECL_ISUPPORTS
      71             :   NS_DECL_NSICOLORPICKERSHOWNCALLBACK
      72             : 
      73             :   nsColorPickerShownCallback();
      74             : 
      75             : private:
      76             :   ~nsColorPickerShownCallback();
      77             : 
      78             : protected:
      79             :   /* additional members */
      80             : };
      81             : 
      82             : /* Implementation file */
      83             : NS_IMPL_ISUPPORTS(nsColorPickerShownCallback, nsIColorPickerShownCallback)
      84             : 
      85             : nsColorPickerShownCallback::nsColorPickerShownCallback()
      86             : {
      87             :   /* member initializers and constructor code */
      88             : }
      89             : 
      90             : nsColorPickerShownCallback::~nsColorPickerShownCallback()
      91             : {
      92             :   /* destructor code */
      93             : }
      94             : 
      95             : /* void update (in AString color); */
      96             : NS_IMETHODIMP nsColorPickerShownCallback::Update(const nsAString & color)
      97             : {
      98             :     return NS_ERROR_NOT_IMPLEMENTED;
      99             : }
     100             : 
     101             : /* void done (in AString color); */
     102             : NS_IMETHODIMP nsColorPickerShownCallback::Done(const nsAString & color)
     103             : {
     104             :     return NS_ERROR_NOT_IMPLEMENTED;
     105             : }
     106             : 
     107             : /* End of implementation class template. */
     108             : #endif
     109             : 
     110             : 
     111             : /* starting interface:    nsIColorPicker */
     112             : #define NS_ICOLORPICKER_IID_STR "de229d37-a8a6-46f1-969a-0c1de33d0ad7"
     113             : 
     114             : #define NS_ICOLORPICKER_IID \
     115             :   {0xde229d37, 0xa8a6, 0x46f1, \
     116             :     { 0x96, 0x9a, 0x0c, 0x1d, 0xe3, 0x3d, 0x0a, 0xd7 }}
     117             : 
     118           0 : class NS_NO_VTABLE nsIColorPicker : public nsISupports {
     119             :  public:
     120             : 
     121             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICOLORPICKER_IID)
     122             : 
     123             :   /* void init (in mozIDOMWindowProxy parent, in AString title, in AString initialColor); */
     124             :   NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsAString & title, const nsAString & initialColor) = 0;
     125             : 
     126             :   /* void open (in nsIColorPickerShownCallback aColorPickerShownCallback); */
     127             :   NS_IMETHOD Open(nsIColorPickerShownCallback *aColorPickerShownCallback) = 0;
     128             : 
     129             : };
     130             : 
     131             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIColorPicker, NS_ICOLORPICKER_IID)
     132             : 
     133             : /* Use this macro when declaring classes that implement this interface. */
     134             : #define NS_DECL_NSICOLORPICKER \
     135             :   NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsAString & title, const nsAString & initialColor) override; \
     136             :   NS_IMETHOD Open(nsIColorPickerShownCallback *aColorPickerShownCallback) override; 
     137             : 
     138             : /* Use this macro when declaring the members of this interface when the
     139             :    class doesn't implement the interface. This is useful for forwarding. */
     140             : #define NS_DECL_NON_VIRTUAL_NSICOLORPICKER \
     141             :   nsresult Init(mozIDOMWindowProxy *parent, const nsAString & title, const nsAString & initialColor); \
     142             :   nsresult Open(nsIColorPickerShownCallback *aColorPickerShownCallback); 
     143             : 
     144             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     145             : #define NS_FORWARD_NSICOLORPICKER(_to) \
     146             :   NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsAString & title, const nsAString & initialColor) override { return _to Init(parent, title, initialColor); } \
     147             :   NS_IMETHOD Open(nsIColorPickerShownCallback *aColorPickerShownCallback) override { return _to Open(aColorPickerShownCallback); } 
     148             : 
     149             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     150             : #define NS_FORWARD_SAFE_NSICOLORPICKER(_to) \
     151             :   NS_IMETHOD Init(mozIDOMWindowProxy *parent, const nsAString & title, const nsAString & initialColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(parent, title, initialColor); } \
     152             :   NS_IMETHOD Open(nsIColorPickerShownCallback *aColorPickerShownCallback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(aColorPickerShownCallback); } 
     153             : 
     154             : #if 0
     155             : /* Use the code below as a template for the implementation class for this interface. */
     156             : 
     157             : /* Header file */
     158             : class nsColorPicker : public nsIColorPicker
     159             : {
     160             : public:
     161             :   NS_DECL_ISUPPORTS
     162             :   NS_DECL_NSICOLORPICKER
     163             : 
     164             :   nsColorPicker();
     165             : 
     166             : private:
     167             :   ~nsColorPicker();
     168             : 
     169             : protected:
     170             :   /* additional members */
     171             : };
     172             : 
     173             : /* Implementation file */
     174             : NS_IMPL_ISUPPORTS(nsColorPicker, nsIColorPicker)
     175             : 
     176             : nsColorPicker::nsColorPicker()
     177             : {
     178             :   /* member initializers and constructor code */
     179             : }
     180             : 
     181             : nsColorPicker::~nsColorPicker()
     182             : {
     183             :   /* destructor code */
     184             : }
     185             : 
     186             : /* void init (in mozIDOMWindowProxy parent, in AString title, in AString initialColor); */
     187             : NS_IMETHODIMP nsColorPicker::Init(mozIDOMWindowProxy *parent, const nsAString & title, const nsAString & initialColor)
     188             : {
     189             :     return NS_ERROR_NOT_IMPLEMENTED;
     190             : }
     191             : 
     192             : /* void open (in nsIColorPickerShownCallback aColorPickerShownCallback); */
     193             : NS_IMETHODIMP nsColorPicker::Open(nsIColorPickerShownCallback *aColorPickerShownCallback)
     194             : {
     195             :     return NS_ERROR_NOT_IMPLEMENTED;
     196             : }
     197             : 
     198             : /* End of implementation class template. */
     199             : #endif
     200             : 
     201             : 
     202             : #endif /* __gen_nsIColorPicker_h__ */

Generated by: LCOV version 1.13