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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsISecretDecoderRing.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsISecretDecoderRing_h__
       6             : #define __gen_nsISecretDecoderRing_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:    nsISecretDecoderRing */
      19             : #define NS_ISECRETDECODERRING_IID_STR "0ec80360-075c-11d4-9fd4-00c04f1b83d8"
      20             : 
      21             : #define NS_ISECRETDECODERRING_IID \
      22             :   {0x0ec80360, 0x075c, 0x11d4, \
      23             :     { 0x9f, 0xd4, 0x00, 0xc0, 0x4f, 0x1b, 0x83, 0xd8 }}
      24             : 
      25           0 : class NS_NO_VTABLE nsISecretDecoderRing : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISECRETDECODERRING_IID)
      29             : 
      30             :   /* [must_use] ACString encryptString (in ACString text); */
      31             :   MOZ_MUST_USE NS_IMETHOD EncryptString(const nsACString & text, nsACString & _retval) = 0;
      32             : 
      33             :   /* [must_use] ACString decryptString (in ACString encryptedBase64Text); */
      34             :   MOZ_MUST_USE NS_IMETHOD DecryptString(const nsACString & encryptedBase64Text, nsACString & _retval) = 0;
      35             : 
      36             :   /* [must_use] void changePassword (); */
      37             :   MOZ_MUST_USE NS_IMETHOD ChangePassword(void) = 0;
      38             : 
      39             :   /* [must_use] void logout (); */
      40             :   MOZ_MUST_USE NS_IMETHOD Logout(void) = 0;
      41             : 
      42             :   /* [must_use] void logoutAndTeardown (); */
      43             :   MOZ_MUST_USE NS_IMETHOD LogoutAndTeardown(void) = 0;
      44             : 
      45             : };
      46             : 
      47             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISecretDecoderRing, NS_ISECRETDECODERRING_IID)
      48             : 
      49             : /* Use this macro when declaring classes that implement this interface. */
      50             : #define NS_DECL_NSISECRETDECODERRING \
      51             :   MOZ_MUST_USE NS_IMETHOD EncryptString(const nsACString & text, nsACString & _retval) override; \
      52             :   MOZ_MUST_USE NS_IMETHOD DecryptString(const nsACString & encryptedBase64Text, nsACString & _retval) override; \
      53             :   MOZ_MUST_USE NS_IMETHOD ChangePassword(void) override; \
      54             :   MOZ_MUST_USE NS_IMETHOD Logout(void) override; \
      55             :   MOZ_MUST_USE NS_IMETHOD LogoutAndTeardown(void) override; 
      56             : 
      57             : /* Use this macro when declaring the members of this interface when the
      58             :    class doesn't implement the interface. This is useful for forwarding. */
      59             : #define NS_DECL_NON_VIRTUAL_NSISECRETDECODERRING \
      60             :   MOZ_MUST_USE nsresult EncryptString(const nsACString & text, nsACString & _retval); \
      61             :   MOZ_MUST_USE nsresult DecryptString(const nsACString & encryptedBase64Text, nsACString & _retval); \
      62             :   MOZ_MUST_USE nsresult ChangePassword(void); \
      63             :   MOZ_MUST_USE nsresult Logout(void); \
      64             :   MOZ_MUST_USE nsresult LogoutAndTeardown(void); 
      65             : 
      66             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      67             : #define NS_FORWARD_NSISECRETDECODERRING(_to) \
      68             :   MOZ_MUST_USE NS_IMETHOD EncryptString(const nsACString & text, nsACString & _retval) override { return _to EncryptString(text, _retval); } \
      69             :   MOZ_MUST_USE NS_IMETHOD DecryptString(const nsACString & encryptedBase64Text, nsACString & _retval) override { return _to DecryptString(encryptedBase64Text, _retval); } \
      70             :   MOZ_MUST_USE NS_IMETHOD ChangePassword(void) override { return _to ChangePassword(); } \
      71             :   MOZ_MUST_USE NS_IMETHOD Logout(void) override { return _to Logout(); } \
      72             :   MOZ_MUST_USE NS_IMETHOD LogoutAndTeardown(void) override { return _to LogoutAndTeardown(); } 
      73             : 
      74             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      75             : #define NS_FORWARD_SAFE_NSISECRETDECODERRING(_to) \
      76             :   MOZ_MUST_USE NS_IMETHOD EncryptString(const nsACString & text, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EncryptString(text, _retval); } \
      77             :   MOZ_MUST_USE NS_IMETHOD DecryptString(const nsACString & encryptedBase64Text, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DecryptString(encryptedBase64Text, _retval); } \
      78             :   MOZ_MUST_USE NS_IMETHOD ChangePassword(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ChangePassword(); } \
      79             :   MOZ_MUST_USE NS_IMETHOD Logout(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Logout(); } \
      80             :   MOZ_MUST_USE NS_IMETHOD LogoutAndTeardown(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LogoutAndTeardown(); } 
      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 nsSecretDecoderRing : public nsISecretDecoderRing
      87             : {
      88             : public:
      89             :   NS_DECL_ISUPPORTS
      90             :   NS_DECL_NSISECRETDECODERRING
      91             : 
      92             :   nsSecretDecoderRing();
      93             : 
      94             : private:
      95             :   ~nsSecretDecoderRing();
      96             : 
      97             : protected:
      98             :   /* additional members */
      99             : };
     100             : 
     101             : /* Implementation file */
     102             : NS_IMPL_ISUPPORTS(nsSecretDecoderRing, nsISecretDecoderRing)
     103             : 
     104             : nsSecretDecoderRing::nsSecretDecoderRing()
     105             : {
     106             :   /* member initializers and constructor code */
     107             : }
     108             : 
     109             : nsSecretDecoderRing::~nsSecretDecoderRing()
     110             : {
     111             :   /* destructor code */
     112             : }
     113             : 
     114             : /* [must_use] ACString encryptString (in ACString text); */
     115             : MOZ_MUST_USE NS_IMETHODIMP nsSecretDecoderRing::EncryptString(const nsACString & text, nsACString & _retval)
     116             : {
     117             :     return NS_ERROR_NOT_IMPLEMENTED;
     118             : }
     119             : 
     120             : /* [must_use] ACString decryptString (in ACString encryptedBase64Text); */
     121             : MOZ_MUST_USE NS_IMETHODIMP nsSecretDecoderRing::DecryptString(const nsACString & encryptedBase64Text, nsACString & _retval)
     122             : {
     123             :     return NS_ERROR_NOT_IMPLEMENTED;
     124             : }
     125             : 
     126             : /* [must_use] void changePassword (); */
     127             : MOZ_MUST_USE NS_IMETHODIMP nsSecretDecoderRing::ChangePassword()
     128             : {
     129             :     return NS_ERROR_NOT_IMPLEMENTED;
     130             : }
     131             : 
     132             : /* [must_use] void logout (); */
     133             : MOZ_MUST_USE NS_IMETHODIMP nsSecretDecoderRing::Logout()
     134             : {
     135             :     return NS_ERROR_NOT_IMPLEMENTED;
     136             : }
     137             : 
     138             : /* [must_use] void logoutAndTeardown (); */
     139             : MOZ_MUST_USE NS_IMETHODIMP nsSecretDecoderRing::LogoutAndTeardown()
     140             : {
     141             :     return NS_ERROR_NOT_IMPLEMENTED;
     142             : }
     143             : 
     144             : /* End of implementation class template. */
     145             : #endif
     146             : 
     147             : 
     148             : #endif /* __gen_nsISecretDecoderRing_h__ */

Generated by: LCOV version 1.13