- return l1.lang == l2.lang
- && l1.display == l2.display
- && l1.RightToLeft == l2.RightToLeft;
-}
-
-
-bool operator!=(Language const l1, Language const & l2)
-{
- return !(l1 == l2);
-
-}
-#endif
+public:
+ ///
+ typedef std::map<string, Language> LanguageList;
+ ///
+ typedef LanguageList::const_iterator const_iterator;
+ ///
+ void read(string const & filename);
+ ///
+ void setDefaults();
+ ///
+ Language const * getLanguage(string const & language) const;
+ ///
+ const_iterator begin() const {
+ return languagelist.begin();
+ }
+ ///
+ const_iterator end() const {
+ return languagelist.end();
+ }
+ ///
+
+private:
+ ///
+ LanguageList languagelist;
+};