LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIConsoleMessage.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/nsIConsoleMessage.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIConsoleMessage_h__
       6             : #define __gen_nsIConsoleMessage_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:    nsIConsoleMessage */
      19             : #define NS_ICONSOLEMESSAGE_IID_STR "3aba9617-10e2-4839-83ae-2e6fc4df428b"
      20             : 
      21             : #define NS_ICONSOLEMESSAGE_IID \
      22             :   {0x3aba9617, 0x10e2, 0x4839, \
      23             :     { 0x83, 0xae, 0x2e, 0x6f, 0xc4, 0xdf, 0x42, 0x8b }}
      24             : 
      25           3 : class NS_NO_VTABLE nsIConsoleMessage : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONSOLEMESSAGE_IID)
      29             : 
      30             :   enum {
      31             :     debug = 0U,
      32             :     info = 1U,
      33             :     warn = 2U,
      34             :     error = 3U
      35             :   };
      36             : 
      37             :   /* readonly attribute uint32_t logLevel; */
      38             :   NS_IMETHOD GetLogLevel(uint32_t *aLogLevel) = 0;
      39             : 
      40             :   /* readonly attribute long long timeStamp; */
      41             :   NS_IMETHOD GetTimeStamp(int64_t *aTimeStamp) = 0;
      42             : 
      43             :   /* [binaryname(MessageMoz)] readonly attribute wstring message; */
      44             :   NS_IMETHOD GetMessageMoz(char16_t * *aMessage) = 0;
      45             : 
      46             :   /* AUTF8String toString (); */
      47             :   NS_IMETHOD ToString(nsACString & _retval) = 0;
      48             : 
      49             : };
      50             : 
      51             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIConsoleMessage, NS_ICONSOLEMESSAGE_IID)
      52             : 
      53             : /* Use this macro when declaring classes that implement this interface. */
      54             : #define NS_DECL_NSICONSOLEMESSAGE \
      55             :   NS_IMETHOD GetLogLevel(uint32_t *aLogLevel) override; \
      56             :   NS_IMETHOD GetTimeStamp(int64_t *aTimeStamp) override; \
      57             :   NS_IMETHOD GetMessageMoz(char16_t * *aMessage) override; \
      58             :   NS_IMETHOD ToString(nsACString & _retval) override; 
      59             : 
      60             : /* Use this macro when declaring the members of this interface when the
      61             :    class doesn't implement the interface. This is useful for forwarding. */
      62             : #define NS_DECL_NON_VIRTUAL_NSICONSOLEMESSAGE \
      63             :   nsresult GetLogLevel(uint32_t *aLogLevel); \
      64             :   nsresult GetTimeStamp(int64_t *aTimeStamp); \
      65             :   nsresult GetMessageMoz(char16_t * *aMessage); \
      66             :   nsresult ToString(nsACString & _retval); 
      67             : 
      68             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      69             : #define NS_FORWARD_NSICONSOLEMESSAGE(_to) \
      70             :   NS_IMETHOD GetLogLevel(uint32_t *aLogLevel) override { return _to GetLogLevel(aLogLevel); } \
      71             :   NS_IMETHOD GetTimeStamp(int64_t *aTimeStamp) override { return _to GetTimeStamp(aTimeStamp); } \
      72             :   NS_IMETHOD GetMessageMoz(char16_t * *aMessage) override { return _to GetMessageMoz(aMessage); } \
      73             :   NS_IMETHOD ToString(nsACString & _retval) override { return _to ToString(_retval); } 
      74             : 
      75             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      76             : #define NS_FORWARD_SAFE_NSICONSOLEMESSAGE(_to) \
      77             :   NS_IMETHOD GetLogLevel(uint32_t *aLogLevel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLogLevel(aLogLevel); } \
      78             :   NS_IMETHOD GetTimeStamp(int64_t *aTimeStamp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimeStamp(aTimeStamp); } \
      79             :   NS_IMETHOD GetMessageMoz(char16_t * *aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageMoz(aMessage); } \
      80             :   NS_IMETHOD ToString(nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } 
      81             : 
      82             : #if 0
      83             : /* Use the code below as a template for the implementation class for this interface. */
      84             : 
      85             : /* Header file */
      86             : class nsConsoleMessage : public nsIConsoleMessage
      87             : {
      88             : public:
      89             :   NS_DECL_ISUPPORTS
      90             :   NS_DECL_NSICONSOLEMESSAGE
      91             : 
      92             :   nsConsoleMessage();
      93             : 
      94             : private:
      95             :   ~nsConsoleMessage();
      96             : 
      97             : protected:
      98             :   /* additional members */
      99             : };
     100             : 
     101             : /* Implementation file */
     102             : NS_IMPL_ISUPPORTS(nsConsoleMessage, nsIConsoleMessage)
     103             : 
     104             : nsConsoleMessage::nsConsoleMessage()
     105             : {
     106             :   /* member initializers and constructor code */
     107             : }
     108             : 
     109             : nsConsoleMessage::~nsConsoleMessage()
     110             : {
     111             :   /* destructor code */
     112             : }
     113             : 
     114             : /* readonly attribute uint32_t logLevel; */
     115             : NS_IMETHODIMP nsConsoleMessage::GetLogLevel(uint32_t *aLogLevel)
     116             : {
     117             :     return NS_ERROR_NOT_IMPLEMENTED;
     118             : }
     119             : 
     120             : /* readonly attribute long long timeStamp; */
     121             : NS_IMETHODIMP nsConsoleMessage::GetTimeStamp(int64_t *aTimeStamp)
     122             : {
     123             :     return NS_ERROR_NOT_IMPLEMENTED;
     124             : }
     125             : 
     126             : /* [binaryname(MessageMoz)] readonly attribute wstring message; */
     127             : NS_IMETHODIMP nsConsoleMessage::GetMessageMoz(char16_t * *aMessage)
     128             : {
     129             :     return NS_ERROR_NOT_IMPLEMENTED;
     130             : }
     131             : 
     132             : /* AUTF8String toString (); */
     133             : NS_IMETHODIMP nsConsoleMessage::ToString(nsACString & _retval)
     134             : {
     135             :     return NS_ERROR_NOT_IMPLEMENTED;
     136             : }
     137             : 
     138             : /* End of implementation class template. */
     139             : #endif
     140             : 
     141             : #define NS_CONSOLEMESSAGE_CID \
     142             : { 0x024efc9e, 0x54dc, 0x4844, { 0x80, 0x4b, 0x41, 0xd3, 0xf3, 0x69, 0x90, 0x73 }}
     143             : 
     144             : #endif /* __gen_nsIConsoleMessage_h__ */

Generated by: LCOV version 1.13