2014-06-30 19:39:45 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-06-08 22:08:31 +04:00
|
|
|
|
|
|
|
#ifndef nsScriptableBase64Encoder_h__
|
|
|
|
#define nsScriptableBase64Encoder_h__
|
|
|
|
|
|
|
|
#include "nsIScriptableBase64Encoder.h"
|
2012-06-06 03:51:58 +04:00
|
|
|
#include "mozilla/Attributes.h"
|
2011-06-08 22:08:31 +04:00
|
|
|
|
|
|
|
#define NS_SCRIPTABLEBASE64ENCODER_CID \
|
2018-11-30 13:46:48 +03:00
|
|
|
{ \
|
2011-06-08 22:08:31 +04:00
|
|
|
0xaaf68860, 0xf849, 0x40ee, { \
|
|
|
|
0xbb, 0x7a, 0xb2, 0x29, 0xbc, 0xe0, 0x36, 0xa3 \
|
|
|
|
} \
|
|
|
|
}
|
|
|
|
#define NS_SCRIPTABLEBASE64ENCODER_CONTRACTID \
|
|
|
|
"@mozilla.org/scriptablebase64encoder;1"
|
|
|
|
|
2015-03-21 19:28:04 +03:00
|
|
|
class nsScriptableBase64Encoder final : public nsIScriptableBase64Encoder {
|
2011-06-08 22:08:31 +04:00
|
|
|
public:
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSISCRIPTABLEBASE64ENCODER
|
|
|
|
private:
|
2014-05-15 00:15:46 +04:00
|
|
|
~nsScriptableBase64Encoder() {}
|
2011-06-08 22:08:31 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|