#ifndef _CompDir_textdiff_h_ #define _CompDir_textdiff_h_ class TextSection { public: TextSection(int start1, int count1, int start2, int count2, bool same) : start1(start1), count1(count1), start2(start2), count2(count2), same(same) {} public: int start1; int count1; int start2; int count2 : 31; unsigned same : 1; }; Array CompareLineMaps(const Vector& l1, const Vector& l2); Vector GetLineMap(Stream& stream); Vector GetFileLineMap(const String& path); Vector GetStringLineMap(const String &s); #endif