2011-06-08 11:08:31 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07: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 11:08:31 -07:00
|
|
|
|
|
|
|
#ifndef nsScriptableBase64Encoder_h__
|
|
|
|
#define nsScriptableBase64Encoder_h__
|
|
|
|
|
|
|
|
#include "nsIScriptableBase64Encoder.h"
|
2012-06-05 16:51:58 -07:00
|
|
|
#include "mozilla/Attributes.h"
|
2011-06-08 11:08:31 -07:00
|
|
|
|
|
|
|
#define NS_SCRIPTABLEBASE64ENCODER_CID \
|
|
|
|
{0xaaf68860, 0xf849, 0x40ee, \
|
|
|
|
{0xbb, 0x7a, 0xb2, 0x29, 0xbc, 0xe0, 0x36, 0xa3} }
|
|
|
|
#define NS_SCRIPTABLEBASE64ENCODER_CONTRACTID \
|
|
|
|
"@mozilla.org/scriptablebase64encoder;1"
|
|
|
|
|
2012-06-05 16:51:58 -07:00
|
|
|
class nsScriptableBase64Encoder MOZ_FINAL : public nsIScriptableBase64Encoder
|
2011-06-08 11:08:31 -07:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSISCRIPTABLEBASE64ENCODER
|
|
|
|
private:
|
|
|
|
~nsScriptableBase64Encoder() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|