Index: src/libictranslate/ResourceManager.h =================================================================== diff -u -N -r321b486ce9e2b11c82cf5326832605a1150e1653 -rc72f797f7e7795e3ff15dc2ed832032ee6bafd0a --- src/libictranslate/ResourceManager.h (.../ResourceManager.h) (revision 321b486ce9e2b11c82cf5326832605a1150e1653) +++ src/libictranslate/ResourceManager.h (.../ResourceManager.h) (revision c72f797f7e7795e3ff15dc2ed832032ee6bafd0a) @@ -115,6 +115,9 @@ void SetAuthor(PCTSTR psz); PCTSTR GetAuthor() const { return m_pszAuthor; }; + bool IsModified() const { return m_bModified; } + void SetModified() { m_bModified = true; } + protected: void SetFnameData(PTSTR *ppszDst, PCTSTR pszSrc); static void EnumAttributesCallback(bool bGroup, const tchar_t* pszName, const tchar_t* pszValue, ptr_t pData); @@ -136,6 +139,7 @@ private: uint_t m_uiSectionID; ///< ID of the currently processed section bool m_bUpdating; ///< Are we updating the language with base language ? + bool m_bModified; ///< States if the translation has been modified }; /////////////////////////////////////////////////////////////////////////////////////