summaryrefslogtreecommitdiffhomepage
path: root/Stars45/ContentBundle.h
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/ContentBundle.h')
-rw-r--r--Stars45/ContentBundle.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Stars45/ContentBundle.h b/Stars45/ContentBundle.h
index 346b509..7c23c66 100644
--- a/Stars45/ContentBundle.h
+++ b/Stars45/ContentBundle.h
@@ -26,10 +26,18 @@ class ContentBundle
public:
static const char* TYPENAME() { return "ContentBundle"; }
+ static ContentBundle* GetInstance();
+
+ ContentBundle();
ContentBundle(const char* bundle, Locale* locale);
virtual ~ContentBundle();
- int operator == (const ContentBundle& that) const { return this == &that; }
+ bool Init();
+ void UseLocale(Locale* locale);
+ void Load(const char* bundle, Locale* locale);
+
+ int operator == (const ContentBundle& that) = delete;
+ ContentBundle(const ContentBundle& that) = delete;
const Text& GetName() const { return name; }
Text GetText(const char* key) const;