Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / intl / strres / nsStringBundleTextOverride.h
blob56b6692eb14f36d5f9f7e43746e5cc5e3d382c4c
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
27 public:
28 nsStringBundleTextOverride() { }
30 nsresult Init();
32 NS_DECL_ISUPPORTS
33 NS_DECL_NSISTRINGBUNDLEOVERRIDE
35 private:
36 nsCOMPtr<nsIPersistentProperties> mValues;
38 virtual ~nsStringBundleTextOverride() {}
41 #endif