Changeset 1036 for code/branches/core2/src/orxonox/core/Language.h
- Timestamp:
- Apr 13, 2008, 1:36:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/core/Language.h
r871 r1036 49 49 50 50 #include "CorePrereqs.h" 51 #include "OrxonoxClass.h"52 51 53 52 … … 65 64 // ############################### 66 65 //! The LanguageEntry class stores the default- and the translated string of a given entry in the language file. 67 class _CoreExport LanguageEntry : public OrxonoxClass66 class _CoreExport LanguageEntry 68 67 { 69 68 public: … … 112 111 // ############################### 113 112 //! The Language class manges the language files and entries and stores the LanguageEntry objects in a map. 114 class _CoreExport Language : public OrxonoxClass113 class _CoreExport Language 115 114 { 116 template <class T> 117 friend class ClassIdentifier; // forward declaration because of the private destructor 115 friend class CoreSettings; 118 116 119 117 public: 120 118 static Language& getLanguage(); 121 void setConfigValues();122 119 void addEntry(const LanguageEntryLabel& label, const std::string& entry); 123 120 const std::string& getLocalisation(const LanguageEntryLabel& label) const; … … 134 131 LanguageEntry* createEntry(const LanguageEntryLabel& label, const std::string& entry); 135 132 136 std::string language_; //!< The configured language137 133 std::string defaultLanguage_; //!< The default language 138 134 std::string defaultLocalisation_; //!< The returned string, if an entry unavailable entry is requested
Note: See TracChangeset
for help on using the changeset viewer.