Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef nsStringBundleTextOverride_h__
8 #define nsStringBundleTextOverride_h__
10 #include "nsIStringBundleOverride.h"
11 #include "nsCOMPtr.h"
12 #include "nsIPersistentProperties2.h"
14 // {6316C6CE-12D3-479e-8F53-E289351412B8}
15 #define NS_STRINGBUNDLETEXTOVERRIDE_CID \
16 { 0x6316c6ce, 0x12d3, 0x479e, \
17 { 0x8f, 0x53, 0xe2, 0x89, 0x35, 0x14, 0x12, 0xb8 } }
20 #define NS_STRINGBUNDLETEXTOVERRIDE_CONTRACTID \
21 "@mozilla.org/intl/stringbundle/text-override;1"
23 // an implementation which does overrides from a text file
25 class nsStringBundleTextOverride : public nsIStringBundleOverride
26 {
27 public:
28 nsStringBundleTextOverride() { }
29 virtual ~nsStringBundleTextOverride() {}
31 nsresult Init();
33 NS_DECL_ISUPPORTS
34 NS_DECL_NSISTRINGBUNDLEOVERRIDE
36 private:
37 nsCOMPtr<nsIPersistentProperties> mValues;
39 };
41 #endif