00001 // ========== This file is under LGPL, the GNU Lesser General Public Licence 00002 // ========== Dialing Structural Dictionary (www.aot.ru) 00003 // ========== Copyright by Alexey Sokirko (1998-2002) 00004 00005 00006 #ifndef __TEXTFIELD_H_ 00007 #define __TEXTFIELD_H_ 00008 00009 00010 00011 struct CTextField 00012 { 00013 BYTE FieldNo; 00014 BYTE LeafId; 00015 BYTE BracketLeafId; 00016 DWORD StartLine; 00017 DWORD EndLine; 00018 00019 CTextField() {}; 00020 CTextField (BYTE _FieldNo, BYTE _LeafId, BYTE _BracketLeafId) 00021 { 00022 LeafId = _LeafId; 00023 FieldNo = _FieldNo; 00024 BracketLeafId = _BracketLeafId; 00025 }; 00026 00027 bool operator==(const CTextField& X) const 00028 { 00029 return (FieldNo == X.FieldNo) 00030 && (LeafId == X.LeafId) 00031 && (BracketLeafId == X.BracketLeafId); 00032 } 00033 00034 }; 00035 00036 00037 #endif //__TEXTFIELD_H_