Changeset 91391 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Sep 27, 2021 11:50:27 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/VirtualBoxTranslator.h
r91390 r91391 43 43 HRESULT loadLanguage(ComPtr<IVirtualBox> aVirtualBox); 44 44 45 private: 46 /** Translator component. */ 47 struct TranslatorComponent 48 { 49 QMTranslator *pTranslator; 50 /** Path to translation files. It includes file prefix, i.e '/path/to/folder/file_prefix'. */ 51 com::Utf8Str strPath; 52 53 TranslatorComponent() : pTranslator(NULL) {} 54 }; 55 public: 45 56 /** Pointer to a translator component. */ 46 typedef structTranslatorComponent *PTRCOMPONENT;57 typedef TranslatorComponent *PTRCOMPONENT; 47 58 48 59 /** … … 102 113 uint32_t m_cInstanceRefs; 103 114 104 /** Translator component. */105 struct TranslatorComponent106 {107 QMTranslator *pTranslator;108 /** Path to translation files. It includes file prefix, i.e '/path/to/folder/file_prefix'. */109 com::Utf8Str strPath;110 111 TranslatorComponent() : pTranslator(NULL) {}112 };113 115 typedef std::list<TranslatorComponent> TranslatorList; 114 116 TranslatorList m_lTranslators;
Note:
See TracChangeset
for help on using the changeset viewer.